lvm resize

From thelinuxwiki
Revision as of 20:13, 17 January 2014 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


lvdisplay /dev/mapper/root

lvdisplay /dev/mapper/home

vgdisplay

lvdisplay

ping 4.2.2.2

lveresize -L +40GB /dev/vg1/home

lvresize -L +40GB /dev/vg1/home

df -h

resize2fs -p /dev/mapper/crypthome

resize2fs -p /dev/mapper/home-home

resize2fs -p /dev/mapper/crypthome

cfdisk /dev/mapper/crypthome

e2fsck -f /dev/mapper/crypthome


vgdisplay

lvdisplay

lvresize --help lvextenn --help lvextend --help

cat /etc/fstab

umount /dev/mapper/crypthome

cd /

umount /dev/mapper/crypthome

which vlc

resize2fs /dev/mapper/crypthome

fdisk -l /dev/vgq

fdisk -l /dev/vg1

fdisk -l /dev/vg1/home

df -h

resize2fs /dev/mapper/crypthome