- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- replace disk in mirrored stripeset ?
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
05-06-2003 03:00 AM
05-06-2003 03:00 AM
I have to replace a failed Hot-Swap-disk in a mirrored stripeset. I read the man pages, but could not find my special(?) case.
I use extend-based mirrored stripes. The Volume was created this way:
Volumegroup
vgcreate -g PVG0 /dev/vgdb /dev/dsk/c1t3d0 /dev/dsk/c1t2d0
vgextend -g PVG1 /dev/vgdb /dev/dsk/c4t3d0
vgextend -g PVG1 /dev/vgdb /dev/dsk/c4t2d0
and LV
lvcreate -D y -s g -m 1 -L 500 -n oradata /dev/vgdb
so as far as I know you can create this only in one single step. It is not possible to first create a stripe set over some disks and afterwards mirroroing this set on some other disks ...
Now I need to replace one disk ... the manual says to reduce the disk from the vg, replace it, and mirror it back onto
this seems to be a contradiction to me
So what would be the right steps for me ?
Christian
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2003 03:07 AM
05-06-2003 03:07 AM
SolutionI follow this steps when I have to replace a mirror disk.
1 - Replace the disk
2 - restore lvm information
#vgcfgrestore -n /dev/vgxx /dev/dsk/cxtxdx
3 - reactivate the vg
#vgchange -a y vgxx
4 - resync the vg
#vgsync vgxx
best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2003 03:11 AM
05-06-2003 03:11 AM
Re: replace disk in mirrored stripeset ?
?? remove the disk you want to change
?? run 'vgchange -a y vgXY'
?? insert the new disk
?? run 'vgchange -a y vgXY' again
?? run 'vgcfgrestore ...'
?? run 'vgsync vgXY'
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2003 03:18 AM
05-06-2003 03:18 AM
Re: replace disk in mirrored stripeset ?
I would like to do it this way, but all manuals keep saying first to lvreduce ...
I have a running Oracle DB in this vg which is very important to us.
Of course I have a backup, archivelogs and all other things needed for a recovery (and it worked some weeks ago)
I think I will try it tomorrow morning ...
Christian
- I will assign points tomorrow after lunch !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2003 05:34 AM
05-06-2003 05:34 AM
Re: replace disk in mirrored stripeset ?
The steps you have been given work and work quite well.
For more information check out the "Software Recovery Handbook" located here: http://www2.itrc.hp.com/service/iv/node.do?node=prod%2FWW_Start%2FN1%7C16 and check out "Chapter 16: LVM". It goes over the steps to recover hot swap drives, though it, too, says to lvreduce, which I disagree with.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 04:01 AM
05-08-2003 04:01 AM
Re: replace disk in mirrored stripeset ?
vgcfgrestore and vgsync worked
This saved my weekend ...
Christian