- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirror hdd
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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
06-07-2007 10:05 AM
06-07-2007 10:05 AM
Mirror hdd
volume group -- vg01
volume name --- lvol3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2007 10:09 AM
06-07-2007 10:09 AM
Re: Mirror hdd
1) Replace the drive
2) Run vgcfgrestore to put the configuration on the new drive.
# vgcfgrestore -n /dev/vg01 /dev/rdsk/c1t1d0
3) (Re)Activate the VG so the new drive becomes active
# vgchange -a y /dev/vg01
4) Synchronize your mirrors
# vgsync /dev/vg01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2007 10:11 AM
06-07-2007 10:11 AM
Re: Mirror hdd
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2007 10:13 AM
06-07-2007 10:13 AM
Re: Mirror hdd
I'll assume your bad disk is /dev/dsk/c1t5d0. If this is a hot-plug disk, you don't need to shutdown.
1) Pull the failed disk out a few centimeters and allow it to spin down. Wait about a minute and then remove it completely from its slot.
2) Insert the replacement disk.
3) vgcfgrestore -n /dev/vg01 /dev/rdsk/c1t5d0
4) vgchange -a y /dev/vg01
5) vgsync /dev/vg01 # this make take a few tens of minutes.
NOTE: LVM Disks are not mirrored; LVOL's are mirrored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2007 04:08 PM
06-07-2007 04:08 PM
Re: Mirror hdd
To list and verify the config file
adedd11n:root [/root] vgcfgrestore -n /dev/vg00 -l
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
---- Physical volumes : 2 ----
/dev/rdsk/c0t0d0 (Bootable)
/dev/rdsk/c3t0d0 (Bootable)
mkboot /dev/rdsk/c0t0d0
mkboot -b /usr/lib/uxbootlf /dev/dsk/c0t0d0
Pvchange -a n /dev/dsk/c0t0d0
vgcfgrestore -F -n vg00 /dev/rdsk/c0t0d0
Pvchange -a y /dev/dsk/c0t0d0
vgchange -a y vg00
vgsync vg00
lvlnboot -R
for lif_comp in `lifls /dev/dsk/c3t0d0`
do
/usr/bin/lifcp /dev/dsk/c3t0d0:${lif_comp} /dev/dsk/c0t0d0:${lif_comp}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2007 04:15 PM
06-07-2007 04:15 PM
Re: Mirror hdd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 03:39 AM
06-11-2007 03:39 AM
Re: Mirror hdd
disk 6 0/10/0/0.2.0 sdisk CLAIMED DEVICE HP 73.4GST373307LC
/dev/dsk/c4t2d0 /dev/rdsk/c4t2d0
I am going to replace this hdd. and i have mirrored hdd.
PV Name /dev/dsk/c4t2d0
PV Name /dev/dsk/c5t2d0 Alternate Link
PV Status available
Total PE 17499
Free PE 0
Autoswitch On
I think /dev/dsk/c5t2d0 this is mirrored hdd.
according to suggestion
1. i have 20 hdd in disk array hp 2300. how can i find which hdd. let me know
2. then remove Bad hdd
3. installed new hdd
4.vgcfgrestore -n /dev/vg01 /dev/rdsk/c4t2d0
5.(Re)Activate the VG so the new drive becomes active
# vgchange -a y /dev/vg01
6) Synchronize mirrors
# vgsync /dev/vg01
then i can access.
I have data base on that hdd. should i shutdown database also.
let me know today onword.
Thanks in advance.