- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgcfgrestore
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-16-2006 11:25 PM
тАО03-16-2006 11:25 PM
Hi,
Should i deactivate the VG before runnning vgcfgrestore, got doubt!
Thanks nd regards,
Bond
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2006 11:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2006 11:36 PM
тАО03-16-2006 11:36 PM
Re: vgcfgrestore
If, for example, you had replaced a PV that was used to mirror another PV, then you could vgcfgrestore just that PV without deactivating the VG.
If you need to restore the whole VG, then this would definitely require the VG to be deactivated.
Read the man page for more info
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2006 11:45 PM
тАО03-16-2006 11:45 PM
Re: vgcfgrestore
e.g.
pvchange -a n /dev/dsk/c0t6d0
vgcfgrestore ...
pvchange -a y ...
In every case you have to activate the VG after this, e.g.
vgchange -a y vg01
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2006 02:37 AM
тАО03-17-2006 02:37 AM
Re: vgcfgrestore
1.ioscan -fnC disk > ioscan.txt
2. replaced disk if hot swap disk
3. vgcfgrestore -n vg01 /dev/rdsk/cxtxdx
4. vgchange -a y
5. newfs -F vxfs /dev/vg01/lvol_name
For defective disk (mirrored)
1. vgcfgrestore -n vg01 /dev/rdsk/cxtxdx
2. vgchange -a y vg01
3. vgsync vg01
this will help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2006 02:38 AM
тАО03-17-2006 02:38 AM
Re: vgcfgrestore
1.ioscan -fnC disk > ioscan.txt
2. replaced disk
3. vgcfgrestore -n vg01 /dev/rdsk/cxtxdx
4. vgchange -a y
5. newfs -F vxfs /dev/vg01/lvol_name
For defective disk (mirrored)
1. replaced disk
2. vgcfgrestore -n vg01 /dev/rdsk/cxtxdx
3. vgchange -a y vg01
4. vgsync vg01
this will help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2006 03:56 AM
тАО03-17-2006 03:56 AM
Re: vgcfgrestore
It is not mantatory to deactivate the VG.
there is an option -R to do a forceful restore too.
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2006 03:57 AM
тАО03-17-2006 03:57 AM
Re: vgcfgrestore
Bond,
we run,
3. vgcfgrestore -n vg01 /dev/rdsk/cxtxdx
4. vgchange -a y
vgchange -a y after restore just to resynchronyse the LVs.
Regards,
Siva.