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
20 Linux Command Tips and Tricks That Will Save You A Lot of Time linux
Viewed 5381 times since Thu, Apr 18, 2019
LVM: Reduce an existing Volume Group by removing one of its disks
Viewed 2947 times since Sat, Jun 2, 2018
INSTALACJA MIB SNMP W SYSTEMIE CENTOS/RHEL 6
Viewed 13487 times since Fri, Nov 30, 2018
Red Hat Cluster Tutorial
Viewed 2540 times since Sun, Jun 3, 2018
how to list all hard disks in linux from command line
Viewed 4460 times since Mon, Jan 28, 2019
List usernames instead of uids with the ps command for long usernames
Viewed 2949 times since Wed, Jul 25, 2018
tcpdump
Viewed 9810 times since Fri, Jul 27, 2018
RHEL: Reserved space on a ext2/ext3/ext4 filesystem
Viewed 5142 times since Sun, May 27, 2018
How to remove CTRL-M (^M) characters from a file in Linux
Viewed 3186 times since Thu, Feb 7, 2019
Learn Linux System Auditing with Auditd Tool on CentOS/RHEL
Viewed 5063 times since Fri, Apr 5, 2019