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

Next revision
Previous revision
expanding_a_filesystem_lvm2_xfs [2023/06/30 13:56] – created 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;
 +  *Expand the virtual drive in vSphere
 +  *echo 1 > /sys/block/sdb/device/rescan
 +  *fdisk /dev/sdb  # Add new partition
 +  *partprobe
 +  *vgextend virtualmin04 /dev/sdb3
 +  *lvextend -l+100%FREE /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.1688133377.txt.gz · Last modified: by steve