- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- System Administration
- >
- Re: Problem: dd: reading `/dev/cciss/c0d0': Input/...
-
- Forums
-
Blogs
- Hybrid Cloud
- Edge
- Data & AI
- Working in Tech
- AI Insights
- Alliances
- Around the Storage Block
- Behind the scenes at Labs
- Careers in Tech
- HPE Storage Tech Insiders
- Inspiring Progress
- IoT at the Edge
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Russia
- HPE Blog, UK & Ireland
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-10-2009 03:00 AM
01-10-2009 03:00 AM
My plan was to "DD" everything to a remote 1TB server, swap in the new drives, "DD" everything back, then "expand" the EXT3 partition to use all the 300g space, and restart my server.
However...
# dd if=/dev/cciss/c0d0 bs=655360 | gzip | ssh root@10.0.0.7 'cat >dd_drive_clone_backup.gz'
Password:
dd: reading `/dev/cciss/c0d0': Input/output error
3387+1 records in
3387+1 records out
The copy aborts on an I/O error. This is inconceivable - the server is running fine, and has 2 drives in RAID0 - it's not possible that both drives have failed on the exact same sectors - what's going on?
How do I get all my data off one or both of these drives?
I did try, via trial-and-error, to located the place after the I/O problems and continue my backup, but when I join together the 2 bits (padded with NULLs for the unreadable stuff), I get an unbootable result.
Any/all advice greatly appreciated!!!
FYI - the "dd" was performed after booting a "live cd" (systemrescuecd) - I was not attempting to "dd" off an "in use" hard drive, but also note: when the RhelAS4u4 O/S *is* booted off that drive - DD of the problem sectors also gives the I/O errors - this appears to be a logical hardware/firmware issue to me?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-2009 11:42 PM
01-11-2009 11:42 PM
SolutionRAID 0 joins two or more drives to maximize capacity and performance *at the expense of fault-tolerance*. As the data is striped across the disks, loss of one disk means all data is destroyed. Never use RAID 0 without a good backup strategy, unless the data you're storing is easy to recover from elsewhere.
RAID 0 works by splitting the data into "stripes". In a two-disk RAID 0 system, odd-numbered stripes are stored on one disk and even-numbered on another. A typical stripe size might be something on the order of 4 kilobytes.
RAID 0 tends to magnify the size of disk errors by the amount of disks it has: if one of the disks develops a 10-megabyte failed zone, in a two-disk RAID 0 it means a total of 20 megabytes of data has been corrupted: half of the stripes in that area will be good data from one disk, the rest will be corrupted data from the other disk. If one of the disks is totally lost, _every_ file that is larger than the stripe size is guaranteed to have parts missing.
Worse yet, this shotgun damage effect will increase the possibility that your filesystem metadata will be seriously damaged, making it hard to *find* any files from the disk.
MK
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-11-2009 11:51 PM
01-11-2009 11:51 PM
Re: Problem: dd: reading `/dev/cciss/c0d0': Input/output error - on *mirrored* RAID (DL360g4p Linux AS4)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-15-2009 04:00 AM
01-15-2009 04:00 AM
Re: Problem: dd: reading `/dev/cciss/c0d0': Input/output error - on *mirrored* RAID (DL360g4p Linux AS4)
hpacucli controller all show config detail
If the hpacucli tool is not installed and you cannot install it, reboot the system and press F8 when the SmartArray controller is spinning up the disks. You'll get to the SmartArray BIOS. Use it to view the state of the physical drives to get more facts about the state of your disks.
The hpacucli tool is available from http://www.hp.com/support on the downloads page for your server model & OS combination.
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=15351&prodSeriesId=397638&prodNameId=3288140&swEnvOID=2025&swLang=8&mode=2&taskId=135&swItem=MTX-673eb0ec605b4a2bac35ebb18c
MK
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-16-2009 10:40 AM
01-16-2009 10:40 AM
Re: Problem: dd: reading `/dev/cciss/c0d0': Input/output error - on *mirrored* RAID (DL360g4p Linux AS4)
You may be able to just replace one drive and get the controller to rebuild the array using the new larger drive. Then after the rebuild completed you would swap the other drive for a larger one. One more rebuild and you would have two drives with lots of spare space.
I haven't ever attempted that. But the concept is tempting.
The "Configuring Arrays on HP Smart Array Controllers Reference Guide" also has directions on how to split a raid 1 array in offline mode. Then you could replace one disk and expand the array to include the second drive. That seems more conservative, as it turns one drive into a clean backup copy instead of just unplugging it.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-16-2009 02:41 PM
01-16-2009 02:41 PM
Re: Problem: dd: reading `/dev/cciss/c0d0': Input/output error - on *mirrored* RAID (DL360g4p Linux AS4)
I love the auto-rebuild idea - I'll try that today and see how I go!
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP