K.S. Bhaskar on 28 Sep 2017 07:45:24 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Reclaiming inodes


Might fstransform to transform the filesystem in place to something else (xfs seems to never run out of inodes) be an option?

Regards
-- Bhaskar

On Thu, Sep 28, 2017 at 9:56 AM, brent timothy saner <brent.saner@gmail.com> wrote:
On 09/28/2017 09:48 AM, Thomas Delrue wrote:
>
> I appear to have "run out of inodes"? Is there a way to reclaim them?

nope. well, actually, yes - delete a bunch of files.

if this isn't an option, get yourself a fat external HDD (or mount a
second internal one), mkfs.ext4 it with a higher inode count[0], and
rsync your files there (obviously do this from a livecd, otherwise you
can properly Mess Things Up).

then re-create the filesystem on your (current) / with a higher inode
count. at your current consumption model, i'd guess something around
2205000 inodes should work.

alternatively (ideally), offload your storage for those small files to a
separate disk/partition/filesystem permanently, and make sure that
device has a super high number of inodes.


[0] https://wiki.archlinux.org/index.php/Ext4#Bytes-per-inode_ratio


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug