-1
我在RHEL 6.6上搭配lvm2-2.02.111-2。 在這臺機器上,我有一個非常不同尋常的LVM設置:它在4段中被剝離31個磁盤4 + TB。如何在RHEL LVM2上調整剝離的LV的大小?
現在的問題是我需要延長LV + 100GB,我應該添加多少個100GB磁盤到系統中來做到這一點?
下面摘錄的信息供參考。 謝謝!
[[email protected] ~]# pvs | grep vg_str_data |wc -l
31
[[email protected] ~]# lvs -a -o segtype,devices,lv_name,vg_name /dev/vg_str_data/lv_str_data
Type Devices LV VG
striped /dev/sdi(0),/dev/sdj(0),/dev/sdk(0),/dev/sdd(0),/dev/sde(0),/dev/sdf(0),/dev/sdg(0),/dev/sdl(0),/dev/sdm(0),/dev/sdn(0) lv_str_data vg_str_data
striped /dev/sdo1(0),/dev/sdo2(0),/dev/sdo3(0),/dev/sdo5(0),/dev/sdo6(0),/dev/sdp1(0),/dev/sdp2(0),/dev/sdp3(0),/dev/sdp5(0),/dev/sdp6(0) lv_str_data vg_str_data
striped /dev/sdr1(0),/dev/sdr2(0),/dev/sdr3(0),/dev/sdr5(0),/dev/sdr6(0),/dev/sds1(0),/dev/sds2(0),/dev/sds3(0),/dev/sds5(0),/dev/sds6(0) lv_str_data vg_str_data
striped /dev/sdt1(0),/dev/sdo2(15252),/dev/sdo3(15252),/dev/sdo5(15252),/dev/sdp2(15252),/dev/sdp3(15252),/dev/sdp5(15252),/dev/sdr1(15354),/dev/sdr2(15354),/dev/sdr3(15354) lv_str_data vg_str_data
[[email protected] ~]# lvdisplay -m /dev/vg_str_data/lv_str_data
--- Logical volume ---
LV Path /dev/vg_str_data/lv_str_data
LV Name lv_str_data
VG Name vg_str_data
LV UUID RcYdq5-yzxc-feL0-GuVN-flKK-0oYA-TZbzre
LV Write Access read/write
LV Creation host, time ,
LV Status available
# open 1
LV Size 4.10 TiB
Current LE 1074110
Segments 4
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
--- Segments ---
Logical extents 0 to 767989:
Type striped
Stripes 10
Stripe size 4.00 KiB
Logical extents 767990 to 920509:
Type striped
Stripes 10
Stripe size 4.00 KiB
Logical extents 920510 to 1074049:
Type striped
Stripes 10
Stripe size 4.00 KiB
Logical extents 1074050 to 1074109:
Type striped
Stripes 10
Stripe size 4.00 KiB