LinHES Forums
http://forums.linhes.org/

LVM woes with R5F27
http://forums.linhes.org/viewtopic.php?f=1&t=16848
Page 1 of 1

Author:  cantator [ Wed Oct 03, 2007 9:19 pm ]
Post subject:  LVM woes with R5F27

I am having difficulty getting a LVM setup with "create_lvm.sh /dev/hda3 /dev/hdb1" -It spits out the following:

root@mythtv:/home/mythtv# create_lvm.sh /dev/hda3 /dev/hdb1
Unmounting drives
Creating /dev/vg/myth
Physical volume "/dev/hda3" successfully created
Physical volume "/dev/hdb1" successfully created
Couldn't find device with uuid 'cyfieR-pgsl-X6x7-evNV-SMp5-OkJ1-HJ5a0G'.
Couldn't find device with uuid 'cyfieR-pgsl-X6x7-evNV-SMp5-OkJ1-HJ5a0G'.
A volume group called 'vg' already exists.
Couldn't find device with uuid 'cyfieR-pgsl-X6x7-evNV-SMp5-OkJ1-HJ5a0G'.
Couldn't find all physical volumes for volume group vg.
Couldn't find device with uuid 'cyfieR-pgsl-X6x7-evNV-SMp5-OkJ1-HJ5a0G'.
Couldn't find all physical volumes for volume group vg.
Volume group "vg" not found
Invalid argument vg
Error during parsing of command line.
Setting LVM to start on boot.
System startup links for /etc/init.d/lvm already exist.
Couldn't find device with uuid 'cyfieR-pgsl-X6x7-evNV-SMp5-OkJ1-HJ5a0G'.
Couldn't find all physical volumes for volume group vg.
Couldn't find device with uuid 'cyfieR-pgsl-X6x7-evNV-SMp5-OkJ1-HJ5a0G'.
Couldn't find all physical volumes for volume group vg.
Volume group "vg" not found

Not sure what is going on here. I did try a manual LVM, but with the same results. Any one have an idea as to what is happening? Thanks!!! :)

Author:  cecil [ Wed Oct 03, 2007 11:38 pm ]
Post subject: 

Was either of those drives in a volume group before?

Author:  cantator [ Thu Oct 04, 2007 4:43 am ]
Post subject: 

Yes, the Seagate 250GB was (hdb1), but I had deleted the partition and created a new one. The Maxtor 500GB (hda3) is a brand new drive, and was used doing a fresh install. Seems weird to me, but then I'm no Linus Torvald! :wink:

Author:  cecil [ Thu Oct 04, 2007 10:35 pm ]
Post subject: 

That is interesting... Take a look at Hints and Tips. You should find a recent post by me on LVM recreation. The links should be able to get you going.

Author:  cantator [ Fri Oct 05, 2007 5:06 am ]
Post subject: 

Wow, fantastic! Thank you!

Author:  cantator [ Fri Oct 05, 2007 9:48 am ]
Post subject: 

Or not...

For some reason it still thinks I have a 160GB HDD, when I actually replaced the 160 HDD with a 500 HDD. Whereas I should have about a 720 GB LVM, it is reading as my old 368 GB LVM. I suppose I'll need to do some sort of baseline wipe for these hard drives, so as to get a completey fresh install, unless someone knows of a magic bullet!!!

Thanks for your help Cecil! You rock with your dedication to Knoppmyth, and for the ease and convenience it provides for me and my family! Thank you!

p.s. my wife has been jonesing for the last week with it being down, whereas she wondered why I had spent so much time on it initially!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/