xfs
[Top] [All Lists]

Re: advice for repair after IO error on raid device

To: xfs@xxxxxxxxxxx
Subject: Re: advice for repair after IO error on raid device
From: Roel van Meer <rolek@xxxxxxxxxx>
Date: Tue, 22 Jun 2010 16:53:32 +0200
References: <cone.1277217402.916517.87295.1001@xxxxxxxxxxxxx>
Roel van Meer writes:

Currently I have unmounted the filesystem, replaced the failed disk and rebuilt the raid array. I am upgrading xfstools to their latest version (the current version is 2.9.8). Any hints on how to continue would be highly appreciated.

Trying to answer my own question. I _think_ this is the way to go:

1) Mount and unmount the fs, in order to replay the log.
2) Run xfs_repair -n
3) Run xfs_repair

If someone could confirm (or reject) that, that would be great.

(By the way, is it necessary to run xfs_repair with -n first? If not, are there advantages that would justify the extra time it takes?)

Thanks again,

roel


Jun 21 23:23:59 backup2 kernel: arcmsr6: abort device command of scsi id = 0 
lun = 0
Jun 21 23:24:10 backup2 kernel: arcmsr6: ccb 
='0xffff8800cb88ad40'????????????????????????????? isr got aborted command
Jun 21 23:24:10 backup2 kernel: arcmsr6: isr get an illegal ccb 
command???????????????????????????????? done acb = '0xffff880231c90408'ccb = 
'0xffff8800cb88ad40' ccbacb = '0xffff880231c90408' startdone = 0x0 
ccboutstandingcount = 1
Jun 21 23:24:10 backup2 kernel: sd 6:0:0:0: [sdb] Unhandled error code
Jun 21 23:24:10 backup2 kernel: sd 6:0:0:0: [sdb] Result: hostbyte=DID_ABORT 
driverbyte=DRIVER_OK
Jun 21 23:24:10 backup2 kernel: end_request: I/O error, dev sdb, sector 
12887056410
Jun 21 23:24:10 backup2 kernel: I/O error in filesystem ("sdb1") meta-data dev sdb1 block 
0x30020dff8?????? ("xfs_trans_read_buf") error 5 buf count 4096
Jun 21 23:24:10 backup2 kernel: xfs_force_shutdown(sdb1,0x1) called from line 
414 of file fs/xfs/xfs_trans_buf.c.? Return address = 0xffffffffa0168eaf
Jun 21 23:24:10 backup2 kernel: xfs_force_shutdown(sdb1,0x2) called from line 
811 of file fs/xfs/xfs_log.c.? Return address = 0xffffffffa015c35f
Jun 21 23:24:10 backup2 kernel: Filesystem "sdb1": I/O Error Detected.? 
Shutting down filesystem: sdb1
Jun 21 23:24:10 backup2 kernel: Please umount the filesystem, and rectify the 
problem(s)
Jun 21 23:24:20 backup2 kernel: Filesystem "sdb1": xfs_log_force: error 5 
returned.
Jun 21 23:24:50 backup2 kernel: Filesystem "sdb1": xfs_log_force: error 5 
returned.
Jun 21 23:25:20 backup2 kernel: Filesystem "sdb1": xfs_log_force: error 5 
returned.

<Prev in Thread] Current Thread [Next in Thread>