zoukankan      html  css  js  c++  java
  • 文件系统

    命令

    e2fsck
    e2fsck - check a Linux ext2/ext3/ext4 file system

    ==============================================
    resize2fs
    resize2fs - ext2/ext3/ext4 file system resizer

    It can be used to enlarge or shrink an unmounted file system located on device

    If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel and the file system supports on-line resizing.

    Modern Linux 2.6 kernels will support on-line resize for file systems mounted using ext3 and ext4;
    ext3 file systems will require the use of file systems with the resize_inode feature enabled.

    Filesystem features: resize_inode

    ==============================================
    tune2fs -l /dev/sda3
    tune2fs - adjust tunable filesystem parameters on ext2/ext3/ext4 filesystems
    -l List the contents of the filesystem superblock, including the current values of the parameters that can be set via this program.


    For a detailed description of the file system features, please see the man page ext4(5).

    ==============================================
    所有可以设置的文件系统参数
    [root@cu-dbs-152 ~]# tune2fs -l /dev/sda3
    tune2fs 1.41.12 (17-May-2010)
    Filesystem volume name:   <none>
    Last mounted on:          /
    Filesystem UUID:          4cad5860-c0ba-46a6-809c-7d2d7adcc743
    Filesystem magic number:  0xEF53
    Filesystem revision #:    1 (dynamic)
    Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
    Filesystem flags:         signed_directory_hash
    Default mount options:    user_xattr acl
    Filesystem state:         clean
    Errors behavior:          Continue
    Filesystem OS type:       Linux
    Inode count:              5496832
    Block count:              21968640
    Reserved block count:     1098432
    Free blocks:              10631227
    Free inodes:              5347877
    First block:              0
    Block size:               4096
    Fragment size:            4096
    Reserved GDT blocks:      1018
    Blocks per group:         32768
    Fragments per group:      32768
    Inodes per group:         8192
    Inode blocks per group:   512
    Flex block group size:    16
    Filesystem created:       Wed Jun 26 17:09:07 2019
    Last mount time:          Thu Jul 11 18:25:57 2019
    Last write time:          Wed Jun 26 17:21:58 2019
    Mount count:              13
    Maximum mount count:      -1
    Last checked:             Wed Jun 26 17:09:07 2019
    Check interval:           0 (<none>)
    Lifetime writes:          196 GB
    Reserved blocks uid:      0 (user root)
    Reserved blocks gid:      0 (group root)
    First inode:              11
    Inode size:               256
    Required extra isize:     28
    Desired extra isize:      28
    Journal inode:            8
    Default directory hash:   half_md4
    Directory Hash Seed:      357d1294-fa68-4e15-9039-25ee1becdfaf
    Journal backup:           inode blocks
  • 相关阅读:
    ASCII 32个控制字符含义
    MFC中获取指定打印机的打印队列的方法
    某品牌led报文信息分析
    SQL Server 企业版没有 Management Studio管理工具 无法安装工作站组件 的解决方法(无需卸载重装)
    xla文件修改办法
    关于ALILIB
    编译器如何根据头文件来找到相应实现的cpp文件?
    C#调用C++接口提示找不到指定的模块解决方法,本机正常
    DataGridView中实现右击选中当前行功能,并通过ContextMenuStrip获取当前行
    C#递归获取文件列表
  • 原文地址:https://www.cnblogs.com/createyuan/p/11171940.html
Copyright © 2011-2022 走看看