This commit is contained in:
2024-03-08 11:58:03 +01:00
parent 2db14c7fc5
commit 28926a7f4b
3 changed files with 35 additions and 0 deletions

13
debian/notes/vmware-parted.txt vendored Normal file
View File

@@ -0,0 +1,13 @@
# Case: Resize online disk (in example disk is /dev/sda) on Vmware
# Start scan of new size
echo 1 > /sys/block/sda/device/rescan
# Remember partion number with lvm flag, in our case is 3
parted -f -s /dev/sda p
# Resize lvm partition
parted -s /dev/sda resizepart 3 100%
# Resize physical volume
pvresize /dev/sda3