How to increase LP count in AIX filesystem ?

Today we will see how to increase LP count of an AIX filesystem.

LP count is a limit set in a particular LV where we can’t increase the size of LV more than that limit even if the space is available in VG.

1. First check the filesystem for which we wish to increase the LP count.

ngeaix560 --> df -gt /oragrid
Filesystem GB blocks Used Free %Used Mounted on
/dev/prodglv 129.81 52.99 76.82 41% /oragrid

 

2. List the logical volume details to get the count of LPs.

ngeaix560 --> lslv prodglv
LOGICAL VOLUME: prodglv VOLUME GROUP: productsvg
LV IDENTIFIER: 00cfc34700004c0000000164cbd205f1.4 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs2 WRITE VERIFY: off
MAX LPs: 2277 PP SIZE: 64 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 2077 PPs: 2077
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 1024
MOUNT POINT: /oragrid LABEL: /oragrid
DEVICE UID: 0 DEVICE GID: 0
DEVICE PERMISSIONS: 432
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO
INFINITE RETRY: no PREFERRED READ: 0
DEVICESUBTYPE: DS_LVZ
COPY 1 MIRROR POOL: None
COPY 2 MIRROR POOL: None
COPY 3 MIRROR POOL: None

3. Increase the LP count now.

ngeaix560 --> chlv -x 3000 prodglv

## Check if its increased now.
ngeaix560 --> lslv prodglv
LOGICAL VOLUME: prodglv VOLUME GROUP: productsvg
LV IDENTIFIER: 00cfc34700004c0000000164cbd205f1.4 PERMISSION: read/write
VG STATE: active/complete LV STATE: opened/syncd
TYPE: jfs2 WRITE VERIFY: off
MAX LPs: 3000 PP SIZE: 64 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 3000 PPs: 2077
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 1024
MOUNT POINT: /oragrid LABEL: /oragrid
DEVICE UID: 0 DEVICE GID: 0
DEVICE PERMISSIONS: 432
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO
INFINITE RETRY: no PREFERRED READ: 0
DEVICESUBTYPE: DS_LVZ
COPY 1 MIRROR POOL: None
COPY 2 MIRROR POOL: None
COPY 3 MIRROR POOL: None
ngeaix560 -->

Leave a Reply

Your email address will not be published.