- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- need to replace bad disk in mirror
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-28-2008 04:07 AM
тАО08-28-2008 04:07 AM
I'm running on a rx4640 at 11.23 with all patches installed.
I've been giving a setup that I've not worked with before and it has a bad disk. This is not a system disk.
I have a scsi shelf containing the max of 14 disks. 7 of those disks are mirrored to the other 7. One of the disks is bad. LV status shows available/stale. Thirteen of the disks show up in the Physical volumes list but not the bad one. A listing of Logical extents gives me 2168 lines of
"23868 ??? 02168 stale /dev/dsk/c5t4d0 02168 current"
where the rest of the 25000 lines are currenet/current. So my question is, do I have to remove the mirror before I can replace the one disk or is the disk hot swappable? Or is there anything else I can do? I do not have any slots in which to place another disk prior to the replacement. I also get no response from the bad disk at all.
Thanks,
Bill
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 04:10 AM
тАО08-28-2008 04:10 AM
Re: need to replace bad disk in mirror
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
It will tell you how to do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 04:16 AM
тАО08-28-2008 04:16 AM
Re: need to replace bad disk in mirror
before inserting a new disk take the o/p of
#ioscan -fnC disk
Also look in to /etc/lvmtab
That will easy to u after replacing the disk whether its detected or not
Regards
Atul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 04:40 AM
тАО08-28-2008 04:40 AM
Re: need to replace bad disk in mirror
You can replace the disk & do a vgcfgrestore. But go through the document which TTR has pointed to. Its a very good document & will give you pretty good insights on how to go about it.
Regards,
Vihang.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 04:42 AM
тАО08-28-2008 04:42 AM
Re: need to replace bad disk in mirror
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 04:59 AM
тАО08-28-2008 04:59 AM
Re: need to replace bad disk in mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 05:06 AM
тАО08-28-2008 05:06 AM
Re: need to replace bad disk in mirror
Can you confirm if disk (14) are mirrored at storage box level or at OS level.
IF at storage box level then procedure will differ here!!
If at OS level then we will use different steps!!
provide vgdisplay -v vg_name
#lvdisplay /dev/vg_name/lv_name |grep mirror
#lvdisplay -v /dev/vg_name/any_lv_name |tail -9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 05:21 AM
тАО08-28-2008 05:21 AM
Re: need to replace bad disk in mirror
This shows that there is a missing disk that was part of LVM mirroring. The 3 questionmarks above are in place of the missing disk device. The c5t4d0 is the good disk remaining in the mirror setup.
The disk should be hot pluggable. You did not say what kind of enclosure it is but everything nowadays is hot pluggable at least.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 05:49 AM
тАО08-28-2008 05:49 AM
Re: need to replace bad disk in mirror
If I understand you correctly, I can just remove the dead disk and insert a new one. At that point I'll need to determine if OLR is installed or not on the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 05:54 AM
тАО08-28-2008 05:54 AM
Re: need to replace bad disk in mirror
Because you are running 11.23 I assume you have.
man pvchange
if the "-a" option is listed, OLR is available.
You *must* use
pvchange -a n ...
in order to replace the disk, otherwise the vgcfgrestore will not work!
Just follow the well known manual...
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!