local storage - How to remove physical volume from volume group LVM? -


hello attached 1tb of storage virtual machine. , attached root storage using lvm. physical volumes below

    pvdisplay    --- physical volume ---   pv name               /dev/vda5   vg name               mesos-node-vg   pv size               19.52 gib / not usable 2.00 mib   allocatable           yes (but full)   pe size               4.00 mib   total pe              4997   free pe               0   allocated pe          4997   pv uuid               oida72-rlgo-md23-cn5m-omeh-6tv8-iiwar1    --- physical volume ---   pv name               /dev/vda3   vg name               mesos-node-vg   pv size               20.00 gib / not usable 0      allocatable           yes (but full)   pe size               4.00 mib   total pe              5120   free pe               0   allocated pe          5120   pv uuid               py6srh-svym-fzhq-ong1-p4tz-ebew-vrm9pk    --- physical volume ---   pv name               /dev/vdb1   vg name               mesos-node-vg   pv size               1000.00 gib / not usable 3.00 mib   allocatable           yes    pe size               4.00 mib   total pe              255999   free pe               14079   allocated pe          241920   pv uuid               vb0osb-sstw-p7sd-it4b-k66g-tzdu-nzo2f3 

i want remove physical volume /dev/vdb1 vm. when tried vgreduce giving me error below

vgreduce mesos-node-vg /dev/vdb1   physical volume "/dev/vdb1" still in use 

how can remove /dev/vdb1 volume group?? aim remove storage vm, resize vm , attach storage vm. appreciated.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -