xfs
[Top] [All Lists]

Re: long hangs when deleting large directories (3.0-rc3)

To: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>
Subject: Re: long hangs when deleting large directories (3.0-rc3)
From: Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx>
Date: Mon, 20 Jun 2011 14:31:32 +0200
Cc: xfs@xxxxxxxxxxx, Dave Chinner <david@xxxxxxxxxxxxx>
Dkim-signature: v=1; a=rsa-sha256; c=simple; d=mail.ud10.udmedia.de; h= date:from:to:cc:subject:message-id:references:mime-version: content-type:in-reply-to; q=dns/txt; s=beta; bh=hAp4Fjw+CYg8u3oe q9FHfNxrc6hOJ8ULQzoa2tUJyDg=; b=NDqsvnkZTLFxyMmmJbY4lCIsyT3e2Ci+ KobhZnRzumYPtsKEP+pETT6qT5TQcN/bkMXyqB8W5hsjOcYv5DkMuC8iBg1bGBs4 jDq6kPxyF6AAVmh7IiGgDCpJgPJqKY9KnVBPvj0PMDqyYia8XhRcMImZdHnkxV5T +Hl3j0L+r18=
In-reply-to: <201106201345.30271@xxxxxx>
References: <20110618141950.GA1685@xxxxxxxxxxxxxx> <20110620060351.GC1730@xxxxxxxxxxxxxx> <20110620111359.GA12632@xxxxxxxxxxxxxx> <201106201345.30271@xxxxxx>
On 2011.06.20 at 13:45 +0200, Michael Monnerie wrote:
> On Montag, 20. Juni 2011 Markus Trippelsdorf wrote:
> > Here are two more examples. The time when the hang occurs is marked
> 
> Could it be that some sectors on the disk are not easy to read for the 
> drive, and that it simply retries several times until it works again? 
> SATA disks can show that behaviour. You could try with "dd" with 
> seek/skip parameters so you read 1gb at once, then skip 1gb and read 1gb 
> again etc, and compare the throughput over all 1gb areas. If there's one 
> slower, that might be the problem.
> 
> Maybe a check with "smartctl" could help, too.

Thanks for the hint, Michael. I've just checked the SMART status on
both disks and the 4kb drive looks indeed suspicious:

197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       
-       8
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      
-       8

The 512 byte drive appears to be fine. But I'm running the long
SMART self test on both of them right now and will report back
the result in a few hours.

-- 
Markus

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