Linux: Checking Filesystem Usage with df
-
@BBigford said in Linux: Checking Filesystem Usage with df:
Very appealing colors. What theme are you using for that?
The colours are generated by NodeBB and the theme that ML has installed (or the one that you have chosen as you can change them.) Those aren't image captures but are just formatted text. There is no colouring denoted in what I input, anything that appears is coming from the Markdown processor in NodeBB,
-
This is what the original terminal looks like. I have it partially transparent so if you look very closely, you can see your own avatar through the console.
-
@scottalanmiller said in Linux: Checking Filesystem Usage with df:
This is what the original terminal looks like. I have it partially transparent so if you look very closely, you can see your own avatar through the console.
That makes sense. I obviously haven't dropped in any code to a ML thread.
In either case, looks good formatted by ML then.
-
This post is deleted! -
Hmm, can't figure out how you format it that way. Are you doing 'incline code' for the format and then ML takes care of the rest? I've tried a few things but it just ends up looking like plain text.
-
@BBigford said in Linux: Checking Filesystem Usage with df:
Hmm, can't figure out how you format it that way. Are you doing 'incline code' for the format and then ML takes care of the rest? I've tried a few things but it just ends up looking like plain text.
Oh... try indenting four spaces on a line.
-
Or puting ``` on the line before and after a block.
-
@BRRABill At the moment I don't have parted installed. If you're unable to install it, you may need (if you really needed it) to enable to global repo's which are disabled by default.
-
This will do it..
gdisk -l /dev/sda
-
@scottalanmiller said in Linux: Checking Filesystem Usage with df:
What is an inode?
In UNIX-like filesystems (such as FFS, UFS, XFS, EXT4, EXT3, EXT2, JFS, ReiserFS, etc.) an inode is a datastructure on disk that contains metadata about files or directories (directories are just a special kind of file.) Each file has one associated inode. So the total number of inodes represents the total number of files and/or directories that can be created on the filesystem. The inode for a file contains information such as access times, owner and permission data.
We will cover more about inodes and filesystems at a later time. But it is important to realize that inodes can become exhausted and a disk could be "full", meaning that no more files can be created, even if space still exists. But this situation is relatively rare and can easily be checked with df -i.
Part of a series on Linux Systems Administration by Scott Alan Miller
Will there be a topic on "managing inode in linux"
-
@DustinB3403 said in Linux: Checking Filesystem Usage with df:
Will there be a topic on "managing inode in linux"
Yes, but it is going to go into an "Advanced Topics" section. Just as LVM and MD will have high level "normal" admin sections and eventually delve much deeper in advanced sections. I want to cover everything in a "normal admin" capacity like you would learn from the RHCE up front. Then go back and cover the nitty gritty details that other admin books don't. So it will basically take two passes but the hope is that the first pass will take you from "starting point" to "competent Linux Admin" then the second part will go where normal admin guides don't tread.