- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- disk IO errors connected with disk mirroring opera...
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
03-15-2002 08:58 AM
03-15-2002 08:58 AM
# dd if=/dev/vg00/lvol3 of=/dev/null bs=4096k
dd read error: I/O error
0+1 records in
0+1 records out
#
I am pretty clueless about this box and the OS. If the solution to this issue or further problem definition requires much more than a couple of commands that are pretty much the same on any system I'm going to need detailed instruction. I'm not even sure what info I should pass along to define the issue. If the answer is on the site then I don't know enough to know how to find it, I have tried and I'm coming up dry. General direction and links to detailed docs are great.
Any help I can get is greatly appreciated.
Thanks,
Constance Cate
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 09:10 AM
03-15-2002 09:10 AM
Re: disk IO errors connected with disk mirroring operation
1) # vgdisplay -v vg00
2) # strings /etc/lvmtab
3) # cat /etc/fstab
4) # lvdisplay -v /dev/vg00/lvol3
From 2) you would know which devices are on vg00, and please run these on those devices (for example : c2t2d0)
5) # pvdisplay -v /dev/rdsk/c2t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 09:11 AM
03-15-2002 09:11 AM
Re: disk IO errors connected with disk mirroring operation
# pvdisplay -v /dev/dsk/c2t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 09:12 AM
03-15-2002 09:12 AM
Re: disk IO errors connected with disk mirroring operation
What is the error you getting while doing the mirror ?
Did you check the file system with 'fsck' ?
what is the output of lvdisplay, pvdisplay and vgdisplay ?
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 09:47 AM
03-15-2002 09:47 AM
Re: disk IO errors connected with disk mirroring operation
I did the diag commands and I'm attaching them to this reply.
I did step 4 once for each of the logical volumes that gave me the error.
I did not use the fsck command, I am not famailar with it. (Told ya I'm ignorant ;)
The error when I did the mirror was;
# lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c3t5d0
The newly allocated mirrors are now being synchronized.This operation will
take some time. Please wait ....
lvextend: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
lvextend: Couldn't resynchronize logical volume "/dev/vg00/lvol3".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 10:04 AM
03-15-2002 10:04 AM
Re: disk IO errors connected with disk mirroring operation
Check this out:
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=5761bbcf1b841bd82d/screen=ckiDisplayDocument?docId=200000054370930
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 10:13 AM
03-15-2002 10:13 AM
Re: disk IO errors connected with disk mirroring operation
Place a hardware call with HP and have them replace the drive.
Your mirroring should then succeed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 10:18 AM
03-15-2002 10:18 AM
Re: disk IO errors connected with disk mirroring operation
Run STM or dd command on /dev/dsk/c3t5d0 and check for any hardware errors:
# stm
# dd if=/dev/rdsk/c3t5d0 of=/dev/null
The second disk may have some bad blocks in it. If you found any hardware errors, replace the disk.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 10:22 AM
03-15-2002 10:22 AM
Solution- All lvols are mirrored (c3t6d0 is primary and c3t5d0 is secondary)
- You got 3 stale LVs (lvol3 - /; lvol7 - /usr and lvol10 - /var/opt/OV)
- All of the stale extents are in c3t5d0.
This is what you should do ..
o Shutdwon the system
o Replace c3t5d0 (make sure same model disk and SCSI id)
o Boot up the system all the way to multiuser mode but escape the quorum check.
ISL > hpux -lq
o Then run these to synchronize both disks..
# mkboot -l /dev/rdsk/c3t5d0
# mkboot -a "hpux -lq" /dev/rdsk/c3t5d0
# vgcfgrestore -n vg00 /dev/rdsk/c3t5d0
=> recovers LVM info to disk
# vgchange -a y vg00
=> enables new root disk
# vgsync vg00
=> configure LVs and copies data from primary disk
=> this will take awhile
o You should be good to go ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 10:55 AM
03-15-2002 10:55 AM
Re: disk IO errors connected with disk mirroring operation
Who knew? ;)
NOT what I wanted to hear. I'll try the solution with replacing the disk.
Once I have the hardware in I may post again if I can't figure out from my own research the procedure about the quorum thing.
Thanks for all your help with this.
Constance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 11:10 AM
03-15-2002 11:10 AM
Re: disk IO errors connected with disk mirroring operation
ISL> hpux -lm
and do all your work there too but user would not be able to access the system after you've done with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 11:14 AM
03-15-2002 11:14 AM
Re: disk IO errors connected with disk mirroring operation
Another thing to make sure is that you always have a good full backup of the system and good RECOVERY tapes ( make_tape_recovery ). In case of any failures, you can always restore your system back !
Read man pages of 'hpux' for getting more about the quorum check.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 11:15 AM
03-15-2002 11:15 AM
Re: disk IO errors connected with disk mirroring operation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 11:21 AM
03-15-2002 11:21 AM
Re: disk IO errors connected with disk mirroring operation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 11:23 AM
03-15-2002 11:23 AM
Re: disk IO errors connected with disk mirroring operation
You don't need to "undo" all the things, unless you want to. This won't cause any problems for you. This is just like replacing a bad mirrored root disk.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 11:26 AM
03-15-2002 11:26 AM
Re: disk IO errors connected with disk mirroring operation
Can any of the "bad" from the bad disk move to the good one?
That's why I was gonna un-do the mirror.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 11:37 AM
03-15-2002 11:37 AM
Re: disk IO errors connected with disk mirroring operation
Not a stupid question !
Here you are going to replace the disk, from which you got errors while mirroring. So there is no chance that the mirror HDD ( second one) is currupting the primary HDD. The data will be synchronized after the mirroring is successfully done.
Another thing is, if your HDD has a currupted file/block ( by any chance ), undo mirroring will not store the original data back to the disk. If some thing happen like this, you have to restore the file from backup.
HTH,
Shiju