Re: How to remove LVM Physical Volume from Volume Group?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Ljubomir Ljubojevic
Sent: Tuesday, June 24, 2014 11:37 AM
To: CentOS mailing list
Subject:  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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux