LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   LVM: LV Status NOT Available, after reboot. (https://www.linuxquestions.org/questions/linux-server-73/lvm-lv-status-not-available-after-reboot-771192/)

s2cuts 11-24-2009 06:04 AM

LVM: LV Status NOT Available, after reboot.
 
I feel guilty posting this since there are numerous posts around with similar problems, however, I don't believe a solution exists.

Specifically, I'm running CentOS4. I've implemented LVM, and it's been running fine up until the last update I did. After a reboot the logical volumes come up with a status "NOT Available", and fail to be mounted as part of the boot process. After the boot process, I'm able to "lvchange -ay ..." to make the logical volumes "available" then mount them. From that point everything seems to work fine.

What I did before the logical volumes stopped mounting during bootup is an update from the repos. Here's a list of what was changed:

Code:

Nov 23 18:52:40 Updated: libvorbis.i386 1:1.1.0-3.el4_8.3
Nov 23 18:52:42 Updated: wget.i386 1.10.2-1.el4_8.1
Nov 23 18:53:13 Installed: kernel.i686 2.6.9-89.0.16.EL
Nov 23 18:53:15 Updated: kernel-utils.i386 1:2.4-20.el4
Nov 23 18:53:15 Updated: httpd-suexec.i386 2.0.52-41.ent.6.centos4
Nov 23 18:53:17 Updated: httpd.i386 2.0.52-41.ent.6.centos4

I really want to avoid a work around that involves me inserting "lvchange -ay ..." in some script as part of the boot process. Any help or advise would be greatly appreciated.

Chirel 11-25-2009 04:01 PM

Hi,

use vgchange -ay instead of lvchange -ay.
this should work even after the reboot.

s2cuts 11-25-2009 06:09 PM

Quote:

Originally Posted by Chirel (Post 3769676)
Hi,

use vgchange -ay instead of lvchange -ay.
this should work even after the reboot.

The volume groups status was always "resizable", no change. But I tried it anyway, and there was no effect. Can you please explain how this is supposed to work?


All times are GMT -5. The time now is 05:42 PM.