Linux.LVM

Изменить размер раздела на Скале

#LVM resize
 
less  ./config.pvs
prlctl stop ISOJ-prod-se-1-202
 
prl_disk_tool resize -i --hdd ./harddisk1.hdd
prl_disk_tool resize --size 130G --hdd ./harddisk1.hdd
prl_disk_tool resize -i --hdd ./harddisk1.hdd
 
 
prlctl list -a
prlctl start ISOJ-prod-se-1-202
 
 
#LVM resize
 
umount /mnt/backend/
lsblk
df -h
pvresize /dev/vdb
 
lvextend  -L+10G /dev/mapper/ISOJ--prod--se-isoj--backend
 
e2fsck -f /dev/ISOJ-prod-se/isoj-backend
resize2fs /dev/ISOJ-prod-se/isoj-backend
 
mount /mnt/backend/
df -h