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
How to mount software RAID1 member using mdadm
Viewed 2658 times since Wed, Oct 3, 2018
Linux / UNIX: Run Command a Number of Times In a Row
Viewed 15363 times since Tue, Aug 6, 2019
Linux Screen
Viewed 1702 times since Sat, Jun 2, 2018
How to use yum-cron to automatically update RHEL/CentOS Linux
Viewed 2329 times since Wed, Oct 17, 2018
How log rotation works with logrotate
Viewed 4355 times since Fri, Nov 30, 2018
debian How to check Debian CVE status using python script
Viewed 3220 times since Sun, Sep 23, 2018
Configuring VLAN interfaces in Linux
Viewed 4771 times since Mon, May 21, 2018
RHCS6: Mirror/unmirror a GFS2 volume
Viewed 4769 times since Sun, Jun 3, 2018
ZFS: Remove an existing zfs filesystem
Viewed 1732 times since Sun, Jun 3, 2018
12 Tcpdump Commands – A Network Sniffer Tool
Viewed 8467 times since Fri, Jul 27, 2018