from vinum on FreeBSD 4.x to gvinum on 5.4 and 6.0
Greg 'groggy' Lehey
grog at FreeBSD.org
Mon Dec 12 14:26:23 PST 2005
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 at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20051213/c3b45238/attachment.bin
More information about the freebsd-geom
mailing list