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: Manually encrypting a filesystem with LUKS
Viewed 4047 times since Sun, May 27, 2018
debian How to check Debian CVE status using python script
Viewed 3795 times since Sun, Sep 23, 2018
Fałszujemy rozpoznania skanerów #1
Viewed 3261 times since Mon, May 21, 2018
How To Run Multiple SSH Command On Remote Machine And Exit Safely
Viewed 4621 times since Tue, Aug 6, 2019
Linux Screen
Viewed 2234 times since Sat, Jun 2, 2018
RHCS6: Show/Add GFS2/GFS journals
Viewed 12941 times since Sun, Jun 3, 2018
Używanie rsync poprzez Secure Shell
Viewed 41497 times since Thu, May 24, 2018
How to mount software RAID1 member using mdadm
Viewed 3246 times since Wed, Oct 3, 2018
Red Hat 8 How to Set Up Automatic Updates for CentOS 8
Viewed 4039 times since Fri, Sep 25, 2020
ZPOOL: Add a mirror to a concat zpool
Viewed 4023 times since Sun, Jun 3, 2018