[Top] [All Lists]

Re: free inodes remaining in 1tb

To: xfs@xxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
Subject: Re: free inodes remaining in 1tb
From: Carlos Maiolino <cmaiolino@xxxxxxxxxx>
Date: Thu, 26 Sep 2013 20:03:45 -0300
Delivered-to: linux-xfs@xxxxxxxxxxx
In-reply-to: <44qehaxod8.ln2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Mail-followup-to: xfs@xxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
References: <44qehaxod8.ln2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Sep 26, 2013 at 03:47:00PM -0700, Keith Keller wrote:
> Hi all,
> I "recently" (a few months ago) came across the inode64 entries in the
> XFS FAQ.  Unfortunately, I have a filesystem not mounted with inode64,
> and I would like to know how many more inodes I can create in the
> first 1TB before I run out, 

The maximum amount of the filesystem that can be used by inodes (by default)

25% for filesystems  under  1TB,  5% for  filesystems  under 50TB and 1% for
filesystems over 50TB.

>so that I can plan for a migration to
> inode64 (if it's very few, I would make it a high priority; if not, it
> can be done in a few weeks instead, for example).  Is there an easy
> way (or even a hard way) to query the filesystem for this information?

inode64 is a remountable option now (if you're using a relatively recent
kernel), so you don't need to umount and remount it.

> I also wanted to ask about the FAQ that says you can switch back from
> inode64 to inode32.  How does that work if an inode is created past the
> 1TB mark?  How would the kernel know how to find an inode64 inode that
> was created beyond the 1TB mark if the filesystem is subsequentely
> mounted without inode64?
inode32 option only dictates where the filesystem will create next inodes, not
where it will search for already created inodes.

bear in mind though that are some applications that can't read 64bit inodes.

> Thanks,
> --keith
> -- 
> kkeller@xxxxxxxxxxxxxxxxxxxxxxxxxx
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs


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