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
RHEL: Crash kernel dumps configuration and analysis on RHEL 6
Viewed 6141 times since Sat, Jun 2, 2018
Transform XML to CSV Format | Unix String Pattern Manipulation The Ugly Way
Viewed 8142 times since Sun, Jan 9, 2022
RHEL: XFS basic operations
Viewed 17942 times since Sat, Jun 2, 2018
debian How to Upgrade Debian 8 Jessie to Debian 9 Stretch
Viewed 3259 times since Sun, Sep 23, 2018
RHCS6: Luci - the cluster management console
Viewed 4150 times since Sun, Jun 3, 2018
RHEL7: Configure automatic updates.
Viewed 2659 times since Wed, Oct 17, 2018
RHEL: ACLs basics
Viewed 7608 times since Sun, May 27, 2018
SYS: Configure a local repository. local repo
Viewed 11984 times since Mon, Oct 29, 2018
Logrotate Example for Custom Logs
Viewed 3348 times since Sun, Jan 12, 2020
ZFS: Create a new zfs filesystem
Viewed 3391 times since Sun, Jun 3, 2018