Tag Info

New answers tagged


The smallest possible allocation size for a file in ext3/ext4 is 0 (none at all) because of inline data: files with sizes smaller than 60 bytes can be stores completely inside the inode itself. Of course, every file, whether it's a regular file, symlink, directory (which can contain data), or character device or block device or named pipe (none of which ...


tune2fs -l <filesystem> was what I was looking for. I wrote a command to quickly check the filesystem state for all mounted filesystems: df | awk '/^\/dev/ {print $1}' | xargs -I {} sh -c 'echo {}; tune2fs -l {}' | awk '/^\/dev/ {print $1} /^Filesystem state/ {print $3, " ",$4}'


As jordanm says, tune2fs -l /dev/... should say Filesystem state: clean (even for a mounted filesystem). I'm not entirely sure whether that's guaranteed though. You definitely don't want Filesystem state: with errors; as long as it doesn't say that you should be OK. If your filesystems are built on logical volumes (with LVM), and you have some spare ...

Top 50 recent answers are included