- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to activate a volume group automatically ?
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
Forums
Discussions
Discussions
Discussions
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
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
07-04-2002 09:50 AM
07-04-2002 09:50 AM
How to activate a volume group automatically ?
I have a cluster of 2 machines running MC Service Guard. I've just added a new disk and created a new volume group on it. On that volume group I created a logical volume and created a new filesystem, mounted on mount point /xpto. I want to make things permanent, ie, when the system comes up i want to have the volume group active and the filesystem mounted. To mount the filesystem, i've edited /etc/fstab and put an entry to do it. Now, how to make the volume group activation permanent ?
Thanks for your help
Julio Quadros
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 10:03 AM
07-04-2002 10:03 AM
Re: How to activate a volume group automatically ?
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 10:08 AM
07-04-2002 10:08 AM
Re: How to activate a volume group automatically ?
I think this is done by default, as long as you have added the filesystem in /etc/fstab you should be set. Unforunately, I can't think of a way you can verify this off the top of my head.
Hope that helps.
-Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 10:33 AM
07-04-2002 10:33 AM
Re: How to activate a volume group automatically ?
Check out this thread from the Forums:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc37042308663d611abdb0090277a778c,00.html
By the way, I searched on "auto activate vg" within the Forums and got this result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 02:08 PM
07-04-2002 02:08 PM
Re: How to activate a volume group automatically ?
2 - edit /etc/cmcluster/
VG[0]="vgapp1"
VG[1]="vgnew"
Also put in the mount stuff if required
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 10:12 PM
07-04-2002 10:12 PM
Re: How to activate a volume group automatically ?
Thanks
JQ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2002 01:36 AM
07-05-2002 01:36 AM
Re: How to activate a volume group automatically ?
Absolutely
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2002 01:45 AM
07-05-2002 01:45 AM
Re: How to activate a volume group automatically ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2002 03:04 AM
07-05-2002 03:04 AM
Re: How to activate a volume group automatically ?
JQ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2002 04:12 AM
07-05-2002 04:12 AM
Re: How to activate a volume group automatically ?
If this VG is part of the SG package, it will be activated by the SG package control file. If not you can include this VG in the /etc/lvmrc file where AUTO_VG_ACTIVATE is set to "0",
The non-SG VG that you want to activate automatically should be added like this,
custom_vg_activation()
{
# e.g. /sbin/vgchange -a y -s
# parallel_vg_sync "/dev/vg00 /dev/vg01"
# parallel_vg_sync "/dev/vg02 /dev/vg03"
/sbin/vgchange -a y -s /dev/vg_name
parallel_vg_sync "/dev/vg_name"
return 0
}
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 01:12 PM
07-15-2002 01:12 PM
Re: How to activate a volume group automatically ?
if all the information given helped you that much, please be so kind to assign the people who helped you the points they do deserve.
BB