- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirrored Disk Failing
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
04-15-2004 06:37 AM
04-15-2004 06:37 AM
I have a disk failing in a SC10 mirrored configuration. It is the primary disk not the mirror. It is part of a 3 disk VG. c0t13d0 is the failing disk and c4t14d0 is the mirror. The error I am receiving is:
INFORMATIONAL(RC) - 3:33 AM, 04/12/04 - Pdev 0/0/1/0.13.0:OEM(773)
DMVS18DIBM:SCSI disk drive has correctable errors : Type 2: Occurrences 27
The process I'm intending to use is the following:
-vgcfgbackup -f /tmp/vg01.bu vg01
-replace the disk (hot swappable)
-vgcfgrestore -n /dev/vg01 /dev/rdsk/c0t13d0
-vgchange -a y /dev/vg01
-vgsync /dev/vg01
I believe this should work. The person who built the system keeps telling me the LV's are mirrored and not the disks specifically. If this is the case would the above process still work with adding an lvsync for each LV located on the primary disk?
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 06:41 AM
04-15-2004 06:41 AM
SolutionIf your VG/LV is mirrored, Im not sure what your adivsor is saying about the disks not being mirrored... The disks mirror each other in the LVOL/VG.
You should be fine with what you have... however, I would umount the FS if you can and vgchange -an vgXX
If the disk is not truly dead it has a possibility of panicing your box, IF you pull the disk.
do a diskinfo and pvdisplay to see if it is dead or dying... IF only dying, I would deactivatge the VG before pulling the disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 06:47 AM
04-15-2004 06:47 AM
Re: Mirrored Disk Failing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 06:51 AM
04-15-2004 06:51 AM
Re: Mirrored Disk Failing
1) Do a vgdisplay -v /dev/vg01 and note all the LVOL's
2) Do an lvdisplay -v /dev/vg01/lvolx for each LVOL and make sure that every LVOL is mirrored and that every extent on the GOOD mirror is current. You don't want to be in a situation where you have state extents on both disks.
I suppose that you are doing a vgcfgbackup to /tmp just for a bit of extra security. Well, there is probably a cleanup script in init.d that will remove files in /tmp and /var/tmp so you might consider a different location.
3) Yank (gently) the old disk out and let it spin down while still partially in the bay. This will prevent possible further damage.
Now wait two minutes or so until the system knows that this disk is dead before inserting the new disk.
4) Now your procedure is fine beginning with vgcfgrestore. The vgsync can take a few tens of minutes so don't get impatient. The vgsync syncs all the LVOL's in the VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 07:00 AM
04-15-2004 07:00 AM
Re: Mirrored Disk Failing
The steps would work as long as the primary and the mirror copy are on seperate luns. Do a lvdisplay -v for all lvs in the vg to make sure the two copies are on seperate disks. If it is do, doing the steps you have outlined should work.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 07:07 AM
04-15-2004 07:07 AM
Re: Mirrored Disk Failing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 07:19 AM
04-15-2004 07:19 AM
Re: Mirrored Disk Failing
1) Do a vgdisplay -v /dev/vg01 and note all the LVOL's
2) Do an lvdisplay -v /dev/vg01/lvolx for each LVOL and make sure that every LVOL is mirrored and that every extent on the GOOD mirror is current. You don't want to be in a situation where you have state extents on both disks.
My question is do I need to be concerned with the lvols on all disks in the VG or just the ones located on the failing disk?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 07:23 AM
04-15-2004 07:23 AM
Re: Mirrored Disk Failing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2004 04:58 AM
04-19-2004 04:58 AM
Re: Mirrored Disk Failing
Dan