linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] HELP ME! (Couldn't find device with uuid 'blah-blah-blah') (More detailed subject) Sorry
@ 2005-04-17  2:06 Ramzy Darwish
  2005-04-18  0:07 ` Alasdair G Kergon
  0 siblings, 1 reply; 5+ messages in thread
From: Ramzy Darwish @ 2005-04-17  2:06 UTC (permalink / raw)
  To: linux-lvm

Hello All,
I am so happy to have found this list and I have searched through the
archives looking for an answer to my problem, but have not found it.

I am by no means an expert in LVM and know just enough to set up my disks
into a LVM pool and allocate space for different LVs.

I did this almost a year ago now and have been running a very stable linux
box with LVM2 with no problems until now. Recently, I was given a couple of
old HDDs and tried to add them to my pool using pvcreate/vgextend
successfully (at least I think so).

I was able to add the drives to the pool and dole out space to my existing
partitions. I thought everything was hunky-dory, but after rebooting, my VG
has been corrupted somehow and I can't load any of my LVs.

I didn't have / in the pool (luckily :), but I did place /usr in there and
this is the main problem. THe system boots fine up til LVM starting and then
I get:

"Couldn't find device with uuid 'blah-blah-blah'
"Couldn't find all physical volumes for volume group VolGrp"
repeated several times with the same uuid value

for all of my LVs

and finally:
"Volume Group "VolGrp" not found"

I can run commands that I have seen other people using to restore stuff in
other messages and they seem to exit succssfully such as:
# /sbin/vgcfgrestore VolGrp
> Restored volume group VolGrp

# /sbin/vgscan
> Reading all pysical volumes. This may take a while...
> Found volume group "VolGrp" using metadatatype lvm2

And if I do some other stuff, I can even get /usr mounted read-only, but
this does not survive a reboot.

I know I am missing something, but I can't figure out what. I have been
pouring through the mailing lists and google trying to find the solution,
but nothing seems to be working.

Any help would be appreciated.

Thanks,
ramzy

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] HELP ME! (Couldn't find device with uuid 'blah-blah-blah') (More detailed subject) Sorry
  2005-04-17  2:06 [linux-lvm] HELP ME! (Couldn't find device with uuid 'blah-blah-blah') (More detailed subject) Sorry Ramzy Darwish
@ 2005-04-18  0:07 ` Alasdair G Kergon
  2005-04-18 21:07   ` [linux-lvm] HELP ME! (Couldn't find device with uuid'blah-blah-blah') " Ramzy Darwish
  0 siblings, 1 reply; 5+ messages in thread
From: Alasdair G Kergon @ 2005-04-18  0:07 UTC (permalink / raw)
  To: LVM general discussion and development

On Sat, Apr 16, 2005 at 09:06:39PM -0500, Ramzy Darwish wrote:
> "Couldn't find device with uuid 'blah-blah-blah'
> "Couldn't find all physical volumes for volume group VolGrp"

This is becoming an FAQ.

Start by telling which version of LVM2 (run 'lvm version') and 
what distribution (some distributions have more trouble than 
others with this) and detail your disk config: e.g. do you have raid,
any disk partitions?

Alasdair

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] HELP ME! (Couldn't find device with uuid'blah-blah-blah') (More detailed subject) Sorry
  2005-04-18  0:07 ` Alasdair G Kergon
@ 2005-04-18 21:07   ` Ramzy Darwish
  2005-04-18 21:49     ` Alasdair G Kergon
  0 siblings, 1 reply; 5+ messages in thread
From: Ramzy Darwish @ 2005-04-18 21:07 UTC (permalink / raw)
  To: LVM general discussion and development

Hello,
I fixed my problem, but I am not really sure how :).
I just kept trying stuff and finally after a reboot, it worked. I would like 
to know how to prevent such an event from happening again though.
> lvm version
  LVM version:     2.00.08 (2003-11-14)
  Library version: 1.00.17-ioctl (2004-04-19)
  Driver version:  4.3.0

OS: Gentoo (2004.3)

My disk config is as follows:
3 regular disk partitions on first HDD: (120G IDE ATA133 HDD, Maxtor if that 
matters)
1) ext2 fs with my /boot    => /dev/hda1
2) swap partition              => /dev/hda2
3) xfs partition for /          => /dev/hda3

The rest of /dev/hda is a phsical volume given to the LVM pool as /dev/hda4
Then, before the problem, I had two IDE HDDs (both Maxtor); 1 120G ATA133 
and 1 60G ATA100. Both are completely given over to the LVM. I have one 
Volume Group (VolGrp) that has a number of partitions in it (My machine is a 
media server running the excellent MythTV software (mythtv.org)):

>mount
devfs on /dev type devfs (rw)

none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)

/dev/hda1 on /boot type ext2 (rw,noatime)
/dev/hda3 on / type xfs (rw,noatime)

/dev/VolGrp/usr on /usr type reiserfs (rw)
/dev/VolGrp/home on /home type ext3 (rw)
/dev/VolGrp/roms on /mnt/roms type reiserfs (rw)
/dev/VolGrp/audio on /mnt/audio type xfs (rw)
/dev/VolGrp/backup on /mnt/backup type ext3 (rw)
/dev/VolGrp/video on /mnt/video type jfs (rw)
/dev/VolGrp/dvd on /mnt/video/dvd type jfs (rw)
/dev/VolGrp/videos on /mnt/video/videos type jfs (rw)
/dev/VolGrp/download on /mnt/download type reiserfs (rw)
/dev/VolGrp/win on /mnt/win type ext3 (rw)

(* I have massaged the output a little trying to make it easier to see the 
differences in the setup *)

The problem began when I added two new drives: 1 Maxtor 40GB ATA100 and 1 
Seagate 17G ATA100. Both IDE.
I added the 40G drive with pvcreate/vgextend and doled out its space with 
lvextend commands and that seemed to go fine. I added the 17G drive with the 
same commands, but had not allocated its space yet when I rebooted the 
machine.

When I rebooted the machine, I got the uuid error for the same PV (which was 
for the final Seagate drive) repeatedly and none of my LVs would mount, 
including /usr. This was the biggest problem.

Now, I am planning to set aside a part of that 17G drive for a 'permanent' 
or 'traditional' /usr partition so I can at least run all of this stuff 
easily when I run into problems again.

I hope this is all of the information that you need. Please let me know what 
else I need to tell you.

Thanks for your help.
ramzy



----- Original Message ----- 
From: "Alasdair G Kergon" <agk@redhat.com>
To: "LVM general discussion and development" <linux-lvm@redhat.com>
Sent: Sunday, April 17, 2005 7:07 PM
Subject: Re: [linux-lvm] HELP ME! (Couldn't find device with 
uuid'blah-blah-blah') (More detailed subject) Sorry


> On Sat, Apr 16, 2005 at 09:06:39PM -0500, Ramzy Darwish wrote:
>> "Couldn't find device with uuid 'blah-blah-blah'
>> "Couldn't find all physical volumes for volume group VolGrp"
>
> This is becoming an FAQ.
>
> Start by telling which version of LVM2 (run 'lvm version') and
> what distribution (some distributions have more trouble than
> others with this) and detail your disk config: e.g. do you have raid,
> any disk partitions?
>
> Alasdair
>
> _______________________________________________
> 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/ 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] HELP ME! (Couldn't find device with uuid'blah-blah-blah') (More detailed subject) Sorry
  2005-04-18 21:07   ` [linux-lvm] HELP ME! (Couldn't find device with uuid'blah-blah-blah') " Ramzy Darwish
@ 2005-04-18 21:49     ` Alasdair G Kergon
  2005-04-19  1:24       ` [linux-lvm] HELP ME! (Couldn't find device withuuid'blah-blah-blah') " Ramzy Darwish
  0 siblings, 1 reply; 5+ messages in thread
From: Alasdair G Kergon @ 2005-04-18 21:49 UTC (permalink / raw)
  To: LVM general discussion and development

On Mon, Apr 18, 2005 at 04:07:57PM -0500, Ramzy Darwish wrote:
> like to know how to prevent such an event from happening again though.
>  LVM version:     2.00.08 (2003-11-14)

There are lots of bugs in that version!

Update to the latest stable version: 2.01.09

Alasdair

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] HELP ME! (Couldn't find device withuuid'blah-blah-blah') (More detailed subject) Sorry
  2005-04-18 21:49     ` Alasdair G Kergon
@ 2005-04-19  1:24       ` Ramzy Darwish
  0 siblings, 0 replies; 5+ messages in thread
From: Ramzy Darwish @ 2005-04-19  1:24 UTC (permalink / raw)
  To: LVM general discussion and development

Thanks, will do. I appreciate the help.

ramzy
----- Original Message ----- 
From: "Alasdair G Kergon" <agk@redhat.com>
To: "LVM general discussion and development" <linux-lvm@redhat.com>
Sent: Monday, April 18, 2005 4:49 PM
Subject: Re: [linux-lvm] HELP ME! (Couldn't find device 
withuuid'blah-blah-blah') (More detailed subject) Sorry


> On Mon, Apr 18, 2005 at 04:07:57PM -0500, Ramzy Darwish wrote:
>> like to know how to prevent such an event from happening again though.
>>  LVM version:     2.00.08 (2003-11-14)
>
> There are lots of bugs in that version!
>
> Update to the latest stable version: 2.01.09
>
> Alasdair
>
> _______________________________________________
> 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/ 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-04-19  1:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-17  2:06 [linux-lvm] HELP ME! (Couldn't find device with uuid 'blah-blah-blah') (More detailed subject) Sorry Ramzy Darwish
2005-04-18  0:07 ` Alasdair G Kergon
2005-04-18 21:07   ` [linux-lvm] HELP ME! (Couldn't find device with uuid'blah-blah-blah') " Ramzy Darwish
2005-04-18 21:49     ` Alasdair G Kergon
2005-04-19  1:24       ` [linux-lvm] HELP ME! (Couldn't find device withuuid'blah-blah-blah') " Ramzy Darwish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).