From owner-freebsd-geom@FreeBSD.ORG Mon Dec 12 22:26:23 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B23716A41F for ; Mon, 12 Dec 2005 22:26:23 +0000 (GMT) (envelope-from grog@lemis.com) Received: from ext-gw.lemis.com (ext-gw.lemis.com [150.101.14.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACD8343D53 for ; Mon, 12 Dec 2005 22:26:22 +0000 (GMT) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by ext-gw.lemis.com (Postfix) with ESMTP id 47E23131D4F; Tue, 13 Dec 2005 08:56:21 +1030 (CST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id B9EE0856B1; Tue, 13 Dec 2005 08:57:21 +1030 (CST) Date: Tue, 13 Dec 2005 08:57:21 +1030 From: Greg 'groggy' Lehey To: Ferruccio Zamuner Message-ID: <20051212222721.GJ3080@wantadilla.lemis.com> References: <439CB6C0.30109@diff.org> <439D7201.8010301@diff.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="f84gc1imS8AYVgCy" Content-Disposition: inline In-Reply-To: <439D7201.8010301@diff.org> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: freebsd-geom@freebsd.org Subject: Re: from vinum on FreeBSD 4.x to gvinum on 5.4 and 6.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2005 22:26:23 -0000 --f84gc1imS8AYVgCy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Monday, 12 December 2005 at 13:50:09 +0100, Ferruccio Zamuner wrote: > Ferruccio Zamuner wrote: > >> Actually I was very interested to content of partition "/vinum/sicuro" >> and it was simple: >> # dd if=/dev/ad5s1e of=/usr/vinum_sicuro.bin skip=265 count=2097152 >> # mdconfig -a -t vnode -f /usr/vinum_sicuro.bin -u 1 >> # bsdlabel -w md1 auto >> # mount /dev/md1c /mnt/ >> >> Then I recover first data contents easly. > > I thought to recover, ls shows me the root directory of my ex-sicuro > partition, but I'm not able to access to contents. > > Then I thought about a consistent trouble to fix with fsck: > > root@k7# fsck -t ufs /dev/md1c > ** /dev/md1c > > CANNOT READ BLK: 20779040 > CONTINUE? [yn] y > > THE FOLLOWING DISK SECTORS COULD NOT BE READ: 20779040, 20779041, 20779042, > 20779043, These are I/O errors. I'm not sure how they map to the disk, but your dmesg output should clarify that. > /dev/md1c: NOT LABELED AS A BSD FILE SYSTEM (unused) And this is to be expected. Partition c is of type unused. Take a look at what bsdlabel(8) says and see if it even comes close to what you want. The same considerations apply to using /dev/md1. Greg -- See complete headers for address and phone numbers. --f84gc1imS8AYVgCy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDnflJIubykFB6QiMRAksgAJ0XLI6wo5GmNN7Yg0CTCmhK6JCCcwCfVUB2 N9hfluKlIH50/hXYwWHNoy4= =rh9h -----END PGP SIGNATURE----- --f84gc1imS8AYVgCy--