Find the answer to your Linux question:
Results 1 to 3 of 3
i'm trying to clone 2 raid sets using dd.( have done this successfully many times in the past) this time however running into issues. dd stops with a 'input/output error' ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    60

    Question input / output erro when cloning


    i'm trying to clone 2 raid sets using dd.( have done this successfully many times in the past)
    this time however running into issues.

    dd stops with a
    'input/output error'
    dmesg shows

    cciss: cmd f7300000 has CHECK CONDITION sense key = 0x3
    end_request: I/O error, dev cciss/c0d0, sector 31083240
    cciss: cmd f7300000 has CHECK CONDITION sense key = 0x3
    end_request: I/O error, dev cciss/c0d0, sector 31083240
    a little above this i find
    Filesystem "cciss/c0d0": Disabling barriers, trial barrier write failed
    XFS mounting filesystem cciss/c0d0
    XFS: log has mismatched uuid - can't recover
    XFS: failed to find log head
    Background:
    this is a proliant sevrer & has got XFS filesystem on it.
    Last weeek it showed some XFS errors, tried to do a repair but didnt work.So thought would clone the raid set from a good 'source' server. ( we need this for a test purpose )

    before cloning I deleted raid & created again. everything looked OK, all disks showed as GOOD ,
    but then the dd copy failed with above msg
    I'm sure the source raid set is in good condition. Any thoughts on what could be wrong here & how I may be able to recover it?

    Thanks in advance
    David

  2. #2
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    Have you tried with the noerror flag on `dd`?

    That should force it to continue after read errors...
    Can't tell an OS by it's GUI

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,677
    When creating your raid, did you perform a badblock check on the drives?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •