xfs
[Top] [All Lists]

Re: Delay in folder access

To: xfs@xxxxxxxxxxx
Subject: Re: Delay in folder access
From: "Daniel L. Miller" <dmiller@xxxxxxxxx>
Date: Mon, 23 Jul 2012 10:44:12 -0700
In-reply-to: <500D2731.5050004@xxxxxxxxxxxxxxxxx>
References: <500CEF4B.8020400@xxxxxxxxx> <500D2731.5050004@xxxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
On 7/23/2012 3:28 AM, Stan Hoeppner wrote:
On 7/23/2012 1:29 AM, Daniel L. Miller wrote:
I have an XFS partition on simple 4-disk RAID-10 array.  The array is
mounted at /raid.  I have a variety of subfolders - one of which is
/raid/data - which in turn has a number of subfolders.

Doing a simple "ls /raid" has no problems.  Similarly, no issues with
"ls /raid/data/stuff".  But ... executing "ls /raid/data" results in a
delay, sometimes in minutes, before it returns.
How many files are in /raid/data, excluding subdirs?  If it's many tens
of thousands ls will be slow, but I'd not think multiple minutes worth
of slow.
0 files, 7 subdirs, 1 symlink


Please post output of 'df /raid'
df /raid
Filesystem     1K-blocks      Used Available Use% Mounted on
/dev/md0       312516096 215009428  97506668  69% /raid


Likewise, 'xfs_db -c frag /dev/[device] -r'
xfs_db -c frag /dev/md0 -r
actual 282381, ideal 243258, fragmentation factor 13.85%

--
Daniel

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