Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k5U5pK1X027914 for ; Fri, 30 Jun 2006 01:51:20 -0400 Received: from web31410.mail.mud.yahoo.com (web31410.mail.mud.yahoo.com [68.142.198.122]) by mx3.redhat.com (8.13.1/8.13.1) with SMTP id k5U5pCI2025079 for ; Fri, 30 Jun 2006 01:51:12 -0400 Message-ID: <20060630055107.87219.qmail@web31410.mail.mud.yahoo.com> Date: Thu, 29 Jun 2006 22:51:07 -0700 (PDT) From: Teak Billard Subject: Re: [linux-lvm] Uuid for unknown device blows up VolGroup00 In-Reply-To: <44A38C9E.3020406@conterra.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-659304570-1151646667=:83906" Content-Transfer-Encoding: 8bit Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development --0-659304570-1151646667=:83906 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dieter St=EF=BF=BDken wrote: Teak Billard wrote: > I recently tried to add an old 30 GB hard drive lying in my machine to > my FC5 system. I was trying to add the 30 GB to VolGroup00. I failed > somehow and now the entire VolGroup00 is inaccessible. When booting I > get a Kernel panic - not syncing: Attempted to kill init! I think if I > removed the offending Uuid from VolGroup00 things would go back to normal. > .... > When I do an lvm pvdisplay, it reveals that VolGroup00 has two uuid's in > it. One is /dev/hdb3 with uuid M3CWKv-a2yK-b5Qu-rLzq-Aj27-lXxE-WzvkWE > and the other is unknown device with uuid > 8YsyEa-r5RX-2LLI-Zz7n-Xr8s-VksP-Mhs0Wi. seems you did NOT fail adding the new disk. Have a look into your=20 /etc/lvm/backup/VolGroup00 to find how your VG is composed. It seems, you succeed in adding the disk, but you finally did not use it and disconnected it. LVM however has registered the new disk, even if you did not copy any data to it. You should reconnect the formerly added disk and unregister it from your volume group by "vgreduce". If you don't have the disk any more or used it elsewhere, you may try the option "vgreduce --removemissing". > I failed somehow and now ... can you tell us, why it did not work as you expected? Dieter. _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ This is exactly what I did to fix the problem: vgreduce --removemissing Vol= Group00. =20 > can you tell us, why it did not work as you expected? =20 First time using volume groups. Installed FC5 back when it came out and d= idn't really know what I was doing. Now I do. After fixing the problem, I= got wise, used the lvm commands and added the new hard disk as a physical = volume, and merged it into the existing volume group. =20 I had messed around with the lvm gui beforehand and may have caused a prob= lem then. =20 In my getting wise period I read that the problem with volume groups is th= at if one hard drive fails, the entire volume group is finished. That to m= e is extremely dangerous. Am I right to be concerned? =20 Teak =09 --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. --0-659304570-1151646667=:83906 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Dieter St=EF=BF=BDken <stueken@conterra.de> wro= te:
Teak Billard wrote:
> I= recently tried to add an old 30 GB hard drive lying in my machine to
&g= t; my FC5 system. I was trying to add the 30 GB to VolGroup00. I failed> somehow and now the entire VolGroup00 is inaccessible. When booting= I
> get a Kernel panic - not syncing: Attempted to kill init! I thi= nk if I
> removed the offending Uuid from VolGroup00 things would go = back to normal.
> ....
> When I do an lvm pvdisplay, it reveals= that VolGroup00 has two uuid's in
> it. One is /dev/hdb3 with uuid M= 3CWKv-a2yK-b5Qu-rLzq-Aj27-lXxE-WzvkWE
> and the other is unknown devi= ce with uuid
> 8YsyEa-r5RX-2LLI-Zz7n-Xr8s-VksP-Mhs0Wi.

seems y= ou did NOT fail adding the new disk. Have a look into your
/etc/lvm/bac= kup/VolGroup00 to find how your VG is composed.

It seems, you succeed in adding the disk, = but you finally did
not use it and disconnected it. LVM however has regi= stered
the new disk, even if you did not copy any data to it.

You= should reconnect the formerly added disk and unregister
it from your vo= lume group by "vgreduce". If you don't have the
disk any more or used it= elsewhere, you may try the option
"vgreduce --removemissing".

&g= t; I failed somehow and now ...

can you tell us, why it did not work= as you expected?

Dieter.

___________________________________= ____________
linux-lvm mailing list
linux-lvm@redhat.com
https://w= ww.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://t= ldp.org/HOWTO/LVM-HOWTO/

This is exactly what I did to = fix the problem: vgreduce --removemissing VolGroup00.

> can you= tell us, why it did not work as you expected?

First time using vo= lume groups.  Installed FC5 back when it came out and didn't really know w= hat I was doing.  Now I do.  After fixing the problem, I got wise= , used the lvm commands and added the new hard disk as a physical volume, a= nd merged it into the existing volume group.

I had messed around w= ith the lvm gui beforehand and may have caused a problem then.

In = my getting wise period I read that the problem with volume groups is that i= f one hard drive fails, the entire volume group is finished.  That to = me is extremely dangerous.  Am I right to be concerned?

Teak<= br>


Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta. --0-659304570-1151646667=:83906--