Date: Sun, 31 Oct 2004 22:40:57 +0100 From: "Christoph P. Kukulies" <kuku@kukulies.org> To: hackers@freebsd.org Subject: mdconfig - need some help Message-ID: <20041031214057.GA51676@kukulies.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041031214057.GA51676>