HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Replacing mirrored disk
Operating System - HP-UX
1834200
Members
2938
Online
110066
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
12-20-2004 05:12 AM
12-20-2004 05:12 AM
We are currently experiencing intermittent read errors on a mirrored disk. What we want to do is to replace it with a newly purchased disk and move the suspect disk to a new Volume group to see if the problem follows the disk or stays with the tray. Can you provide me with the commands I would use to accomplish this?
First, how do I replace the mirrored disk?
The disk in question /dev/dsk/c5t14d0 and belongs to a series of 4 disks /dev/dsk/c5t8d0 /dev/dskt10d0 /dev/dsk/c5t12d0 and /dev/dsk/c5t14d0. These are all assigned to physical volume pvg2 with volume group /dev/vgdata
My logical volumes are /dev/vgdata/ud52 /dev/vgdata/sb /dev/vgdata/sbdata /dev/vgdata/sbhold /dev/vgdata/sbtrain /dev/vgdata/sbiat /dev/vgdat/sbdev /dev/vgdata/sbcnv /dev/vgdata/olap /dev/vgdata/gw
Second, once I remove the suspect disk from the mirrored pvg, how do I reformat it once it gets to its new home so I can use it in the new volume group?
I've attached of copy of vgdisplay to help answer any additional question that you may have regarding our setup.
Thanks,
Staci
First, how do I replace the mirrored disk?
The disk in question /dev/dsk/c5t14d0 and belongs to a series of 4 disks /dev/dsk/c5t8d0 /dev/dskt10d0 /dev/dsk/c5t12d0 and /dev/dsk/c5t14d0. These are all assigned to physical volume pvg2 with volume group /dev/vgdata
My logical volumes are /dev/vgdata/ud52 /dev/vgdata/sb /dev/vgdata/sbdata /dev/vgdata/sbhold /dev/vgdata/sbtrain /dev/vgdata/sbiat /dev/vgdat/sbdev /dev/vgdata/sbcnv /dev/vgdata/olap /dev/vgdata/gw
Second, once I remove the suspect disk from the mirrored pvg, how do I reformat it once it gets to its new home so I can use it in the new volume group?
I've attached of copy of vgdisplay to help answer any additional question that you may have regarding our setup.
Thanks,
Staci
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 05:18 AM
12-20-2004 05:18 AM
Solution
Hi Staci,
You can use the procedure in this doc to replace the the failed mirror disk.
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000073905420
the itrc doc id is KBAN00000347.
Once you have replaced the disk, you can use vgextend to add the new disk into this VG and then do a pvmove to move the lv copy to the new disk.
Hope this helps.
Regds
You can use the procedure in this doc to replace the the failed mirror disk.
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000073905420
the itrc doc id is KBAN00000347.
Once you have replaced the disk, you can use vgextend to add the new disk into this VG and then do a pvmove to move the lv copy to the new disk.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 05:19 AM
12-20-2004 05:19 AM
Re: Replacing mirrored disk
If this is a hot-plug disk module then you don't even need to shutdown. Simply pull the drive out an inch or so and allow it to spin down. Wait about two minutes or so and remove the drive completely. You box will continue to operate normally. Insert the new drive and allow it to spin up.
If this is not a hot-plug drive then simply shutdown and replace the drive.
From here on, the steps are the same.
vgcfgrestore -n /dev/vgdata /dev/rdsk/c5t14d0
vgchange -a y /dev/vgdata
vgsync /dev/vgdata
You are now completely restored.
If this is not a hot-plug drive then simply shutdown and replace the drive.
From here on, the steps are the same.
vgcfgrestore -n /dev/vgdata /dev/rdsk/c5t14d0
vgchange -a y /dev/vgdata
vgsync /dev/vgdata
You are now completely restored.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 05:44 AM
12-20-2004 05:44 AM
Re: Replacing mirrored disk
Thanks for the quick response and documentation. It appears at first glance that this will be alot easier than initially thought.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP