Find the answer to your Linux question:
Results 1 to 4 of 4
Hi all! I sat there yesterday on my computer, and watched some old pictures, and while i listened to my music... the whole thing just freezed. I booted up my ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    2

    XFS: recovery failed/IO error :(


    Hi all!

    I sat there yesterday on my computer, and watched some old pictures, and while i listened to my music... the whole thing just freezed. I booted up my gentoo livecd and tried to mount my partition (after it would'nt boot ofcourse) but got the following message:

    livecd root # mount /dev/sda4 /mnt/gentoo
    XFS mounting filesystem sda4
    Starting XFS recovery on filesystem: sda4 (dev: sda4)
    ata2: status=0x51 { DriveReady SeekComplete Error }
    ata2: error=0x40 { UncorrectableError }
    ata2: status=0x51 { DriveReady SeekComplete Error }
    ata2: error=0x40 { UncorrectableError }
    ata2: status=0x51 { DriveReady SeekComplete Error }
    ata2: error=0x40 { UncorrectableError }
    ata2: status=0x51 { DriveReady SeekComplete Error }
    ata2: error=0x40 { UncorrectableError }
    ata2: status=0x51 { DriveReady SeekComplete Error }
    ata2: error=0x40 { UncorrectableError }
    end_request: I/O error, dev sda, sector 260726858
    I/O error in filesystem ("sda4") meta-data dev sda4 block 0x3172a02
    ("xlog_recover_do..(read#1)") error 5 buf count 512
    XFS: log mount/recovery failed: error 5
    XFS: log mount failed
    mount: /dev/sda4: can't read superblock

    Uh-oh.

    To read more logs: http://heim.olemartin.org/logs/

    Anyone know how to fix this without trashing my harddrive?

    Thanx!

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    While booting from your Gentoo Live CD, keep your partitions unmounted and use the following utilities to check and repair your XFS partitions : xfs_check and xfs_repair.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Just Joined!
    Join Date
    Oct 2006
    Posts
    2
    i tried xfs_repair, if you read the logs, you'll see that. no go. what to do next? reformat the harddrive and start a backup routine?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Quote Originally Posted by regavoga
    i tried xfs_repair, if you read the logs, you'll see that. no go. what to do next?
    Well, sorry I didn't take a look... And what about xfs_check ? Does it says anything usefull ?

    Perhaps something is physically wrong with this drive. Did you have any problem in the past ?

    Quote Originally Posted by regavoga
    reformat the harddrive and start a backup routine?
    Maybe someone else here has other ideas, but personaly I just strated using XFS and don't have much experience with it.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

Posting Permissions

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