Date: Tue, 20 Jul 2004 14:05:25 -0400 (EDT) From: Charles Sprickman <spork@fasttrackmonkey.com> To: Eitarou Kamo <e-kamo@trio.plala.or.jp> Cc: freebsd-hackers@freebsd.org Subject: Re: disk recovery help Message-ID: <20040720140124.E28049@toad.nat.fasttrackmonkey.com> In-Reply-To: <40FD011B.1020504@trio.plala.or.jp> References: <20040719191408.V28049@toad.nat.fasttrackmonkey.com> <40FD011B.1020504@trio.plala.or.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Jul 2004, Eitarou Kamo wrote: > >Here's what fsck says: > > > >root@skunkworks[/mnt/tmp/vpopmail/domains]# fsck /dev/vn0c ** /dev/vn0c > >BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST > >ALTERNATE > >ioctl (GCINFO): Invalid argument > >fsck: /dev/vn0c: can't read disk label > > > You'd like to do like? : > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-virtual.html Yes, that allows me to mount the filesystem (but it is still "dirty", which leads to the occasional panic). Looking at that first message, fsck is telling me that it sees the superblock and a superblock backup and that they do not agree. I know when you newfs a filesystem there seem to be a ton of superblock backups. How do I find out where they are and compare them? Meaning, if the main one and first backup disagree, but three others all agree can I assume they are probably right? > If you'd like to restore dd.img to /dev/da1s1h normally you should > use dd command directly. dd.img is not a data but just a image. > So you need not create any file system. That's what I thought, and that's what I originally tried to do, but after fdisk'ing and labeling the spare drive to match the original label, dd was refusing to write to the /dev/ad3s1h device, claiming it was "read only" (I was root). Thanks, Charles > FYI: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks.html > > Eitarou > > -- > > > *********************** > Eitarou Kamo > > Tel. +81 75 7035997 > Fax +81 75 7035997 > VoIP 050 10585997(domestic only) > e-mail e-kamo@trio.plala.or.jp > > For business: > Feel free to mail me(above), please. > > Donation http://www.PayPal.Com > > GPG FingerPrint: > 032D FDF9 D27B 23F7 9A81 BF4C 626C FBAA BC3A 9895 > ************************************************************************ > > > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040720140124.E28049>