Delay in folder access

Daniel L. Miller dmiller at amfes.com
Mon Jul 23 12:44:12 CDT 2012


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



More information about the xfs mailing list