Differences
This shows you the differences between two versions of the page.
— | tune2fs [2016/04/27 17:51] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== tune2fs ====== | ||
+ | * [[Filesystems]] | ||
+ | * [[tune2fs]] | ||
+ | |||
+ | Set the volume label: | ||
+ | |||
+ | < | ||
+ | tune2fs -L gentoo /dev/sda2 | ||
+ | </ | ||
+ | |||
+ | Set reserved blocks percentage for root from default 5% to 2%: | ||
+ | |||
+ | < | ||
+ | tune2fs -m 2 /dev/sda2 | ||
+ | </ | ||
+ | |||
+ | Display current status: | ||
+ | |||
+ | < | ||
+ | tune2fs -l /dev/sda2 | ||
+ | </ | ||
+ | |||
+ | Example output: | ||
+ | |||
+ | < | ||
+ | tune2fs 1.42.9 (4-Feb-2014) | ||
+ | Filesystem volume name: < | ||
+ | Last mounted on: /boot | ||
+ | Filesystem UUID: 26302869-918a-47d8-b832-19391db8f439 | ||
+ | Filesystem magic number: | ||
+ | Filesystem revision #: 1 (dynamic) | ||
+ | Filesystem features: | ||
+ | Filesystem flags: | ||
+ | Default mount options: | ||
+ | Filesystem state: | ||
+ | Errors behavior: | ||
+ | Filesystem OS type: Linux | ||
+ | Inode count: | ||
+ | Block count: | ||
+ | Reserved block count: | ||
+ | Free blocks: | ||
+ | Free inodes: | ||
+ | First block: | ||
+ | Block size: 1024 | ||
+ | Fragment size: 1024 | ||
+ | Reserved GDT blocks: | ||
+ | Blocks per group: | ||
+ | Fragments per group: | ||
+ | Inodes per group: | ||
+ | Inode blocks per group: | ||
+ | Filesystem created: | ||
+ | Last mount time: Thu Mar 24 13:17:42 2016 | ||
+ | Last write time: Thu Mar 24 13:17:42 2016 | ||
+ | Mount count: | ||
+ | Maximum mount count: | ||
+ | Last checked: | ||
+ | Check interval: | ||
+ | Lifetime writes: | ||
+ | Reserved blocks uid: 0 (user root) | ||
+ | Reserved blocks gid: 0 (group root) | ||
+ | First inode: | ||
+ | Inode size: | ||
+ | Default directory hash: | ||
+ | Directory Hash Seed: 3f132558-3f21-4b99-926d-55ee5ddeba4a | ||
+ | </ |