Could you somebody help me here, How to remove physical volume(/dev/sdb) from existing root LVM?
Let me know if you need more information.
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_root-lv_root 38G 4.0G 32G 12% /
tmpfs 1004M 72K 1004M 1% /dev/shm
/dev/sda1 194M 35M 150M 19% /boot
[root@localhost ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 vg_root lvm2 a-- 37.80g 0
[root@localhost ~]# vgs
VG #PV #LV #SN Attr VSize VFree
vg_root 1 1 0 wz--n- 37.80g 0
[root@localhost ~]# lvs
LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert
lv_root vg_root -wi-ao---- 37.80g
[root@localhost ~]# lvs -a -o +devices
LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert Devices
lv_root vg_root -wi-ao---- 47.80g /dev/sda3(0)
lv_root vg_root -wi-ao---- 47.80g /dev/sdb(0)
[root@localhost ~]# lvdisplay -m /dev/mapper/vg_root-lv_root
--- Logical volume ---
LV Path /dev/vg_root/lv_root
LV Name lv_root
VG Name vg_root
LV UUID omG9F7-2RlX-9t48-30l0-hLki-nOlU-7selP5
LV Write Access read/write
LV Creation host, time localhost.localdomain, 2017-02-23 13:13:31 +0530
LV Status available
# open 1
LV Size 47.80 GiB
Current LE 12236
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Segments ---
Logical extent 0 to 9676:
Type linear
Physical volume /dev/sda3
Physical extents 0 to 9676
Logical extent 9677 to 12235:
Type linear
Physical volume /dev/sdb
Physical extents 0 to 2558
-Chetan