Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LVM2 Couldn't boot due to miss Volume Group
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
pstar
Apprentice
Apprentice


Joined: 22 Nov 2007
Posts: 189

PostPosted: Sat Mar 27, 2010 4:49 am    Post subject: LVM2 Couldn't boot due to miss Volume Group Reply with quote

Hi, I've been trying to fix this for two of days and still getting nowhere.

I used LVM for a Debian home file server for a while and it worked well , and I recently decided to add a external USB drive to the existing VG
and after I reboot that PC, it can not boot anymore and after choose from Grub menu and will complain just after loading kernel:
"couldn't find device with uuid.....
Couldn't find all physical volumes for volume group'

I tried a few of things and the wired thing is every time I booted into the PC using rescue CD or from initramfs, all the Volumes is there and I just need
doing a "vgchange -ay" and they will be all actived, but it will keep same after I reboot....

I am guessing that somehow the Kernel freak out first before it can see the USB drive and refuse to boot as the LVM is incomplete, and I have everything except
/boot mounted in LVM, thus the system could not boot. I tried add the usb-storage into initrd and still the same.

Not sure what to do next, I am thinking about remove the USB from Volume Group first and add it as a different VG, so at least the system will boot. But not sure could I mount a single logical group across different Volume Group, because that is what I want/need for a LVM in the first place?
Back to top
View user's profile Send private message
pstar
Apprentice
Apprentice


Joined: 22 Nov 2007
Posts: 189

PostPosted: Sat Mar 27, 2010 5:00 am    Post subject: Reply with quote

To clarify my situation, my system with that LVM couldn't boot because I can't find a Physical Volume from my USB drive.
But after the boot failed, in the initramfs envirement, I can see the missing PV with exactly same uuid. How could I work around
this, I didn't really see where is the problem?
Back to top
View user's profile Send private message
pstar
Apprentice
Apprentice


Joined: 22 Nov 2007
Posts: 189

PostPosted: Sat Mar 27, 2010 9:25 am    Post subject: Reply with quote

Now when I am try to remove the offending PV using
" vgreduce debianLVM --removemissing"
It actually tell me "Volume group "debian" is already consisten" ???
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum