- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Missing Filesystem after reboot
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 07:43 AM
тАО10-07-2009 07:43 AM
Missing Filesystem after reboot
- try to mount the filesystem:
/dev/vgpacet6/lvol1: No such device or address
- vgdisplay vgpacet6
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "vgpacet6".
-vgchange -a y vgpacet6
Activated volume group
Volume group "vgpacet6" has been successfully changed.
Then I can mount this device.
What went wrong with it during reboot? How can I avoid this during next reboot?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 07:46 AM
тАО10-07-2009 07:46 AM
Re: Missing Filesystem after reboot
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 07:49 AM
тАО10-07-2009 07:49 AM
Re: Missing Filesystem after reboot
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=765250
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 10:53 AM
тАО10-07-2009 10:53 AM
Re: Missing Filesystem after reboot
>What went wrong with it during reboot? How can I avoid this during next reboot?
- Looks like some one newly created this vg and added filesystem to the system , however didn't do it correctly. And so it didnot come properly in next reboot.
- To avoid this : (Make sure before reboot):
1. Make sure the new vg has been added to /etc/lvmrc if AUTO_VGACTIVATE is mentioned 0 in /etc/lvmrc .
[ AUTO_VG_ACTIVATE=1 in /etc/lvmrc means automatic VG activation of all vg during reboot ]
2. Make sure the filesystem is added in /etc/fstab
3. Also it would be a good idea to take an output of bdf & vgdisplay -v & /etc/lvmtab before reboot, so after reboot it would be easy to deal with.
# bdf > bdf.txt
# vgdisplay -v > vgdisplay_v.txt 2>&1
# strings /etc/lvmtab > lvmtab.txt ; cp -p /etc/lvmtab ~lvmtab.copy.date
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 11:05 AM
тАО10-07-2009 11:05 AM
Re: Missing Filesystem after reboot
For some reason I seem to get that backwards half the time.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 11:20 AM
тАО10-07-2009 11:20 AM
Re: Missing Filesystem after reboot
Should I move it up above this line?
/etc/lvmrc hasn't been changed. it currently has AUTO_VG_ACTIVATE=0. Why did not this happen to other filesystems?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 11:47 AM
тАО10-07-2009 11:47 AM
Re: Missing Filesystem after reboot
If AUTO_VG_ACTIVATE was set to 0, then look further down in the /etc/lvmrc file, in the custom_vg_activation section (function) to see if the volume groups are listed there.
Is this server (or was it before) part of a servicegurd cluster? That's when usually the AUTO_VG_AVTIVATE is set to 0.
I have also seen other cases where after a power failure, the server would boot up faster than the external storgae system and if the volume group was on the external storage system it would not be available for activation right away. So these volume groups were activated at a later time via a custom start up script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 11:54 AM
тАО10-07-2009 11:54 AM
Re: Missing Filesystem after reboot
> The new filesystem /dev/vgpacet6/lvol1 was added to /etc/fstab. It is not mounted after reboot.
However in your case the problem is , the vg (vgpacet6) was not activated during boot time. And so the filesystem was not mounted, no matter you have added the filesystem entry in /etc/fstab . ( fyi: it is not mnttab )
Q.
1. Is it a new vg recently created.? ( /dev/vgpacet6 ).
2. If yes, has it been added to /etc/lvmrc . (Since AUTO_VG_ACTIVATE=0)
If the answer is 'no' to question 1 , then you have to check if the vg vgpacet6 is there in the /etc/lvmrc or not.
If vgpacet6 is not present in /etc/lvmrc it is obvious it will not be activated during boot time, and so the filesystem will not be mounted.
NOTE:
-ServiceGuard VG's get activated during the package start process.
- Other normal vgs gets activated from lvmrc
/etc/lvmrc populate the function custom_vg_activation() , and activate the vgs.
( Assuming VG_AUTO_ACTIVATE configured to 0 )
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 01:09 PM
тАО10-07-2009 01:09 PM
Re: Missing Filesystem after reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 01:26 PM
тАО10-07-2009 01:26 PM
Re: Missing Filesystem after reboot
Nice to know /etc/fstab wrong entry was the culprit and fixed it.
Please take some time from your busy schedule to assign some "points" to the responses , as a token of appreciation.
Thanks.
Raj.