df

ファイルシステムタイプを確認する
```
[linuxstudy@xxxx ~]$ df -T
ファイルシス            タイプ   1K-ブロック    使用   使用可 使用% マウント位置
devtmpfs                devtmpfs     1430580       0  1430580    0% /dev
tmpfs                   tmpfs        1447504       0  1447504    0% /dev/shm
tmpfs                   tmpfs        1447504   10560  1436944    1% /run
tmpfs                   tmpfs        1447504       0  1447504    0% /sys/fs/cgroup
/dev/mapper/centos-root xfs         18331648 6291008 12040640   35% /
/dev/sdb1               ext2         1032088    1284   978376    1% /usbmemory2
/dev/sda1               xfs          1038336  230796   807540   23% /boot
tmpfs                   tmpfs         289504      32   289472    1% /run/user/1000
/dev/sr0                iso9660      9961428 9961428        0  100% /run/media/linuxstudy/CentOS 7 x86_64
[linuxstudy@xxxx ~]$ mount -t xfs
/dev/mapper/centos-root on / type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
/dev/sda1 on /boot type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
```
inode使用率を確認
```
[linuxstudy@xxxx ~]$ df -i /dev/sd*
Filesystem     Inodes IUsed  IFree IUse% Mounted on
devtmpfs       357653   447 357206    1% /dev
/dev/sda1      524288   354 523934    1% /boot
devtmpfs       357653   447 357206    1% /dev
devtmpfs       357653   447 357206    1% /dev
/dev/sdb1       65536    13  65523    1% /usbmemory2
devtmpfs       357653   447 357206    1% /dev
devtmpfs       357653   447 357206    1% /dev
devtmpfs       357653   447 357206    1% /dev
devtmpfs       357653   447 357206    1% /dev
```

```
DF(1)                            User Commands                           DF(1)



NAME
       df - report file system disk space usage

SYNOPSIS
       df [OPTION]... [FILE]...

DESCRIPTION
       This  manual  page  documents  the  GNU version of df.  df displays the
       amount of disk space available on the file system containing each  file
       name  argument.   If  no file name is given, the space available on all
       currently mounted file systems is shown.  Disk space  is  shown  in  1K
       blocks  by  default, unless the environment variable POSIXLY_CORRECT is
       set, in which case 512-byte blocks are used.

       If an argument is the absolute file name of a disk device node contain-
       ing  a  mounted  file system, df shows the space available on that file
       system rather than on the file system containing the device node.  This
       version  of  df  cannot show the space available on unmounted file sys-
       tems, because on most kinds of systems  doing  so  requires  very  non-
       portable intimate knowledge of file system structures.

OPTIONS
       Show  information  about the file system on which each FILE resides, or
       all file systems by default.

       Mandatory arguments to long options are  mandatory  for  short  options
       too.

       -a, --all
              include pseudo, duplicate, inaccessible file systems

       -B, --block-size=SIZE
              scale  sizes  by  SIZE  before printing them; e.g., '-BM' prints
              sizes in units of 1,048,576 bytes; see SIZE format below

       --direct
              show statistics for a file instead of mount point

       --total
              produce a grand total

       -h, --human-readable
              print sizes in human readable format (e.g., 1K 234M 2G)

       -H, --si
              likewise, but use powers of 1000 not 1024

       -i, --inodes
              list inode information instead of block usage

       -k     like --block-size=1K

       -l, --local
              limit listing to local file systems

       --no-sync
              do not invoke sync before getting usage info (default)

       --output[=FIELD_LIST]
              use the output format defined by FIELD_LIST, or print all fields
              if FIELD_LIST is omitted.

       -P, --portability
              use the POSIX output format

       --sync invoke sync before getting usage info

       -t, --type=TYPE
              limit listing to file systems of type TYPE

       -T, --print-type
              print file system type

       -x, --exclude-type=TYPE
              limit listing to file systems not of type TYPE

       -v     (ignored)

       --help display this help and exit

       --version
              output version information and exit

       Display   values  are  in  units  of  the  first  available  SIZE  from
       --block-size, and the DF_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE  environ-
       ment  variables.   Otherwise,  units  default  to 1024 bytes (or 512 if
       POSIXLY_CORRECT is set).

       SIZE is an integer and optional unit (example:  10M  is  10*1024*1024).
       Units  are K, M, G, T, P, E, Z, Y (powers of 1024) or KB, MB, ... (pow-
       ers of 1000).

       FIELD_LIST is a comma-separated list of columns to be included.   Valid
       field  names  are:  'source',  'fstype',  'itotal',  'iused', 'iavail',
       'ipcent', 'size', 'used', 'avail', 'pcent', 'file'  and  'target'  (see
       info page).

       GNU  coreutils  online  help:  <http://www.gnu.org/software/coreutils/>
       Report df translation bugs to <http://translationproject.org/team/>

AUTHOR
       Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert.

COPYRIGHT
       Copyright (C) 2013 Free Software Foundation, Inc.  License GPLv3+:  GNU
       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
       This  is  free  software:  you  are free to change and redistribute it.
       There is NO WARRANTY, to the extent permitted by law.

SEE ALSO
       The full documentation for df is maintained as a  Texinfo  manual.   If
       the  info and df programs are properly installed at your site, the com-
       mand

              info coreutils 'df invocation'

       should give you access to the complete manual.



GNU coreutils 8.22               November 2020                           DF(1)```