from vinum on FreeBSD 4.x to gvinum on 5.4 and 6.0
Ferruccio Zamuner
nonsolosoft at diff.org
Mon Dec 12 04:50:29 PST 2005
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,
/dev/md1c: NOT LABELED AS A BSD FILE SYSTEM (unused)
root at k7# fsck -t ufs /dev/md1
** /dev/md1
CANNOT READ BLK: 20779040
CONTINUE? [yn] y
THE FOLLOWING DISK SECTORS COULD NOT BE READ: 20779040, 20779041, 20779042, 20779043,
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ufs: /dev/md1: can't read disk label
But it doesn't fix anything.
Any suggestion?
Bye, \fer
More information about the freebsd-geom
mailing list