首页服务器Linux服务器 查看linux文件系统块大小的实现方法

查看linux文件系统块大小的实现方法

在linux系统上,可以用命令tune2fs ,测试如下 [root@localhost test10g]# tune2fs -helptune2fs 1.35 (28-Feb-2004)tune2fs: invalid option -- hUsage: tune2fs [-c max-mou…

linux系统上,可以用命令tune2fs ,测试如下

[root@localhost test10g]# tune2fs -helptune2fs 1.35 (28-Feb-2004)tune2fs: invalid option -- hUsage: tune2fs [-c max-mounts-count] [-e errors-behavior] [-g group]    [-i interval[d|m|w]] [-j] [-J journal-options]    [-l] [-s sparse-flag] [-m reserved-blocks-percent]    [-o [^]mount-options[,...]] [-r reserved-blocks-count]    [-u user] [-C mount-count] [-L volume-label] [-M last-mounted-dir]    [-O [^]feature[,...]] [-T last-check-time] [-U UUID] device[root@localhost test10g]# dfFilesystem      1K-blocks   Used Available Use% Mounted on/dev/sda2       8776068  7576504  753764 91% //dev/sda1        497829   16303  455824  4% /bootnone          517300     0  517300  0% /dev/shm/dev/sda5       1035660   96452  886600 10% /tmp[root@localhost test10g]# tune2fs -l /dev/sda1|grep BlockBlock count:       514048Block size:        1024      Blocks per group:     8192[root@localhost test10g]# tune2fs -l /dev/sda2|grep BlockBlock count:       2229018Block size:        4096Blocks per group:     32768
本文来自网络,不代表1号站长-站长学院|资讯交流平台立场。转载请注明出处: https://www.1cn.cc/fwq/Linux/8825.html
上一篇Linux系统下nginx日志每天定时切割的脚本写法
下一篇 Linux KVM的QCOW2 和 ROW的详解及区别介绍
admin

作者: admin

这里可以再内容模板定义一些文字和说明,也可以调用对应作者的简介!或者做一些网站的描述之类的文字或者HTML!

为您推荐

评论列表()

    联系我们

    联系我们

    0898-88888888

    在线咨询: QQ交谈

    邮箱: email@wangzhan.com

    工作时间:周一至周五,9:00-17:30,节假日休息

    关注微信
    微信扫一扫关注我们

    微信扫一扫关注我们

    关注微博
    返回顶部