- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to activate vg,
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
11-25-2008 05:37 AM
11-25-2008 05:37 AM
Dear friends,
I want to activate the vg,now it's showing Unavilable.
so i reactivate the VG using Vgchange - the command is
"vgchnage -y /dev/vg01"
am i right?
but i don't know, why sometimes it's going the unaviable state?
Pls give the details in advance.
Regards,
Unixguy.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 05:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 05:41 AM
11-25-2008 05:41 AM
Re: How to activate vg,
vgchange -a y vgname
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 05:46 AM
11-25-2008 05:46 AM
Re: How to activate vg,
Hi James,
how to set the all Vg's.
can u give the full syntax on that?
Regards,
Unixguy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 05:49 AM
11-25-2008 05:49 AM
Re: How to activate vg,
James ,.....
I thing i will edit the LVMRC file and change that u mentioned settings.
Regards,
Unixguy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 05:50 AM
11-25-2008 05:50 AM
Re: How to activate vg,
> how to set the all Vg's.
Setting :
AUTO_VG_ACTIVATE=1
...will enable activation for all volumg groups. The '/etc/lvmrc' file has commentary to guide you. Read it.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 06:04 AM
11-25-2008 06:04 AM
Re: How to activate vg,
>
>AUTO_VG_ACTIVATE=1
>
>...will enable activation for all volumg >groups. The '/etc/lvmrc' file has >commentary to guide you. Read it.
Don't set AUTO_VG_ACTIVATE to 1 if this system is part of a Serviceguard cluster.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 06:21 AM
11-25-2008 06:21 AM
Re: How to activate vg,
Dear Friends ,
it's in Cluster only.
Hi Duncan ......
what we can do?
Then why sometimes vg's going diable state.
Regards,
Unixguy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 06:27 AM
11-25-2008 06:27 AM
Re: How to activate vg,
any one help to me on this case.....
Regards,
Unixguy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 06:43 AM
11-25-2008 06:43 AM
Re: How to activate vg,
If you sure that vg is not part of cluster then you need to mention in custom_vg_activation section in /etc/lvmrc file like below
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
parallel_vg_sync "/dev/vg01"
return 0
}
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 07:14 AM
11-25-2008 07:14 AM
Re: How to activate vg,
vgchange -a n /dev/vg_name
vgchange -c y /dev/vg_name to make is cluster available.
Ravi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 09:00 PM
11-25-2008 09:00 PM
Re: How to activate vg,
to de-acivate VG : vgchange -a n vg_name
for cluster server, to activate VG : vgchange -c y vg_name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2008 09:02 PM
11-25-2008 09:02 PM
Re: How to activate vg,
vgchange -a n vg_name
vgchange -c y vg_name
vgchange -a e vg_name
for detail, do "man vgchange"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 01:08 AM
11-26-2008 01:08 AM
Re: How to activate vg,
Dear Friends ,
Thanks for giving the support.
It's resolved.
Regards,
Unixguy.