Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-20-2008, 09:36 AM   #1
LQ Newbie
Registered: May 2008
Posts: 1

Rep: Reputation: 0
lvm2 Newly created Volume Group lost after reboot

I have RHEL 5.1 and I have created a lvm2 volume group on new EMC Powerpath connected SAN volume. All seems OK . I can create a ext3 file system ,on the new logical volume (/dev/VolGroup01/LogVol00) and all is fine, until I reboot the server. Upon reboot the Volume Group and Logical Volume entries are missing in /dev and consequently the file system fails to mount. I can then quite happily, vgscan --mknodes followed by a vgchange -a y and they are back again, but any ideas why I have this problem on reboot?? Any help much appreciated...trying to refresh my Linux knowledge after a few years break and tearing my hair out with this one. Hopefully it's something silly that someone will spot straight away.
Old 08-31-2009, 08:44 AM   #2
LQ Newbie
Registered: Aug 2009
Posts: 2

Rep: Reputation: 0
SAN attached volume groups disappear on Reboot

Has anyone found a solution to this problem. It happened to me last night (Sunday) 10 hours before we went live with a major production system. I rebooted the database server to make sure everything was ready for the following morning. My San attached volume groups were gone. Of course my database would not come up. I used Seanikins methodology to bring things back, but I sure would like to find out what causes this.


Old 08-31-2009, 06:34 PM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,863

Rep: Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598Reputation: 2598
Did you add the LVM entry to /etc/fstab before reboot (dumb qn I know, but it happens)
Old 09-01-2009, 06:44 AM   #4
LQ Newbie
Registered: Aug 2009
Posts: 2

Rep: Reputation: 0
Yes, we do have the correct entries is FSTAB. The thing is, it's not just that the volumes weren't mounted, but the volume group and logical volume entries disappear from /dev. After vgscan and vgchange they come back and I am able to mount the volumes. I would like to find out why they go away in the first place.
Old 09-01-2009, 07:08 PM   #5
Registered: Jun 2007
Location: sydney
Distribution: redhat , ubuntu, centos
Posts: 56

Rep: Reputation: 16
We had a NAS ...We added a LVM on this disk and added entry to the fstab as well, after reboot, not mounted but can scan & mount later.

The problem is when system doing auto mount (entry in fstab), the connection to the NAS is not ready at that time. And until the whole system up, the connection is ready, that's why we can scan & mount later.

Solution is you can add some command to mount that disk in rc.local (double check connection before you mount)...

Hope that can give you so clue ...
Old 04-11-2010, 12:55 PM   #6
LQ Newbie
Registered: Mar 2005
Location: Colorado
Distribution: RHEL, SuSE
Posts: 1

Rep: Reputation: 0
I just had this occur, myself. It turned out to be a corrupted /etc/lvm/lvm.conf entry. Prior to the reboot, I had modified the 'filter' parameter. About a day later, upon reboot, the exact issue began to occur.

I copied my original lvm.conf back into place. After reboots, my vgs remained persistent.



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
ID created with assigned group is not display in /etc/group file dwarf007 Linux - Security 2 08-21-2007 10:39 PM
Showing newly created partition without reboot/partprobe. ErV Slackware 4 08-06-2007 06:37 PM
Trying to Add Users to Newly Created Group (Red Hat version) Linux_Enabled Red Hat 1 07-31-2007 10:13 PM
LVM2 volume group not seen after FC4 install digithead1011 Fedora - Installation 6 10-09-2005 09:25 PM
LVM2 on Sarge - HD failure in the volume group container /root Golovko Debian 3 06-20-2005 09:54 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:50 PM.

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
Open Source Consulting | Domain Registration