[CentOS] How to remove LVM Physical Volume from Volume Group?

Tue Jun 24 19:31:50 UTC 2014
Zhang, Jonathan <zhangj at evergreen.edu>

Fidsk -l (you will see sdd5, sdd6 and sdd7)
Pvdisplay (to make sure the Allocated PE on /dev/sdd7
Vgreduce vg_data /dev/sdd7
Pvremove /dev/sdd7

(before you run vgreduce you need to move all data from sdd7 to new dic



-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Ljubomir Ljubojevic
Sent: Tuesday, June 24, 2014 11:37 AM
To: CentOS mailing list
Subject: [CentOS] How to remove LVM Physical Volume from Volume Group?

Hi. I have a volume group (let's say) vg_data.
It consists from /dev/sdd5
                       sdd6
                       sdd7
I added               sdc5

Now I want to remove (free) sdd7 and you is to for RAID partition.

What are the commands (ordered) I need to perform? I failed to find clear howto.


vg-data has only one partition, total size is over 1TB, free space is 
about 500GB so there is a plenty or room.


-- 
Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

StarOS, Mikrotik and CentOS/RHEL/Linux consultant
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos