- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need to replace a mirrored disk that is going bad.
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
тАО08-18-2004 05:21 AM
тАО08-18-2004 05:21 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2004 05:52 AM
тАО08-18-2004 05:52 AM
SolutionYou dont have to powerdown as long as the enclosure is hot swappable.
Here is how I would do it
1) # lvreduce all the lvs mirror from the failing disk.
# vgreduce /dev/vg01 /dev/dsk/
2) Replace the disk online if hot swappable
3) # pvcreate /dev/rdsk/
# vgextend /dev/vg01 /dev/dsk/
# lvextend -m 1 /dev/vg01 /dev/dsk/
# vgcfgbackup /dev/vg01
Ofcourse, if the disk is part of vg00, you need to execute couple more commands for BDRA and LIF volumes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2004 05:54 AM
тАО08-18-2004 05:54 AM
Re: Need to replace a mirrored disk that is going bad.
as far as the pvremove vs vgcfgrestore, I always preferred the latter. As a matter of fact, I would have even left the mirrors in place and after vgcfgrestore, I would re-sync the mirrors, to save myself a few less commands to type.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2004 06:06 AM
тАО08-18-2004 06:06 AM
Re: Need to replace a mirrored disk that is going bad.
So, go with the better option. vgreduce, pvcreate, vgextend and lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2004 06:15 AM
тАО08-18-2004 06:15 AM