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 5385 times since Fri, Nov 30, 2018
Linux - How to get IP and MAC address of ethernet adapter in Linux
Viewed 2802 times since Fri, Jun 8, 2018
Netcat shell zabezpieczony hasłem
Viewed 2315 times since Thu, May 24, 2018
linux ssh Remotely Initiated Reverse SSH Tunnel
Viewed 3253 times since Wed, Apr 22, 2020
Open SSL Creating Certificate Signing Request — CSR Generation
Viewed 1977 times since Mon, Feb 18, 2019
ZFS: Snapshots and clones on zfs filesystems
Viewed 3167 times since Sun, Jun 3, 2018
LVM: Mount LVM Partition(s) in Rescue Mode
Viewed 4936 times since Sat, Jun 2, 2018
How to Register and Enable Red Hat Subscription, Repositories and Updates for RHEL 7.0 Server
Viewed 12909 times since Mon, Oct 29, 2018
Set Up SSH Tunneling on a Linux / Unix / BSD Server To Bypass NAT
Viewed 11385 times since Fri, May 15, 2020
Linux: how to monitor the nofile limit
Viewed 10752 times since Wed, Jul 25, 2018