Date: Tue, 13 Dec 2005 08:57:21 +1030 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Ferruccio Zamuner <nonsolosoft@diff.org> Cc: freebsd-geom@freebsd.org Subject: Re: from vinum on FreeBSD 4.x to gvinum on 5.4 and 6.0 Message-ID: <20051212222721.GJ3080@wantadilla.lemis.com> In-Reply-To: <439D7201.8010301@diff.org> References: <439CB6C0.30109@diff.org> <439D7201.8010301@diff.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051212222721.GJ3080>