LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices

Tags used in this thread
Popular LQ Tags

Reply
 
Thread Tools
Old 05-20-2008, 10:36 AM   #1
seanikins
LQ Newbie
 
Registered: May 2008
Posts: 1
Thanked: 0
lvm2 Newly created Volume Group lost after reboot


[Log in to get rid of this advertisement]
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.
seanikins is offline  
Tag This Post
Reply With Quote
Old 08-31-2009, 09:44 AM   #2
gmoore
LQ Newbie
 
Registered: Aug 2009
Posts: 2
Thanked: 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.

Thanks,

Gary
windows_xp_2003 gmoore is offline     Reply With Quote
Old 08-31-2009, 07:34 PM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 5.4
Posts: 7,419
Thanked: 325
Did you add the LVM entry to /etc/fstab before reboot (dumb qn I know, but it happens)
windows_xp_2003 chrism01 is offline     Reply With Quote
Old 09-01-2009, 07:44 AM   #4
gmoore
LQ Newbie
 
Registered: Aug 2009
Posts: 2
Thanked: 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.
windows_xp_2003 gmoore is offline     Reply With Quote
Old 09-01-2009, 08:08 PM   #5
yzhong
Member
 
Registered: Jun 2007
Location: sydney
Distribution: redhat , ubuntu, centos
Posts: 56
Thanked: 2
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 ...
windows_xp_2003 yzhong is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 08:06 AM.

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