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
0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
ZPOOL: Remove an existing zpool
Viewed 731 times since Sun, Jun 3, 2018
Red Hat Cluster Tutorial
Viewed 848 times since Sun, Jun 3, 2018
Super Grub2 Disk
Viewed 863 times since Wed, May 22, 2019
red hat 7 tmpfiles service
Viewed 552 times since Thu, Oct 11, 2018
Procedura powiekszania OCFS2 online
Viewed 641 times since Fri, Jun 8, 2018
7 Tips – Tuning Command Line History in Bash
Viewed 1430 times since Fri, Jul 5, 2019
Set Up SSH Tunneling on a Linux / Unix / BSD Server To Bypass NAT
Viewed 237 times since Fri, May 15, 2020
Linux Network (TCP) Performance Tuning with Sysctl
Viewed 3633 times since Fri, Aug 3, 2018
SSH ProxyCommand example: Going through one host to reach another server
Viewed 2592 times since Tue, Aug 6, 2019
RHEL: Extending a vmdk (Virtual Machine disk)
Viewed 1255 times since Sun, May 27, 2018