Pages

Thursday, January 28, 2016

LVM Special Options


Create swap on a logical volume:
# lvcreate -C y -L 10G VolGroup00 -n lvolswap
Fill all the free space left on a volume group
# lvcreate -l +100%FREE VolGroup00 -n lvolmedia
Extend an existing logical volume to use the maximum space:
# lvextend -l +100%FREE VolGroup00/lvolhome

# lvextend -l +100%FREE /dev/vg0/backup -r 

0 comments:

Post a Comment