Difference between revisions of "Resize2fs"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
− | resize2fs /dev/mapper/VolGroup-lv_root | + | resize2fs [[/dev/]]mapper/VolGroup-lv_root |
resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv | resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv |
Revision as of 09:01, 14 February 2023
resize2fs
ext2/ext3/ext4
file system resizer
resize2fs /dev/mapper/VolGroup-lv_root
resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv resize2fs 1.45.6 (20-Mar-2020) The filesystem is already 16646144 (4k) blocks long. Nothing to do!
resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv resize2fs 1.45.6 (20-Mar-2020) Filesystem at /dev/mapper/ubuntu--vg-ubuntu--lv is mounted on /; on-line resizing required old_desc_blocks = 8, new_desc_blocks = 16 The filesystem on /dev/mapper/ubuntu--vg-ubuntu--lv is now 33291264 (4k) blocks long.
Activities
Related commands
See also
ext4
e2fsck,
,fsck.ext4
, superblock, inode, block size, mkfs.ext4 tune2fswipefs
,resize2fs
stat
,extents
, Review ext4 journalctl logs. Read-only file system,virt-resize
, ACL- LVM: LVM errors LVM scan commands
lkvmetad
, Add a new disk
- 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
- File systems:
ext4
,XFS
,ZFS
,btrfs
,wipefs
,findfs
,HDFS
,overlay
,aufs
,virt-filesystems
, Windows: (FAT, NTFS, ReFS), GPFS, squashfs, Ecryptfs, Encfs, FUSE, VMFS, Comparison of distributed file systems, Userspace filesystem, Resize filesystem size
Advertising: