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
LUKS List available methods of encryption for LUKS
Viewed 1012 times since Fri, Jul 13, 2018
How To Ping Specific Port Number
Viewed 1515 times since Mon, Jun 1, 2020
Build a simple RPM that packages a single file
Viewed 5489 times since Sat, Jun 2, 2018
RHCS6: Basic operations on clustered services
Viewed 1410 times since Sun, Jun 3, 2018
A Simple Guide to Oracle Cluster File System (OCFS2) using iSCSI on Oracle Cloud Infrastructure
Viewed 5679 times since Sat, Jun 2, 2018
Top 20 OpenSSH Server Best Security Practices ssh linux aix
Viewed 4530 times since Fri, May 15, 2020
Check Detailed CPU Information In Linux With CoreFreq [Advanced]
Viewed 1126 times since Thu, Apr 18, 2019
RHCS6: Extend an existing Logical Volume / GFS2 filesystem
Viewed 1643 times since Sun, Jun 3, 2018
How to Analyze or Read OS Watcher Output in three easy steps -- With Example ?
Viewed 13309 times since Thu, Jun 21, 2018
20 Linux Command Tips and Tricks That Will Save You A Lot of Time linux
Viewed 2664 times since Thu, Apr 18, 2019