1) Login into the VIOS as padmin.
$ lslv <logical_volume_name>
2) $ extendlv <logical_volume_name> <Size>
3) $ chvg -g <volume_group_name> : Command to find whether the volume group size has increased or not.
$ lslv <logical_volume_name>
$ lslv db_lv
LOGICAL VOLUME: db_lv VOLUME GROUP: db_sp
LV IDENTIFIER: 00cddeec00004c000000000c4a8b3d81.1 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 32512 PP SIZE: 32 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 320 PPs: 320
STALE PPs: 0 BB POLICY: non-relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 1024
MOUNT POINT: N/A LABEL: None
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO
DEVICESUBTYPE : DS_LVZ2) $ extendlv <logical_volume_name> <Size>
$ extendlv db_lv 5G
$ lslv db_lv
LOGICAL VOLUME: db_lv VOLUME GROUP: db_sp
LV IDENTIFIER: 00cddeec00004c000000000c4a8b3d81.1 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs WRITE VERIFY: off
MAX LPs: 32512 PP SIZE: 32 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 480 PPs: 480
STALE PPs: 0 BB POLICY: non-relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 1024
MOUNT POINT: N/A LABEL: None
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO
DEVICESUBTYPE :
DS_LVZ3) $ chvg -g <volume_group_name> : Command to find whether the volume group size has increased or not.
Please, show me how to reduce a a logical volume on the Virtual I/O Server and recognize the change on the virtual Client ? Thanks
ReplyDelete