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 2520 times since Sun, Jun 3, 2018
Modifying the inode count for an ext2/ext3/ext4 file system
Viewed 15688 times since Fri, Sep 18, 2020
INSTALACJA MIB SNMP W SYSTEMIE CENTOS/RHEL 6
Viewed 13196 times since Fri, Nov 30, 2018
What is yum-cron ?
Viewed 2874 times since Fri, Oct 26, 2018
List DNS records, nameservers of a domain from command line
Viewed 2194 times since Sun, Sep 30, 2018
Understanding System auditing with auditd
Viewed 10326 times since Fri, Apr 5, 2019
How to accurately determine when the system was booted
Viewed 2486 times since Wed, Oct 3, 2018
How to recover error - Audit error: dispatch err (pipe full) event lost
Viewed 26432 times since Tue, Aug 6, 2019
How to create stunnel with systemd? stunnel
Viewed 10267 times since Thu, Jan 16, 2020
stunnel: Authentication
Viewed 9348 times since Fri, Sep 28, 2018