ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Linux: Checking Filesystem Usage with df

    Scheduled Pinned Locked Moved IT Discussion
    dflinuxcentosrhelubuntususeopensusesam linux administrationsystem administrationunix
    13 Posts 3 Posters 4.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bbigfordB
      bbigford
      last edited by

      Very appealing colors. What theme are you using for that?

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @bbigford
        last edited by

        @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,

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          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.

          0_1463164296881_Screenshot from 2016-05-13 21:31:07.png

          bbigfordB 1 Reply Last reply Reply Quote 0
          • bbigfordB
            bbigford @scottalanmiller
            last edited by

            @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.

            0_1463164296881_Screenshot from 2016-05-13 21:31:07.png

            That makes sense. I obviously haven't dropped in any code to a ML thread. 🙂

            In either case, looks good formatted by ML then.

            1 Reply Last reply Reply Quote 0
            • bbigfordB
              bbigford
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • bbigfordB
                bbigford
                last edited by

                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.

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @bbigford
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    Or puting ``` on the line before and after a block.

                    1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403 @BRRABill
                      last edited by

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        This will do it..

                        gdisk -l /dev/sda
                        
                        1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403 @scottalanmiller
                          last edited by

                          @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"

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @DustinB3403
                            last edited by

                            @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.

                            1 Reply Last reply Reply Quote 1
                            • 1 / 1
                            • First post
                              Last post