- 论坛徽章:
- 0
|
现有的/var 空间
/dev/vg00/lvol7 6291456 5715112 571992 91% /var
想扩大/var 空间到另外两个硬盘, 现在已经用vgextend 和lvextend 到另两个硬盘,
lvdisplay -v /dev/vg00/lvol7
--- Logical volumes ---
LV Name /dev/vg00/lvol7
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 40000
Current LE 5000
Allocated PE 10000
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c1t0d0 768 768
/dev/dsk/c2t0d0 768 768
/dev/dsk/c1t2d0 4232 4232
/dev/dsk/c2t2d0 4232 4232
但是/var 空间仍然没有变化,
bdf
/dev/vg00/lvol7 6291456 5715112 571984 91% /var
是不是必须要运行extendfs
#extendfs /dev/vg00/lvol7
vxfs extendfs: /dev/vg00/lvol7 is mounted, cannot extend.
必须要重新启动到单用户模式再扩大extendfs吗 |
|