[Top] [All Lists]

Slightly Urgent: XFS No Space Left On Device

To: xfs@xxxxxxxxxxx
Subject: Slightly Urgent: XFS No Space Left On Device
From: Dave Hall <kdhall@xxxxxxxxxxxxxx>
Date: Mon, 30 Mar 2015 14:19:59 -0400
Delivered-to: xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

I have an XFS file system that's getting 'No space left on device' errors. xfs_fsr also complains of 'No space left'. The XFS Info is:

# xfs_info /data
meta-data="" isize=256ÂÂÂ agcount=19, agsize=268435440 blks
dataÂÂÂÂ =ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ bsize=4096ÂÂ blocks=4882431488, imaxpct=5
namingÂÂ =version 2ÂÂÂÂÂÂÂÂÂÂÂÂÂ bsize=4096ÂÂ ascii-ci=0
logÂÂÂÂÂ =internalÂÂÂÂÂÂÂÂÂÂÂÂÂÂ bsize=4096ÂÂ blocks=521728, version=2
ÂÂÂÂÂÂÂÂ =ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ sectsz=512ÂÂ sunit=16 blks, lazy-count=1
realtime =noneÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ extsz=4096ÂÂ blocks=0, rtextents=0

# df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1ÂÂÂÂÂÂÂÂÂÂÂÂÂ 19TÂÂ 12TÂ 7.0TÂ 62% /data
# df -ih .
FilesystemÂÂÂÂÂÂÂÂÂÂÂ InodesÂÂ IUsedÂÂ IFree IUse% Mounted on
/dev/sdb1ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ 3.7GÂÂÂ 4.7MÂÂÂ 3.7GÂÂÂ 1% /data

xfs_db freesp shows that AG 0 seems to be full. I've included the freesp for the first few AGs, but the rest seem pretty consistent with AGs 1 - 4 that I've included below.Â
xfs_db> freesp -s -e 1000000000 -a 0
 from to extents blocks pct
ÂÂÂÂÂ 1 268435440ÂÂÂ 1930ÂÂÂ 3795 100.00
total free extents 1930
total free blocks 3795
average free extent size 1.96632
xfs_db> freesp -s -e 1000000000 -a 1
 from to extents blocks pct
ÂÂÂÂÂ 1 268435440Â 287006 173832255 100.00
total free extents 287006
total free blocks 173832255
average free extent size 605.675
xfs_db> freesp -s -e 1000000000 -a 2
 from to extents blocks pct
ÂÂÂÂÂ 1 268435440Â 272425 94291252 100.00
total free extents 272425
total free blocks 94291252
average free extent size 346.118
xfs_db> freesp -s -e 1000000000 -a 3
 from to extents blocks pct
ÂÂÂÂÂ 1 268435440Â 286421 110208404 100.00
total free extents 286421
total free blocks 110208404
average free extent size 384.778
xfs_db> freesp -s -e 1000000000 -a 4
 from to extents blocks pct
ÂÂÂÂÂ 1 268435440Â 277220 107118347 100.00
total free extents 277220
total free blocks 107118347
average free extent size 386.402
Is there any way to figure out which files/directories are clogging up AG 0? Any other ways to abate this issue? Any way to assure proportional usage of AGs?


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