[Top] [All Lists]

Re: xfs I/O error

To: Rekrutacja119 <rekrutacja119@xxxxxxxxx>, xfs@xxxxxxxxxxx
Subject: Re: xfs I/O error
From: Rekrutacja119 <rekrutacja119@xxxxxxxxx>
Date: Sun, 24 Feb 2008 12:52:38 +0100
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=TRedQs4eUAChk5Rtb0SA9oNAWO/+SMn4AapXAEx5aNo=; b=cBEu92i64ZZ5waYBHBdbYwsvKtC8tGCKpH2bnZ7sfHeCIK6C5f25B2VkupHoTzY7FeQBz2WLvrtbhZcNFSQ+78THx4AION5PZ6CiYEVjSoakoWRgoF/EqtsGvpX/dj4/O9SGXGcpTXCq7CrZtJaMeWltEpBVcyPdPL+9ODMVBsE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=WQwtzEHpvy5CPGO9+LrJzKTmtYhuYuPbh0Loz48tnpsn2oIs5MWqVbIiNlHw2OcijaWILTxsCzz9UoqsP8QJVd7Q3IFtFmT9Rm71fu1SA/hkF+fX4pGvQMY8kjcudC+BAiA5IFHzjp+jSDkQfcvl3KptRbNXNECjJD3yoErdt3U=
In-reply-to: <20080224090106.GD27124@xxxxxxxxxxxxxxxxx>
References: <2db2c6b80802231346r78d59381j49927e15f40e7ef8@xxxxxxxxxxxxxx> <20080223220818.GC27124@xxxxxxxxxxxxxxxxx> <2db2c6b80802231414m38f70795n7f24fea1a40195df@xxxxxxxxxxxxxx> <20080224090106.GD27124@xxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
smartctl -t offline is i think scheduling a SMART test

i will try what you say, but there is no way to force XFS to not unmount
filesystem if it finds out I/O error?

also, i didnt edit any info, it was just all i got from messages log

2008/2/24, Iustin Pop <iusty@xxxxxxxxx>:
> On Sat, Feb 23, 2008 at 11:14:32PM +0100, Rekrutacja119 wrote:
> > so i should use the list i got from badblocks with dd but with bs=1024?
> are
> > you sure? i'm not sure what is my block size, but xfs_info says this:
> the block size of the filesystem has no relation to the block size
> badblocks uses in checking the block device.
> >
> [...]
> >
> > i think i made it with 4K stack size ... well anyways, i should use the
> list
> > i got earlier and just try dd but with bs=1024... ? don't want to erase
> more
> > than i have to. (i want to do it so i can smartctl -t offline /dev/sdb
> then,
> > so maybe it will somehow see that these blocks are broken and mark them)
> I don't understand what do you want to do with smartctl at all. How
> would offlining the disk would help?
> Again, I would:
>   - take the block list given by badblocks
>   - verify that each block can't be read  first via dd if=/dev/...
>     of=/dev/null bs=1024 count=1 seek=NUMBER_FROM_BADBLOCK
>   - if confirmed that you got the right 'bad' blocks, use that for dd
>     with bs=1024 to write zeroes over them
> As Eric confirmed, you probably already destroyed some good data on the
> drive.
> regards,
> iustin

[[HTML alternate version deleted]]

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