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
Odpalenie polecenia tylko na jedną godzinę
Viewed 3645 times since Thu, May 24, 2018
10 Linux DIG Command Examples for DNS Lookup
Viewed 12203 times since Sun, Sep 30, 2018
Logrotate Example for Custom Logs
Viewed 3511 times since Sun, Jan 12, 2020
6 easy steps to setup offline two factor authentication in Linux
Viewed 15608 times since Mon, Apr 6, 2020
A tcpdump Tutorial and Primer with Examples
Viewed 7364 times since Sun, Jun 17, 2018
OEL 7 – How to disable IPv6 on Oracle Linux 7 – Follow Up
Viewed 10708 times since Wed, Jul 25, 2018
Jak ustawić LVM, jak robić snapshoty oraz automatycznie powiększać LV, czyli małe howto
Viewed 5842 times since Sun, May 20, 2018
Linux File Systems (mkfs, mount, fstab) ext4
Viewed 4294 times since Sat, Jun 2, 2018
RHCS6: Clustered LVM
Viewed 3073 times since Sun, Jun 3, 2018
Prosty skaner portów TCP w bash
Viewed 4192 times since Thu, May 24, 2018