- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Replacing the mirror disk
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
тАО11-18-2003 02:16 AM
тАО11-18-2003 02:16 AM
Replacing the mirror disk
Replaced a mirror disk after vgreduce /dev/vg??? /dev/dsk/c?t?d?.
completed pvcretae. During vgcfgrestore getting the following.
# vgcfgrestore -n /dev/vgtest /dev/dsk/c3t10d0
Configuration info for Physical Volume "/dev/dsk/c3t10d0" not found
in "/etc/lvmconf/vgtest.conf" :
Character-special file for PV not supplied on command line, OR
PV did not belong to Volume Group /dev/vgtest when configuration file was create
d.
[cctest02]: /root
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2003 02:17 AM
тАО11-18-2003 02:17 AM
Re: Replacing the mirror disk
You need to specify the raw disk for vgcfgrestore. Try this:
vgcfgrestore -n /dev/vgtest /dev/rdsk/c3t10d0
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2003 02:19 AM
тАО11-18-2003 02:19 AM
Re: Replacing the mirror disk
# vgcfgrestore -n /dev/vgtest /dev/rdsk/c3t10d0
Configuration info for Physical Volume "/dev/rdsk/c3t10d0" not found
in "/etc/lvmconf/vgtest.conf" :
Character-special file for PV not supplied on command line, OR
PV did not belong to Volume Group /dev/vgtest when configuration file was creat.
[cctest02]: /testlv1
# vgcfgrestore -n /dev/vgtest -l
Volume Group Configuration information in "/etc/lvmconf/vgtest.conf"
VG Name /dev/vgtest
---- Physical volumes : 1 ----
/dev/rdsk/c3t9d0 (Non-bootable)
[cctest02]: /testlv1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2003 02:21 AM
тАО11-18-2003 02:21 AM
Re: Replacing the mirror disk
It is fine after extending the VG.
# vgextend /dev/vgtest /dev/dsk/c3t10d0
Volume group "/dev/vgtest" has been successfully extended.
Volume Group configuration for /dev/vgtest has been saved in /etc/lvmconf/vgtesf
[cctest02]: /testlv1
# vgcfgrestore -n /dev/vgtest -l
Volume Group Configuration information in "/etc/lvmconf/vgtest.conf"
VG Name /dev/vgtest
---- Physical volumes : 2 ----
/dev/rdsk/c3t9d0 (Non-bootable)
/dev/rdsk/c3t10d0 (Non-bootable)
[cctest02]: /testlv1
# vgcfgrestore -n /dev/vgtest /dev/rdsk/c3t10d0
Volume Group configuration has been restored to /dev/rdsk/c3t10d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2003 02:23 AM
тАО11-18-2003 02:23 AM
Re: Replacing the mirror disk
Try this doc from itrc. Print it and keep it for future references.
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066374050
The doc id is KBAN00000347.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2003 02:26 AM
тАО11-18-2003 02:26 AM
Re: Replacing the mirror disk
JP