public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* reducing imaxpct on linux
@ 2010-11-12 11:25 CZEH, Istvan
  2010-11-12 13:01 ` Michael Monnerie
  0 siblings, 1 reply; 5+ messages in thread
From: CZEH, Istvan @ 2010-11-12 11:25 UTC (permalink / raw)
  To: xfs


Hi,

I have a 34TB xfs partition. First time we were run out of the space I
thought that the reason was that the fs was not mounted with inode64
option. So I unmounted the fs and mounted again with inode64 mount
option. (Before I did that I deleted some files because I needed a quick
solution, even if it was temporary.) I also moved the oldest files away
and back as the XFS FAQ suggests. A few days ago the "No space left on
device" message appeared again, but the free space shown by df is still
about 9TB and df -i shows that only 1% of inodes is uses. 

When the file system was created it was much smaller and it was created
with the default maxpct value which is 25%. Now that the size is 34TBs,
the 25% seems to be too big, we run out of the space. The actual inode
usage is about 1% so I decided to reduce maxpct to 5%.

I made a test on a 5GB fs, and it was successful with 'xfs_growfs -m
5 /dev/sdb1' but I'm still worrying about the result in the production
environment. Also, the production system is using LVM, the test was
using native disk.

What could happen if I reduce imaxpct? Is it safe or painful? 
What is really a chance that the 25% value is causing the error?

thanks very much,

Istvan




_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-13 15:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-12 11:25 reducing imaxpct on linux CZEH, Istvan
2010-11-12 13:01 ` Michael Monnerie
     [not found]   ` <1289571841.20961.44.camel@sekli>
2010-11-12 15:18     ` Michael Monnerie
2010-11-12 22:42       ` Eric Sandeen
2010-11-13 15:06         ` Michael Monnerie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox