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
15 Linux Yum Command Examples – Install, Uninstall, Update Packages
Viewed 3502 times since Thu, Oct 25, 2018
Setting up encrypted tunnel using stunnel
Viewed 2577 times since Fri, Sep 28, 2018
Secure Secure Shell
Viewed 10975 times since Fri, Aug 21, 2020
Linux nslookup Command Examples for DNS Lookup
Viewed 9077 times since Sat, Sep 29, 2018
Red Hat 8 How to Set Up Automatic Updates for CentOS 8
Viewed 3869 times since Fri, Sep 25, 2020
RHCS: Install a two-node basic cluster
Viewed 10055 times since Sun, Jun 3, 2018
LVM: Create a new Logical Volume / Filesystem
Viewed 2157 times since Sat, Jun 2, 2018
How To: Create Self-Signed Certificate – OpenSSL
Viewed 3098 times since Mon, Feb 18, 2019
How to Install and use Lsyncd on CentOS 7 / RHEL 7 rsync
Viewed 4468 times since Wed, Oct 31, 2018
Open SSL HowTo: Decode SSL Certificate
Viewed 6187 times since Mon, Feb 18, 2019