Difference between revisions of "Mkfs.ext4"
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
* [[mount]] (/etc/[[fstab]]) | * [[mount]] (/etc/[[fstab]]) | ||
* [[mkfs]] | * [[mkfs]] | ||
− | * | + | * {{lvm commands}} |
* [[inode]], [[superblock]] and [[block]] size | * [[inode]], [[superblock]] and [[block]] size | ||
[[Category:Linux]] | [[Category:Linux]] | ||
[[Category:Storage]] | [[Category:Storage]] |
Revision as of 10:52, 9 December 2019
mkfs.ext4 /dev/vg01/lv01 mke2fs 1.44.1 (24-Mar-2018) Creating filesystem with 2441850880 4k blocks and 305233920 inodes Filesystem UUID: e6742357-a181-4b82-837f-9a01f3e52568 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000, 214990848, 512000000, 550731776, 644972544, 1934917632 Allocating group tables: done Writing inode tables: done Creating journal (262144 blocks): done Writing superblocks and filesystem accounting information: done
Activities
- Create an ext4 filesystem using
mkfs.ext4
command - Learn about bytes per inode ratio: https://wiki.archlinux.org/index.php/ext4#Bytes-per-inode_ratio
- resize2fs online and ext4 filesystem
See also
- scan:
pvscan
vgscan
- LVM:
lvs
lvmscan
lvm fullreport
lvmreport
lvmconfig
lvmdump
lvmcheck
lvm dumpconfig
- Scan:
pvs
vgs
lvs
pvscan
vgscan
- PV:
pvcreate
pvremove
pvscan
pvremove
pvscan
pvs
pvchange
pvck
pvdisplay
pvresize
- LV:
lvdisplay
lvcreate
lvremove
,lvresize
,lvextend
,lvreduce
,lvrename
- VG:
vgdisplay
,vgcreate
,vgremove
,vgextend
,vgreduce
,vgscan
,vgchange
,vgrename
,vgcfgbackup
,vgcfgrestore
,vgimportclone
,vgck
- Check commands:
pvck
vgck
- inode, superblock and block size
Advertising: