1. Проверяем есть ли лицензия VERITAS.
# vxlicrep | grep Online
HP_OnlineJFS = Enabled
2. Лицензия есть. Расширяем раздел.
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol1 1835008 17942 1703507 1% /test
# vgdisplay -v vg01
...
PE Size (Mbytes) 8
Total PE 4341
Alloc PE 4096
Free PE 245
...
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 1792
Current LE 224
Allocated PE 224
Used PV 1
...
# lvextend -l 300 /dev/vg01/lvol1
Logical volume "/dev/vg01/lvol1" has been successfully extended.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
# vgdisplay -v vg01
...
PE Size (Mbytes) 8
Total PE 4341
Alloc PE 4172
Free PE 169
...
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 300
Allocated PE 300
Used PV 1
...
# bdf /test
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol1 1835008 17942 1703507 1% /test
# fsadm -F vxfs -b 2400M /test
UX:vxfs fsadm: INFO: V-3-25942: /dev/vg01/rlvol1 size increased from 1835008 sectors to 2457600 sectors
# bdf /test
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol1 2457600 18095 2287043 1% /test
3. Нет лицензии. Используем extendfs.
# bdf /test
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol1 1835008 17942 1703507 1% /test
# vgdisplay -v vg01
...
PE Size (Mbytes) 8
Total PE 4341
Alloc PE 4096
Free PE 245
...
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 1792
Current LE 224
Allocated PE 224
Used PV 1
...
# lvextend -l 300 /dev/vg01/lvol1
Logical volume "/dev/vg01/lvol1" has been successfully extended.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
# vgdisplay -v vg01
...
PE Size (Mbytes) 8
Total PE 4341
Alloc PE 4172
Free PE 169
...
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 300
Allocated PE 300
Used PV 1
...
# bdf /test
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol1 1835008 17942 1703507 1% /test
# umount /test
# extendfs -F vxfs /dev/vg01/rlvol1
# mount /test
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol1 2457600 18095 2287043 1% /test
Если не получается размонтировать то делаем в Single User Mode
# vxlicrep | grep Online
HP_OnlineJFS = Enabled
2. Лицензия есть. Расширяем раздел.
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol1 1835008 17942 1703507 1% /test
# vgdisplay -v vg01
...
PE Size (Mbytes) 8
Total PE 4341
Alloc PE 4096
Free PE 245
...
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 1792
Current LE 224
Allocated PE 224
Used PV 1
...
# lvextend -l 300 /dev/vg01/lvol1
Logical volume "/dev/vg01/lvol1" has been successfully extended.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
# vgdisplay -v vg01
...
PE Size (Mbytes) 8
Total PE 4341
Alloc PE 4172
Free PE 169
...
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 300
Allocated PE 300
Used PV 1
...
# bdf /test
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol1 1835008 17942 1703507 1% /test
# fsadm -F vxfs -b 2400M /test
UX:vxfs fsadm: INFO: V-3-25942: /dev/vg01/rlvol1 size increased from 1835008 sectors to 2457600 sectors
# bdf /test
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol1 2457600 18095 2287043 1% /test
3. Нет лицензии. Используем extendfs.
# bdf /test
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol1 1835008 17942 1703507 1% /test
# vgdisplay -v vg01
...
PE Size (Mbytes) 8
Total PE 4341
Alloc PE 4096
Free PE 245
...
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 1792
Current LE 224
Allocated PE 224
Used PV 1
...
# lvextend -l 300 /dev/vg01/lvol1
Logical volume "/dev/vg01/lvol1" has been successfully extended.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
# vgdisplay -v vg01
...
PE Size (Mbytes) 8
Total PE 4341
Alloc PE 4172
Free PE 169
...
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 2400
Current LE 300
Allocated PE 300
Used PV 1
...
# bdf /test
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol1 1835008 17942 1703507 1% /test
# umount /test
# extendfs -F vxfs /dev/vg01/rlvol1
# mount /test
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol1 2457600 18095 2287043 1% /test
Если не получается размонтировать то делаем в Single User Mode