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
LOGROTATE – ARCHIWIAZACJA LOGÓW
Viewed 2965 times since Fri, Nov 30, 2018
20 Linux Command Tips and Tricks That Will Save You A Lot of Time linux
Viewed 6058 times since Thu, Apr 18, 2019
An easier way to manage disk decryption at boot with Red Hat Enterprise Linux 7.5 using NBDE
Viewed 9634 times since Mon, Aug 6, 2018
RHEL: Display swap/RAM size
Viewed 4436 times since Sat, Jun 2, 2018
LVM: Reduce SWAP size by removing a Logical Volume
Viewed 3509 times since Sat, Jun 2, 2018
RHEL: udev rules basics
Viewed 11423 times since Sat, Jun 2, 2018
LVM: Move allocated PE between Physical Volumes
Viewed 5105 times since Sat, Jun 2, 2018
YUM CRON RHEL7: Configure automatic updates.
Viewed 2781 times since Fri, Oct 26, 2018
RHCS6: Quorum disk and heuristics
Viewed 5578 times since Sun, Jun 3, 2018
Procedura powiekszania OCFS2 online
Viewed 6345 times since Fri, Jun 8, 2018