martes, 15 de abril de 2008

LVM

# Enable LVM in disk
pvcreate /dev/sdb

# Create Volume Group
vgcreate storage0 /dev/sdb

# Active Volume Group
vgchange -a y storage0

# Create Logical Volume
lvcreate -l 2047 storage0 -n opt0

# Extend Volume Group
vgextend storage0 /dev/sdb2

# Check Volume Group
vgdisplay

# Extend Logical Volume
lvextend -L+1G /dev/storage0/opt

No hay comentarios: