Updated
This commit is contained in:
13
debian/notes/vmware-parted.txt
vendored
Normal file
13
debian/notes/vmware-parted.txt
vendored
Normal 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
|
||||
Reference in New Issue
Block a user