Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-24-2009, 06:04 AM   #1
Registered: Mar 2007
Posts: 61

Rep: Reputation: 18
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:

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.
Old 11-25-2009, 04:01 PM   #2
Registered: Nov 2009
Posts: 55

Rep: Reputation: 19

use vgchange -ay instead of lvchange -ay.
this should work even after the reboot.
Old 11-25-2009, 06:09 PM   #3
Registered: Mar 2007
Posts: 61

Original Poster
Rep: Reputation: 18
Originally Posted by Chirel View Post

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?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 12.1, LVM and reboot. plenty Slackware 1 06-10-2008 11:45 AM
`df -k` is not updating the right space status without reboot Narayandutt Linux - Server 2 11-20-2007 12:40 AM
Panic on reboot after adding LVM. duvalr Linux - Kernel 1 03-23-2007 04:30 AM
LVM not visible after reboot lord_darkhelmet Linux - General 3 10-05-2006 12:48 AM
LVM disk is offline after reboot Lada Red Hat 2 08-20-2006 06:05 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration