- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mount vg 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
тАО03-29-2007 08:59 PM
тАО03-29-2007 08:59 PM
after reboot I have to mount the storage manually:
vgchange -a y vg06
mount /dev/vg06/lvol1 /fd6
mount /dev/vg06/lvol2 /fd7
Which entries in which files do I have to edit, that this happens automatically? HP-UX 11.00
Thank you,
Michael
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2007 09:15 PM
тАО03-29-2007 09:15 PM
Solutionare you sure the syntax is not:
vgchange -a y /dev/vg06
The data is held in /etc/fstab.
Also check the AUTO_VG_ACTIVATE=1 in /etc/lvmrc
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2007 09:26 PM
тАО03-29-2007 09:26 PM
Re: mount vg after reboot
my entry in /etc/lvmrc:
AUTO_VG_ACTIVATE=0
I will change it to "1" and test it after the next reboot (points later).
/etc/fstab:
/dev/vg06/lvol1 /fd6 vxfs delaylog 0 2
/dev/vg06/lvol2 /fd7 vxfs delaylog 0 2
right like that?
Thank you,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 01:22 AM
тАО04-04-2007 01:22 AM
Re: mount vg after reboot
how are you getting on with this ?
Please read:
http://66.34.90.71/ITRCForumsEtiquette/after.html
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 01:38 AM
тАО04-04-2007 01:38 AM
Re: mount vg after reboot
here's my answer to your question:
"I will change it to "1" and test it after the next reboot (points later)." (I didn't reboot yet).
What about my question about the right syntax of the /etc/fstab?
Thank you and be patient,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 01:42 AM
тАО04-04-2007 01:42 AM
Re: mount vg after reboot
Is this machine part of an MC Service Guard cluster? Was it part of a cluster in the past? If it is/was, then that would explain the /etc/lvmrc file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 01:50 AM
тАО04-04-2007 01:50 AM
Re: mount vg after reboot
yes, we have a MC-Cluster.
Happy easter, Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2007 01:58 AM
тАО04-04-2007 01:58 AM
Re: mount vg after reboot
What you can do however is modify the 'custom_vg_activation' section of the /etc/lvmrc file.
In that section add a line: '/sbin/vgchange -a y /dev/vg06'
That will cause vg06 to be activated and your filesystems mounted when the system boots.
Here's a snippet from one of my clustered systems:
custom_vg_activation()
{
# e.g. /sbin/vgchange -a y -s
/sbin/vgchange -a y /dev/vg00
/sbin/vgchange -a y /dev/vg05
# parallel_vg_sync "/dev/vg00 /dev/vg01"
# parallel_vg_sync "/dev/vg02 /dev/vg03"
return 0
}