- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- IO errors during dd of LV, but no PV IO errors
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
07-29-2004 02:01 AM
07-29-2004 02:01 AM
IO errors during dd of LV, but no PV IO errors
dd if=/dev/vgora_data/rlvora_data05 of=/dev/null bs=4096k
192+0 records in
192+0 records out
So it bombs out at extent 192.
I then ran 'dd' against the PV that this LV resides on and I was able to successfully read the entire PV without any IO errors.
I have EMC looking at the array (DMX1000) for anything. Perhaps something having to do with Bad Block Relocation. (This LV was set with '-r N' as per EMCs latest recommendations).
Any ideas what else to look at or sugguestions for recovery?
Environment info:
- nPar on SD32000 (HP-UX 11.11)
- attached to storage via SAN
- EMC DMX1000 (32Gb Meta device)
- Custom patch bundle current as of April
Thanks,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2004 02:06 AM
07-29-2004 02:06 AM
Re: IO errors during dd of LV, but no PV IO errors
You say it's stopping at extend 192, however you're copying blocks of 4Mb (4096kb), which clearly isn't your oracle block size. I suspect you have a 4k oracle block size, and you're actually copying 196608 extents...
What is the return code from the dd command? (echo $? after the dd finishes).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2004 02:24 AM
07-29-2004 02:24 AM
Re: IO errors during dd of LV, but no PV IO errors
Sorry, I forgot one line of the output. It should have been:
# dd if=/dev/vgora_data/rlvora_data05 of=/dev/null bs=4096k
dd read error: I/O error
192+0 records in
192+0 records out
# echo $?
2
By extents I of course mean PV extents which are 4Mb (4096k). This is a 4Gb LV so I'm not getting through much of it. I originally ran the 'dd' using a block size of 4k to match Oracle's block size, but that takes a long time so I did not rerun at that block size. I have since tried 64k as well. The error is the same only its now:
12292+0 records in
12292+0 records out
12292*64=786688
This is about the same as where its stopping using the 4096k block size (192*4096=786432).
Thanks,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2004 02:44 AM
07-29-2004 02:44 AM
Re: IO errors during dd of LV, but no PV IO errors
"-r N" is fine, and should be used on arrays like EMC/XP etc, since the array has it's own bad block allocation.
Does EMS show up anything? (check syslog for EMS errors). Have you tried exercising the disk in stm? Presumably you've checked dmesg etc for errors.
Seems odd that it works from the disk, but not the LV though? Perhaps there is an lvm patch somewhere that you don't have installed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2004 02:47 AM
07-29-2004 02:47 AM
Re: IO errors during dd of LV, but no PV IO errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2004 04:45 AM
07-29-2004 04:45 AM
Re: IO errors during dd of LV, but no PV IO errors
As I had stated in my original post, I was able to run full 'dd' on the PVs that this LV exists on. I went back and ran another 'dd' on each drive in the volume group.
Example of one drive:
# dd if=/dev/rdsk/c3t2d7 of=/dev/null bs=1024k
34526+1 records in
34526+1 records out
# echo $?
0
Note: These are EMC meta devices and 'diskinfo' shows them to be 35354880 Kb (34526.25 Mb) in size.
So it appears that there may be a problem with the LVM structures. Any sugguestions on recovering from this?
Thanks,
David