Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I keep getting this error every time I poweroff/rebbot my computer. I've everything installed on LVM except /boot.

I'm worried if this will affect the data on disk.

-Thanks!

share|improve this question
    
What is your VG-setup? What are the messages before this error? –  Nils Jul 21 '11 at 20:49

1 Answer 1

This happens because you have your "/" partition located in a LVM Logical Volume inside of a LVM Volume Group. When your system reboots or shuts down one of the last tasks is to unmount all of the volumes to prevent data loss. In the case of LVM this is impossible becasue the "/" logical volume is technically still in use, so you will recieve a warning like "Could not deactivate volume group "NAME" with 1 logical volume open". In this case the Logical Volume that contains your "/" is preventing your Logical Group from being unmounted because it's still being used. I for one have not see any issues with this behavior, however that doesn't mean there isn't any. If the issue worries you, optionally you can relocate your "/" partition outside of the volume group. This should clear the error message your recieve.

Hope this helps

share|improve this answer
    
Thank you! Will move my / contents. –  Kadamba Aug 15 '11 at 10:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.