User Tools

Site Tools


expanding_a_filesystem_lvm2_xfs

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
expanding_a_filesystem_lvm2_xfs [2023/06/30 14:08] steveexpanding_a_filesystem_lvm2_xfs [2023/06/30 14:09] (current) steve
Line 1: Line 1:
 ==== Expanding a Filesystem LVM2/XFS ==== ==== Expanding a Filesystem LVM2/XFS ====
 TLDR; TLDR;
-Expand the virtual drive in vSphere +  *Expand the virtual drive in vSphere 
-echo 1 > /sys/block/sdb/device/rescan +  *echo 1 > /sys/block/sdb/device/rescan 
-fdisk /dev/sdb  # Add new partition +  *fdisk /dev/sdb  # Add new partition 
-partprobe +  *partprobe 
-vgextend virtualmin04 /dev/sdb3 +  *vgextend virtualmin04 /dev/sdb3 
-lvextend -l+100%FREE /dev/virtualmin04/home +  *lvextend -l+100%FREE /dev/virtualmin04/home 
-xfs_growfs /dev/virtualmin04/home+  *xfs_growfs /dev/virtualmin04/home
 <code> <code>
 lsblk -fo name,fstype,mountpoint,size lsblk -fo name,fstype,mountpoint,size
expanding_a_filesystem_lvm2_xfs.1688134122.txt.gz · Last modified: by steve