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
OpenSSL – sprawdzanie czy klucz pasuje do certyfikatu
Viewed 2443 times since Thu, May 24, 2018
haproxy linux
Viewed 2207 times since Sun, Dec 6, 2020
Red Hat 8 How to Set Up Automatic Updates for CentOS 8
Viewed 3326 times since Fri, Sep 25, 2020
A Simple Guide to Oracle Cluster File System (OCFS2) using iSCSI on Oracle Cloud Infrastructure
Viewed 7721 times since Sat, Jun 2, 2018
20 IPtables Examples For New SysAdmins
Viewed 1897 times since Fri, May 15, 2020
ZFS: Create a new zfs filesystem
Viewed 2303 times since Sun, Jun 3, 2018
10 Linux rsync Examples to Exclude Files/Directories
Viewed 10556 times since Wed, Oct 31, 2018
Increase A VMware Disk Size (VMDK) Formatted As Linux LVM without rebooting
Viewed 15003 times since Wed, May 30, 2018
How to stop and disable auditd on RHEL 7
Viewed 38567 times since Tue, Aug 6, 2019
RHEL: iSCSI target/initiator configuration on RHEL6
Viewed 8394 times since Sat, Jun 2, 2018