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! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-20-2008, 09:36 AM
|
#1
|
LQ Newbie
Registered: May 2008
Posts: 1
Rep:
|
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.
|
|
|
08-31-2009, 08:44 AM
|
#2
|
LQ Newbie
Registered: Aug 2009
Posts: 2
Rep:
|
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
|
|
|
08-31-2009, 06:34 PM
|
#3
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,391
|
Did you add the LVM entry to /etc/fstab before reboot (dumb qn I know, but it happens)
|
|
|
09-01-2009, 06:44 AM
|
#4
|
LQ Newbie
Registered: Aug 2009
Posts: 2
Rep:
|
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.
|
|
|
09-01-2009, 07:08 PM
|
#5
|
Member
Registered: Jun 2007
Location: sydney
Distribution: redhat , ubuntu, centos
Posts: 56
Rep:
|
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 ...
|
|
|
04-11-2010, 12:55 PM
|
#6
|
LQ Newbie
Registered: Mar 2005
Location: Colorado
Distribution: RHEL, SuSE
Posts: 1
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 09:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|