LVM: Extend an existing Volume Group by adding a new disk


LVM: Extend an existing Volume Group by adding a new disk

# Tested on RHEL 5, 6 & 7

# First, verify the disk/partition to use on the new VG with "fdisk" or any other similar
# tool

DISK=/dev/sdd1
VG=vgdatabase


# Initialize disk under LVM

pvcreate $DISK


# Add disk to VG

vgextend $VG $DISK


# Check

vgdisplay -v $VG


Article Number: 177
Posted: Sat, Jun 2, 2018 10:35 PM
Last Updated: Sat, Jun 2, 2018 10:35 PM

Online URL: http://kb.ictbanking.net/article.php?id=177