Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tune2fs [2016/04/27 11:51]
steve
tune2fs [2016/04/27 11:51] (current)
steve
Line 3: Line 3:
   * [[Filesystems]]   * [[Filesystems]]
   * [[tune2fs]]   * [[tune2fs]]
- 
-Display current status: 
- 
-<​code>​ 
-tune2fs -l /dev/sda2 
-</​code>​ 
  
 Set the volume label: Set the volume label:
Line 20: Line 14:
 <​code>​ <​code>​
 tune2fs -m 2 /dev/sda2 tune2fs -m 2 /dev/sda2
 +</​code>​
 +
 +Display current status:
 +
 +<​code>​
 +tune2fs -l /dev/sda2
 +</​code>​
 +
 +Example output:
 +
 +<​code>​
 +tune2fs 1.42.9 (4-Feb-2014)
 +Filesystem volume name:   <​none>​
 +Last mounted on:          /boot
 +Filesystem UUID:          26302869-918a-47d8-b832-19391db8f439
 +Filesystem magic number: ​ 0xEF53
 +Filesystem revision #:    1 (dynamic)
 +Filesystem features: ​     ext_attr resize_inode dir_index filetype sparse_super
 +Filesystem flags: ​        ​signed_directory_hash ​
 +Default mount options: ​   user_xattr acl
 +Filesystem state: ​        not clean
 +Errors behavior: ​         Continue
 +Filesystem OS type:       Linux
 +Inode count: ​             62496
 +Block count: ​             249856
 +Reserved block count: ​    12492
 +Free blocks: ​             98501
 +Free inodes: ​             62170
 +First block: ​             1
 +Block size:               1024
 +Fragment size:            1024
 +Reserved GDT blocks: ​     256
 +Blocks per group: ​        8192
 +Fragments per group: ​     8192
 +Inodes per group: ​        2016
 +Inode blocks per group: ​  252
 +Filesystem created: ​      Fri Jun 26 04:30:11 2015
 +Last mount time:          Thu Mar 24 13:17:42 2016
 +Last write time:          Thu Mar 24 13:17:42 2016
 +Mount count: ​             3
 +Maximum mount count: ​     -1
 +Last checked: ​            Sun Jan 24 11:31:11 2016
 +Check interval: ​          0 (<​none>​)
 +Lifetime writes: ​         1592 MB
 +Reserved blocks uid:      0 (user root)
 +Reserved blocks gid:      0 (group root)
 +First inode: ​             11
 +Inode size:​  ​         128
 +Default directory hash:   ​half_md4
 +Directory Hash Seed:      3f132558-3f21-4b99-926d-55ee5ddeba4a
 </​code>​ </​code>​