- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Replacing mirrored data disks
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
11-30-2004 03:11 AM
11-30-2004 03:11 AM
(1) Remove faulty disk
(2) Replace with New Disk
(3) Make Drive ONLINE using 'irm'
(4) vgcfgrestore -n
(5) vgchange -a y
(6) vgsync
Does this sound OK?
Do I need to do a vg/lvreduce before I remove the faulty disk? Is this necessary based on the fact that the disk does not appear in ioscan as NO_HW, because it is part of a 3 disk array, the logical drive is still CLAIMED. I guess this is because the RAID card handles the fact that the disk has failed.
Any thoughts?
Many Thanks in advance for any help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 03:18 AM
11-30-2004 03:18 AM
Re: Replacing mirrored data disks
here what i should do if I were you:
1. Remove faulty disk
2. Replace with new disk
3. ioscan -fnC disk
4. insf -e
5. pvcreate -f /dev/rdsk/c?t?d?
6. vgcfgrestore -n
7. vgchange -a y
8. vgsync
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 03:21 AM
11-30-2004 03:21 AM
Re: Replacing mirrored data disks
I've neer heard of step 3. insf -C should get the disk ready.
You may need to run pvcreate on it, but vgcfgrestore might handle it.
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
11-30-2004 03:21 AM
11-30-2004 03:21 AM
Re: Replacing mirrored data disks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2004 07:07 AM
11-30-2004 07:07 AM
Solution1) If the disk is completely "dead", such as if you run ioscan and status is "no_hw" then you can hot swap the disk online.
2) However in circumstances where the disk has not fully failed please do one of the following to avoid data corruption :
a) reduce mirror before replacing the disk
b) deactivate VG before replacing the disk
c) shutdown system to replace the disk
I needed to do step 2 - but didn't know - tried to hot swap the disk - and my swap got corrupted - had to go to single user mode to repair...
Rgds...Geoff