国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 服務器 > Linux服務器 > 正文

查看linux文件系統塊大小的實現方法

2024-09-05 23:02:52
字體:
來源:轉載
供稿:網友

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

上面Block size即為塊大小。

在WINDOWS系統上,可以用命令fsutil來查看,測試如下:

C:/Documents and Settings/ct2>fsutil --help
--help 是無效參數。
---- 支持的命令 ----

behavior    控制文件系統行為dirty      管理卷的被損壞的位數file      文件特定命令fsinfo     文件系統信息hardlink    硬鏈接管理objectid    對象 ID 管理quota      配額管理reparsepoint  重分析點管理sparse     稀疏文件控制usn       USN 管理volume     卷管理C:/Documents and Settings/ct2>fsutil fsinfo ntfsinfo c:NTFS 卷序列號 :    0x72ccb5f2ccb5b129版本 :             3.1區數量 :         0x0000000008ff8235簇總數 :         0x00000000011ff046可用簇 :         0x0000000000547b73保留總數 :         0x0000000000000050每個扇區字節數 :        512每個簇字節數 :        4096每個 FileRecord 段的字節數  : 1024每個 FileRecord 段的簇數 : 0Mft 有效數據長度 :      0x0000000009cac000Mft 起始 Lcn :         0x00000000000c4df6Mft2 起始 Lcn :         0x00000000008ff823Mft 區域起始 :         0x0000000001067920Mft 區域結尾  :         0x000000000108ce60

上面簇字節數既為塊大小。

注:第二擴展文件系統(second Extended Filesystem,Ext2)。 Ext3(third Extended Filesystem)

man fs    ext2  is the high performance disk filesystem used by Linux for fixed       disks  as  well as removable media.  The second extended       filesystem was designed as an extension of the extended file       system (ext).  ext2 offers the best performance (in terms of       speed and CPU usage) of the filesystems supported under Linux.    ext3  is a journaling version of the ext2 filesystem. It is easy to       switch back and forth between ext2 and ext3.    ext3  is a journaling version of the ext2 filesystem. ext3 offers the       most complete set of journaling options  available  among       journaling filesystems.

以上就是小編為大家帶來的查看linux文件系統塊大小的實現方法全部內容了,希望大家多多支持VEVB武林網~


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 中宁县| 池州市| 绵竹市| 金塔县| 嘉定区| 洛川县| 广宗县| 尚义县| 上饶市| 乌什县| 大埔区| 苏尼特右旗| 平遥县| 罗平县| 宝应县| 金堂县| 广西| 台山市| 临沂市| 湘阴县| 莒南县| 临泉县| 运城市| 修武县| 突泉县| 平利县| 山东省| 贡觉县| 鄄城县| 神木县| 镇坪县| 扎囊县| 乃东县| 县级市| 中阳县| 景谷| 咸宁市| 江门市| 永昌县| 沁源县| 马山县|