Hi,
I have following set up on Open suse 11
vgdisplay
pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name system
PV Size 14.95 GB / not usable 3.95 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 3827
Free PE 3827
Allocated PE 0
PV UUID XTK5R3-sY4a-0BBA-Trdz-oOA4-4yh2-vVGvUq
--- Physical volume ---
PV Name /dev/sdb
VG Name system
PV Size 24.98 GB / not usable 1.00 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 6394
Free PE 2323
Allocated PE 4071
PV UUID 2xFDLk-BDMo-w3To-Rji3-u2uF-Y261-smO15y
--- Physical volume ---
PV Name /dev/sdc
VG Name system
PV Size 24.98 GB / not usable 1.00 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 6394
Free PE 762
Allocated PE 5632
PV UUID ZldiOq-oV0i-7kJu-h2bE-F0N8-Itop-RS1bYj
lvdisplay
--- Logical volume ---
LV Name /dev/system/lvm_home
VG Name system
LV UUID WR1bQc-qTs0-6ZIt-vb7J-aKqW-YfA7-he3zbm
LV Write Access read/write
LV Status available
# open 2
LV Size 15.90 GB
Current LE 4071
Segments 1
Allocation inherit
Read ahead sectors auto
currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/system/lvm_root
VG Name system
LV UUID W5IYTF-0rPC-GlNJ-J1VQ-EVPq-U8Ax-hOQvX3
LV Write Access read/write
LV Status available
# open 2
LV Size 10.00 GB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors auto
currently set to 256
Block device 253:1
--- Logical volume ---
LV Name /dev/system/lvm_var
VG Name system
LV UUID VeJ7nm-t0oO-0a0M-klef-EwI4-0Ciq-N5Jg2Y
LV Write Access read/write
LV Status available
# open 2
LV Size 12.00 GB
Current LE 3072
Segments 1
Allocation inherit
Read ahead sectors auto
currently set to 256
Block device 253:2
I would like to remove these disks /dev/sdb and /dev/sdc from LVM and do not use them for anything..
Can anyone please help me with this ?
Thanks!
I would recommend that you add a drive sizable to contain the filesystems to your volume group, then pvmove to them, and then vgreduce the drives out of your VG and then power off, remove the disks and be done with it
If you don't want to remove them physically, and want to keep them for something else, you can fdisk them and use them for whatever.
run lsscsi to show the drives in a more readable way