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 - How to get network speed and statistic of ethernet adapter in Linux
Viewed 2968 times since Fri, Jun 8, 2018
Logowanie za pomocą kluczy Secure Shell
Viewed 3774 times since Thu, May 24, 2018
stunnel basics and pki standards
Viewed 10317 times since Fri, Sep 28, 2018
HowTo: Find Out Hard Disk Specs / Details on Linux
Viewed 4680 times since Mon, Jan 28, 2019
Install Security Patches or Updates Automatically on CentOS and RHEL
Viewed 2621 times since Fri, Oct 26, 2018
Tropienie pożeracza dysku
Viewed 2937 times since Thu, May 24, 2018
HowTo: Retrieve Email from a POP3 Server using the Command Line
Viewed 13579 times since Mon, Feb 18, 2019
stunnel How To Encrypt Traffic to Redis with Stunnel on Ubuntu 16.04
Viewed 2972 times since Sun, Dec 6, 2020
systemd Auto-restart a crashed service in systemd
Viewed 4311 times since Fri, Jan 17, 2020
Script to Offline and Remove A Disk In Linux
Viewed 2588 times since Mon, Jan 28, 2019