inode Archives - AWS Managed Services by Anchor

100% FAT-free

By | Technical | No Comments

I wrote some documentation for our sysadmins last week detailing how one should deal with a critical diskspace notification at some ungodly hour of the morning. On the specifics of checking filesystems with the df tool: “Astute readers will notice that we don’t query btrfs filesystems here; this is because btrfs uses extents, and inodes are a non-issue.” Well, I wasn’t entirely wrong, but I wasn’t entirely right either. btrfs is a modern filesystem with lots of shiny new features. It’s definitely not production-ready yet, but like a magpie drawn to shiny things, a couple of us use btrfs on our own machines (it’s what backups are for, right?). Some time ago I wrote about how an ext filesystem can run out of free inodes and bite you. That happened…

Read More

Inode shortage reaches critical levels

By | Technical | One Comment

A customer got in touch with us recently saying they couldn’t upload files via FTP due to insufficient diskspace, but there was plenty of free space apparent when they logged in and checked. We don’t normally manage their server, but we said we’d take a look. [email protected]:~# touch /srv/www/newfile touch: cannot touch `/srv/www/newfile’: No space left on device After logging in and taking a look around, the problem became apparent. [email protected]:~# df -h Filesystem                Size  Used Avail Use% Mounted on /dev/mapper/nayuki-root  1016M  536M  429M  56% / /dev/mapper/nayuki-usr    4.0G  1.3G  2.6G  34% /usr /dev/mapper/nayuki-var    4.0G  1.3G  2.6G  33% /var /dev/mapper/nayuki-www     50G   41G  6.4G  87% /srv/www There’s plenty of disk space… [email protected]:~# df -i Filesystem                Inodes   IUsed   IFree IUse% Mounted on /dev/mapper/nayuki-root    65536    7244   58292   12% / /dev/mapper/nayuki-usr    262144   96830  165314   37%…

Read More