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
stunnel bacula
Viewed 847 times since Fri, Sep 28, 2018
ZFS: Verify/change properties of a zfs filesystem
Viewed 985 times since Sun, Jun 3, 2018
Linux Health Check Commands
Viewed 838 times since Fri, Jun 8, 2018
Extending Linux LVM partitions - scripts
Viewed 3441 times since Sun, May 20, 2018
zabbix linux How to solve apache error No space left on device: Cannot create SSLMutex
Viewed 213 times since Wed, Nov 11, 2020
HowTo: Find Out Hard Disk Specs / Details on Linux
Viewed 1015 times since Mon, Jan 28, 2019
Fix rpmdb: Thread died in Berkeley DB library
Viewed 919 times since Fri, Feb 14, 2020
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 11465 times since Thu, Jun 21, 2018
Using renice and taskset to manage process priority and CPU affinity with Linux OEL 6.4
Viewed 887 times since Mon, Feb 17, 2020
How to create a Systemd service in Linux
Viewed 286 times since Mon, Dec 7, 2020