XFS file system corruption(Return Bad Transaction) kernel - 2.6.34

Eric Sandeen sandeen at sandeen.net
Wed Dec 1 08:55:03 CST 2010


On 12/1/10 1:14 AM, Amit Sahrawat wrote:
> Dear Member,
>  
> I am getting following corruption on XFS formatted disk during a simple copy operation:
> sd 9:0:0:0: Attached scsi removable disk sdc
> sd 9:0:0:0: Attached scsi generic sg2 type 0
> XFS mounting filesystem sdc2
> Starting XFS recovery on filesystem: sdc2 (logdev: internal)
> XFS: xlog_recover_process_data: bad transaction
> XFS: log mount/recovery failed: error 5
> XFS: log mount failed

hm, that's not a simple copy operation, that is a mount failing;
your log appears to be corrupted.

offhand I'm going to blame it on having a write cache enabled
on your drive, and having barriers either off, or not working
properly.

-Eric




More information about the xfs mailing list