mdconfig - need some help
From: Christoph P. Kukulies (kuku_at_kukulies.org)
Date: 10/31/04
- Previous message: Christoph P. Kukulies: "Re: finding alternate superblocks in ffs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 31 Oct 2004 22:40:57 +0100 To: hackers@freebsd.org
I'm trying to recover a filesystem. I dd'd /dev/ad2s1e into a 10 GB
file and transfered it to another system.
# mdconfig -a -t vnode -f ad2s1.dmp
md2
# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 257838 168758 68454 71% /
devfs 1 1 0 100% /dev
/dev/ad0s1e 257838 4752 232460 2% /tmp
/dev/ad0s1f 57829724 32600992 20602356 61% /usr
/dev/ad0s1d 257838 91456 145756 39% /var
procfs 4 4 0 100% /proc
# mount /dev/md2 /mnt
mount: /dev/md2 on /mnt: incorrect super block
# fsck /dev/md2
fsck: Could not determine filesystem type
# fsck -t ffs /dev/md2
** /dev/md2
Cannot find file system superblock
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ffs: /dev/md2: can't read disk label
What am I doing wrong?
-- Chris Christoph P. U. Kukulies kuku_at_kukulies.org _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Christoph P. Kukulies: "Re: finding alternate superblocks in ffs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|