Schimbam marimea partitilor in Linux LVM

Micsoram spatiu pentru home:

umount /home
fsck -f /dev/vg_dev/lv_home
resize2fs -p /dev/vg_dev/lv_home 700G
lvreduce -L 700G /dev/vg_dev/lv_home
e2fsck -f /dev/vg_dev/lv_home
mount /home

Marim spatiu pt root:

lvextend L1100G /dev/vg_dev/lv_root
resize2fs /dev/mapper/vg_dev-lv_root

Gata!

Surse:http://jnotes.ru/change-size-ext4-lvm.html

http://www.o-nix.com/pages/reshenija-v-linux/resize-ext2ext3ext4.php

http://www.opennet.ru/docs/RUS/linux_lvm/

Leave a Reply

Your email address will not be published. Required fields are marked *