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
red hat 7 tmpfiles service
Viewed 1668 times since Thu, Oct 11, 2018
LUKS List available methods of encryption for LUKS
Viewed 2778 times since Fri, Jul 13, 2018
Using etckeeper with git
Viewed 6622 times since Sun, Jun 3, 2018
Linux 16 Useful Bandwidth Monitoring Tools to Analyze Network Usage in Linux
Viewed 11956 times since Mon, Sep 21, 2020
Increase A VMware Disk Size (VMDK) Formatted As Linux LVM without rebooting
Viewed 15150 times since Wed, May 30, 2018
sed Delete / Remove ^M Carriage Return (Line Feed / CRLF) on Linux or Unix
Viewed 9934 times since Thu, Feb 7, 2019
Linux Network (TCP) Performance Tuning with Sysctl
Viewed 11142 times since Fri, Aug 3, 2018
20 Linux Command Tips and Tricks That Will Save You A Lot of Time linux
Viewed 4409 times since Thu, Apr 18, 2019
How to find your System details using inxi
Viewed 3080 times since Sat, Jun 2, 2018
RHEL: GPT/MBR partition tables (using disks larger than 2 TiB)
Viewed 12033 times since Sun, May 27, 2018