Date: Sat, 27 Mar 2004 17:03:58 +1030 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Drew Tomlinson <nojunk4me2004@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: Vinum Subdisk Crashed - How To Repair? Message-ID: <20040327063358.GG52771@wantadilla.lemis.com> In-Reply-To: <20040327055344.25149.qmail@web41703.mail.yahoo.com> References: <20040327055344.25149.qmail@web41703.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--JBi0ZxuS5uaEhkUZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Friday, 26 March 2004 at 21:53:44 -0800, Drew Tomlinson wrote: > Please excuse whatever format in which this email arrives. My > system is unusable so I am posting from Yahoo!. Heh. I suppose that's a good enough reason. > I have a 4.9-RELEASE-p4 system. I have not made any changes to any > source code. I have 3 vinum volumes configured. While attempting > to diagnose problems with one of the volumes that uses a firewire > drive, my system crashed with a trap 12 error. I have my /usr > configured as a striped vinum volume with one plex and two subdisks. > Upon reboot, the usr volume has one subdisk in a crashed state. > Thus I can't mount /usr and can't get my system up and running. > > I *REALLY* don't want to lose my data on /usr as I don't have a > backup. It was my backup volume problems I was looking at when my > trouble started. I have looked at > http://www.vinumvm.org/vinum/how-to-debug.html. I have a copy of my > config files and the page says one can use those to recreate his > config without losing data as it does not write to the subdisks. Is > this what I should do?=20 Maybe. > Should I do something else? Maybe. > Please cc me on any replies as I am not able to receive them via my > subscription at the moment. > I can not provide the extract of /var/log/vinum_history or > /var/log/messages as I symlinked /var to /usr/var. > > vinum -> list > 4 drives: > D ftp1 State: up Device /dev/ad0s1h Avail: 76= 318/76319 MB (100%) > D ftp2 State: up Device /dev/ad1s1h Avail: 0/= 76319 MB (0%) > D disk1 State: up Device /dev/da0s1h Avail: 84= 701/8383 MB (1010%) This should go away if you stop and restart Vinum. > D disk2 State: up Device /dev/da1s1h Avail: 0/= 8383 MB (0%) > D *invalid* State: referenced Device Avail: 0/0 MB This one looks dangerous. > 3 volumes: > V usr State: up Plexes: 1 Size: 16 GB > V ftp State: up Plexes: 1 Size: 149 GB > V backup State: down Plexes: 1 Size: 74 GB > > 3 plexes: > P usr.p0 S State: corrupt Subdisks: 2 Size: 16 GB > P ftp.p0 C State: up Subdisks: 2 Size: 149 GB > P backup.p0 C State: faulty Subdisks: 1 Size: 74 GB > > 5 subdisks: > S usr.p0.s0 State: up PO: 0 B Size: 8383 MB > S usr.p0.s1 State: crashed PO: 256 kB Size: 8383 MB > S ftp.p0.s0 State: up PO: 0 B Size: 74 GB > S backup.p0.s0 State: crashed PO: 0 B Size: 74 GB > S ftp.p0.s1 State: up PO: 74 GB Size: 74 GB It looks to me as if you have lost a drive. Hopefully this is simple, but the drive on which usr.p0.s1 and backup.p0.s0 are located is presumably= the one which is referenced without a name. Before going too much further,=20 1. Stop and restart Vinum and see if the availability statistics return to "normal". If not, reply with the values, even if they're the same as above. 2. Where are usr.p0.s1 and backup.p0.s0 located? If they're on one of the drives in the list, you could try some selective deletion. If this is the case, I'll give you more details. It's probably worth posting the configuration file. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Note: I discard all HTML mail unseen. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. --JBi0ZxuS5uaEhkUZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQFAZSBWIubykFB6QiMRAj9zAJ9JXaDohKeWOaqGoC7OYrj+rNCG3wCeLYMm xUBYqyonMBsSyzG0nsSVFRA= =GRfm -----END PGP SIGNATURE----- --JBi0ZxuS5uaEhkUZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040327063358.GG52771>