- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- replacing a H.D in a mirror enviroment
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
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
07-20-2004 12:24 AM
07-20-2004 12:24 AM
Supposing 2 hard disks in e.g vg05 where:
/dev/dsk/c1t4d0 is primary
/dev/dsk/c2t4d0 is mirror
If one of them has gone bad,what is the procedure to follow for reconfiguring a new hard disk.
If it is a long procedure,please give me a link to an online cookbook(or document) where the above case is disccused.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 12:28 AM
07-20-2004 12:28 AM
Re: replacing a H.D in a mirror enviroment
All you have to do is enter " replace mirrored hard drive " in the Search box above...and you will get a plethora of links to and great tips on doing this to pick from !
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 12:29 AM
07-20-2004 12:29 AM
Solution1) Remove the failed disk
2) Insert new disk
3) restore volume group config details
vgcfgrestore -n /dev/vg05 /dev/dsk/c1t4d0
4) activate volume group
vgchange -a y /dev/vg05
5) synchronize disks
vgsync /dev/vg05
While the vgsync is running, you can check the progress using
lvdisplay -v /dev/vg05/lvol* | grep -ic stale
This will give you a count of the stale extents in the VG.
Chris.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 12:31 AM
07-20-2004 12:31 AM
Re: replacing a H.D in a mirror enviroment
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 12:46 AM
07-20-2004 12:46 AM
Re: replacing a H.D in a mirror enviroment
Pls ensure that at least one of the LV into ivolved VG have a "stale" status,
#vgdisplay -v vg[nn]
LV Name /dev/vg[nn]/lvol_name
LV Status available/stale
LV Size (Mbytes) 300
Current LE 75
Allocated PE 150
Used PV 2
To force this situation pull out the disk and refresh the VG info,
#vgchange â a y vg[nn]
The you can see that LV's begining to appear in "stale" status, and "NO HARDWARE" status will be displayed fro the involver device with the command:
#ioscan â fnC disk
After this you can nsert the new disk an wait few seconds to will be reconigzed by the system, to ensure this the status "CLAIMED" will be displayed at the involved device.
Then, we need rebuild the mirror:
#vgcfgrestore -n vg[nn] /dev/rdsk/c[n]t[n]d[n] (must be "rdsk")
Refresh VG info:
#vgchange -a y vg[nn]
Synchronize the VG:
#vgsync vg[nn] &
And check the synchronization progress with:
#pvdisplay -v /dev/dsk/c[n]t[n]d[n]|grep -c stale
Every time that this command is executed it returns an I number that should go descending until arriving to zero.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 01:00 AM
07-20-2004 01:00 AM
Re: replacing a H.D in a mirror enviroment
Pls find attached above procedure without rare chars.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 01:44 AM
07-20-2004 01:44 AM
Re: replacing a H.D in a mirror enviroment
suppose I want to replace both disks with larger ones,how do i go about it?
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 01:50 AM
07-20-2004 01:50 AM
Re: replacing a H.D in a mirror enviroment
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 01:51 AM
07-20-2004 01:51 AM
Re: replacing a H.D in a mirror enviroment
This will allow you to make full use of the larger disks. The default values of a volume group (maximum extents etc) are only set when the VG is created, and are often too low for most modern disks.