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
HowTo: The Ultimate Logrotate Command Tutorial with 10 Examples
Viewed 5362 times since Fri, Nov 30, 2018
Red Hat ADDING SWAP SPACE
Viewed 2118 times since Fri, Jun 8, 2018
RHEL: ACLs basics
Viewed 6299 times since Sun, May 27, 2018
SPRAWDZONA KONFIGURACJA RSYSLOG I LOGROTATE, JAKO ZEWNĘTRZNEGO SERWERA SYSLOG
Viewed 3888 times since Fri, Nov 30, 2018
Understanding System auditing with auditd
Viewed 9982 times since Fri, Apr 5, 2019
RHEL: Force system to prompt for password in Single User mode
Viewed 7457 times since Sat, Jun 2, 2018
linux ssh How to Hide the OpenSSH Version Details when Telnet to Port 22
Viewed 5274 times since Wed, Apr 22, 2020
ZPOOL: Verify/change properties of a zpool
Viewed 2158 times since Sun, Jun 3, 2018
Odpalenie polecenia tylko na jedną godzinę
Viewed 2902 times since Thu, May 24, 2018
tcpdump
Viewed 9154 times since Fri, Jul 27, 2018