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
linux ssh Remotely Initiated Reverse SSH Tunnel
Viewed 3326 times since Wed, Apr 22, 2020
LOGROTATE – ARCHIWIAZACJA LOGÓW
Viewed 2138 times since Fri, Nov 30, 2018
Df command in Linux not updating actual diskspace, wrong data
Viewed 3032 times since Wed, May 30, 2018
LVM: Extend SWAP size by adding a new Logical Volume
Viewed 3290 times since Sat, Jun 2, 2018
RHEL: Handling SCSI disks
Viewed 12643 times since Sun, May 27, 2018
Linux Health Check Commands
Viewed 3311 times since Fri, Jun 8, 2018
Tropienie pożeracza dysku
Viewed 2395 times since Thu, May 24, 2018
CentOS / RHEL : How to move a Volume Group from one system to another
Viewed 3772 times since Mon, Jan 28, 2019
Tcpdump Examples Linux
Viewed 6056 times since Fri, Nov 16, 2018
RHEL: Bonding network interfaces
Viewed 3851 times since Sat, Jun 2, 2018