xfs
[Top] [All Lists]

Re: lost xfs filesystem on md0

To: james rich <james.rich@xxxxxxxxxxxxx>
Subject: Re: lost xfs filesystem on md0
From: Utz Lehmann <ulehmann@xxxxxxxxxxxxxx>
Date: Fri, 31 Aug 2001 13:46:26 +0200
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <Pine.GSO.4.05.10108310046050.21988-100000@xxxxxxxxxxxxxxxxxxx>; from james.rich@xxxxxxxxxxxxx on Fri, Aug 31, 2001 at 12:50:22AM -0600
References: <Pine.GSO.4.05.10108310046050.21988-100000@xxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
Hi

Some disks dont reallocate badblocks interally on reads by default.

Could you check ARRE (Auto Read Reallocation Enbld) is enabled (1):

donner:/root # scsiinfo -a /dev/sda | grep ARRE
 Scsiinfo version 1.7(eowmob)
ARRE                               1



If its disabled (0) try enable it with scsi-config (a tcl/tk gui for
scsiinfo). And run xfs_check/xfs_repair on the filesystem.


And look at the growndefect list with scsiinfo. If its huge, you should
replace the drive asap.


hope that helps

utz


james rich [james.rich@xxxxxxxxxxxxx] wrote:
> Hi folks,
>       I've got two old SCSI disks configured in a raid0 setup on
> /dev/md0.  I had an unplanned power loss and now I get the following error
> message:
> 
> scsi0: ERROR on channel 0, id 6, lun 0, CDB: Read (10) 00 00 00 00 38 00
> 00 08 00 
> Info fld=0x3f, Current sd08:21: sense key Medium Error
>  I/O error: dev 08:21, sector 31
> I/O error in filesystem ("md(9,0)") meta-data dev 0x900 block 0x30:
>     xfs_trans_read_buf
> 
> The filesystem completes the mount process but no files show up
> (/var/spool is gone now :( ).  Does the above error indicate an error with
> hardware or with xfs?  In either case, is there some way to recover the
> contents of /dev/md0?
> 
> James Rich
> james.rich@xxxxxxxxxxxxx


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