Tag: rmdev

Removing jfs2 filesystem

Removing filesystem /tsmdbtmp

root@aix:/ # df -m
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 5120.00 4061.67 21% 15690 2% /
/dev/hd2 5120.00 1654.30 68% 62483 14% /usr
/dev/hd9var 4096.00 1206.40 71% 13476 5% /var
/dev/hd3 4096.00 2477.13 40% 3112 1% /tmp
/dev/hd1 10752.00 9897.09 8% 266 1% /home
/dev/hd11admin 512.00 511.57 1% 5 1% /admin
/proc – – – – – /proc
/dev/hd10opt 6144.00 2451.30 61% 45594 7% /opt
/dev/livedump 512.00 511.31 1% 5 1% /var/adm/ras/livedump
/dev/fslv01 1024.00 1020.62 1% 560 1% /usr/users
/dev/fslv02 2048.00 1693.61 18% 70 1% /local
/dev/fslv03 20480.00 8860.54 57% 38450 2% /usr/software/oracle
/dev/fslv04 51200.00 27043.68 48% 17670 1% /bkpcvrd
/dev/fslv05 2048.00 1948.29 5% 89 1% /audit
/dev/fslv06 234592.00 130406.19 45% 81 1% /usr/oradata/orarvt1
/dev/fslv07 6144.00 6142.74 1% 3 1% /home/db2inst1
/dev/fslv08 511904.00 511825.50 1% 4 1% /tsmdbtmp

Remove the filesystem

root@aix:/ # rmfs -r /tsmdbtmp

Checking logical volume, volume group and physical volume information

root@aix:/ # lslv fslv08
LOGICAL VOLUME: fslv08 VOLUME GROUP: tsmdbtmp
LV IDENTIFIER: 00c94ad400004c000000015d801914eb.2 PERMISSION: read/write
VG STATE: active/complete LV STATE: closed/syncd
TYPE: jfs2 WRITE VERIFY: off
MAX LPs: 15997 PP SIZE: 32 megabyte(s)
COPIES: 1 SCHED POLICY: parallel
LPs: 15997 PPs: 15997
STALE PPs: 0 BB POLICY: relocatable
INTER-POLICY: minimum RELOCATABLE: yes
INTRA-POLICY: middle UPPER BOUND: 2
MOUNT POINT: /tsmdbtmp LABEL: /tsmdbtmp
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?: NO
INFINITE RETRY: no

Checking volume group tsmdbtmp

root@aix:/ # lsvg tsmdbtmp
VOLUME GROUP: tsmdbtmp VG IDENTIFIER: 00c94ad400004c000000015d801914eb
VG STATE: active PP SIZE: 32 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 15999 (511968 megabytes)
MAX LVs: 256 FREE PPs: 1 (32 megabytes)
LVs: 2 USED PPs: 15998 (511936 megabytes)
OPEN LVs: 0 QUORUM: 2 (Enabled)
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 16256 MAX PVs: 2
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
PV RESTRICTION: none INFINITE RETRY: no
DISK BLOCK SIZE: 512 CRITICAL VG: no

Listing physical volumes

root@aix:/ # lspv
hdisk0 00c94ad454a2d4c5 rootvg active
hdisk1 00c94ad45808a18f rootvg active
hdisk3 00c94ad4229190d8 tsmpoolvg active
hdisk21 00ce196f4b9604c3 aplicvg active
hdisk22 00ce196f418e3f6d aplicvg active
hdisk44 00c94ad4c75dfb09 aplicvg active
hdisk2 none None
hdisk57 00c94ad481c4f2aa aplicvg active
hdisk55 00c94ad4f99f7480 tsm55dbvg active
hdisk56 00c94ad4f99f2d43 tsm55logvg active
hdisk4 00c94ad4801882d5 tsmdbtmp active

Checking if there is an active logical volume

root@aix:/ # lsvg -l tsmdbtmp
tsmdbtmp:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
loglv00 jfs2log 1 1 1 closed/syncd N/A
fslv08 jfs2 15997 15997 1 closed/syncd /tsmdbtmp

Deactivating a volume group and removing disk

root@aix:/ # varyoffvg tsmdbtmp

root@aix:/ # exportvg tsmdbtmp

I need to return the disk to storage. Removing device from system

root@aix:/ # rmdev -dl hdisk4
hdisk4 deleted

Replacing a disk in AIX

IBM technician informed that disk on DQD 82MC-P3-D5 needs to be replaced.

Server is ESERVER P5 570 9117 with 2 LPARs

aix6
aix7

Listing disks

root@aix6:/ # lsdev -Cc disk
hdisk0 Available 08-08-00 SAS Disk Drive
hdisk1 Available 08-08-00 SAS Disk Drive
hdisk2 Available 08-08-00 SAS RAID 5 Disk Array
hdisk3 Available 0D-08-00 SAS RAID 5 Disk Array
hdisk4 Available 01-00-02 MPIO FC 2145
hdisk21 Available 01-00-02 MPIO FC 2145
hdisk22 Available 01-00-02 MPIO FC 2145
hdisk44 Available 01-00-02 MPIO FC 2145
hdisk55 Available 01-00-02 MPIO FC 2145
hdisk56 Available 01-00-02 MPIO FC 2145
hdisk57 Available 01-00-02 MPIO FC 2145

Trying to find disk with Hardware Location Code DQD 82MC-P3-D5

root@aix6:/ # lsdev -Cc disk | awk ‘{print “lscfg -vpl “$1’}
lscfg -vpl hdisk0
lscfg -vpl hdisk1
lscfg -vpl hdisk2
lscfg -vpl hdisk3
lscfg -vpl hdisk4
lscfg -vpl hdisk21
lscfg -vpl hdisk22
lscfg -vpl hdisk44
lscfg -vpl hdisk55
lscfg -vpl hdisk56
lscfg -vpl hdisk57

root@aix6:/ # lsdev -Cc disk | awk ‘{print “lscfg -vpl “$1” | grep \”Hardware Location Code\””‘} | sh
Hardware Location Code……U789D.001.DQD60VA-P3-D5
Hardware Location Code……U789D.001.DQD60VA-P3-D6

Found on LPAR aix7

root@aix7:/root # lsdev -Cc disk | awk ‘{print “lscfg -vpl “$1” | grep \”Hardware Location Code\””‘} | sh
Hardware Location Code……U789D.001.DQD82MC-P3-D1
Hardware Location Code……U789D.001.DQD82MC-P3-D2
Hardware Location Code……U789D.001.DQD82MC-P3-D3
Hardware Location Code……U789D.001.DQD82MC-P3-D4
Hardware Location Code……U789D.001.DQD82MC-P3-D5
Hardware Location Code……U789D.001.DQD82MC-P3-D6

root@aix7:/root # lscfg -vpl hdisk4
hdisk4 U789D.001.DQD82MC-P3-D5 SAS Disk Drive (450000 MB)

Manufacturer…………….IBM
Machine Type and Model……ST3450856SS
FRU Number………………44V4432
ROS Level and ID…………45363134
Serial Number……………3QQ0KZEP
EC Level………………..L35857
Part Number……………..44V4433
Device Specific.(Z0)……..000005329F001002
Device Specific.(Z1)……..1217E614
Device Specific.(Z2)……..0021
Device Specific.(Z3)……..000-0
Device Specific.(Z4)……..
Device Specific.(Z5)……..22
Device Specific.(Z6)……..L35857
Hardware Location Code……U789D.001.DQD82MC-P3-D5

PLATFORM SPECIFIC

Name: disk
Node: disk
Device Type: block

Before replacing the disk using diag, remove disk definition otherwise you will receive the error: The device is currently in use and cannot be removed

root@aix7:/root # rmdev -dl hdisk4
hdisk4 deleted

Run diag

root@aix7:/root # diag
DIAGNOSTIC OPERATING INSTRUCTIONS VERSION 7.1.3.15 801001

LICENSED MATERIAL and LICENSED INTERNAL CODE – PROPERTY OF IBM
(C) COPYRIGHTS BY IBM AND BY OTHERS 1982, 2014.
ALL RIGHTS RESERVED.

These programs contain diagnostics, service aids, and tasks for
the system. These procedures should be used whenever problems
with the system occur which have not been corrected by any
software application procedures available.

In general, the procedures will run automatically. However,
sometimes you will be required to select options, inform the
system when to continue, and do simple tasks.

Several keys are used to control the procedures:
– The Enter key continues the procedure or performs an action.
– The Backspace key allows keying errors to be corrected.
– The cursor keys are used to select an option.

Press the F3 key to exit or press Enter to continue.

FUNCTION SELECTION 801002

Move cursor to selection, then press Enter.

Diagnostic Routines
This selection will test the machine hardware. Wrap plugs and
other advanced functions will not be used.
Advanced Diagnostics Routines
This selection will test the machine hardware. Wrap plugs and
other advanced functions will be used.
Task Selection (Diagnostics, Advanced Diagnostics, Service Aids, etc.)
This selection will list the tasks supported by these procedures.
Once a task is selected, a resource menu may be presented showing
all resources supported by the task.
Resource Selection
This selection will list the resources in the system that are supported
by these procedures. Once a resource is selected, a task menu will
be presented showing all tasks that can be run on the resource(s).

TASKS SELECTION LIST 801004

From the list below, select a task by moving the cursor to
the task and pressing ‘Enter’.
To list the resources for the task highlighted, press ‘List’.

Run Diagnostics
Run Error Log Analysis
Run Exercisers
Display or Change Diagnostic Run Time Options

Add Resource to Resource List
Automatic Error Log Analysis and Notification
Backup and Restore Media
Certify Media
Change Hardware Vital Product Data
Configure Platform Processor Diagnostics
Delete Resource from Resource List
Disk Maintenance
Display Configuration and Resource List
Display Firmware Device Node Information
Display Hardware Error Report
Display Hardware Vital Product Data
Display Multipath I/O (MPIO) Device Configuration
Display Previous Diagnostic Results
Display Resource Attributes
Display Service Hints
Display Software Product Data
Display or Change Bootlist
Format Media
Gather System Information
Hot Plug Task
IBM Tape Drive Service Aids
This selection provides a set of tools to perform utility functions on
Tape and Medium Changer Devices supported by the Atape Device Driver.
Identify and Attention Indicators
Log Repair Action
Microcode Tasks
Periodic Diagnostics
RAID Array Manager
Update Disk Based Diagnostics

Hot Plug Task 801004

Move cursor to desired item and press Enter.

PCI Hot Plug Manager
SCSI and SCSI RAID Hot Plug Manager

SCSI and SCSI RAID HOT PLUG MANAGER 802481

The following operations can be performed on devices attached to
SCSI and SCSI RAID Hot Plug Enclosure devices.

Make selection, use Enter to continue.

List Hot Swap Enclosure Devices
This selection lists all scsi hot swap slots and their contents.
Identify a Device Attached to a SCSI Hot Swap Enclosure Device
This selection sets the Identify indication.
Attach a Device to an SCSI Hot Swap Enclosure Device
This selection sets the Add indication and prepares
the slot for insertion of a device.
Replace/Remove a Device Attached to an SCSI Hot Swap Enclosure Device
This selection sets the Remove indication and prepares
the device for removal.
Configure Added/Replaced Devices
This selection runs the configuration manager on the
parent adapter where devices have been added or replaced.

REMOVE OR REPLACE DEVICE ATTACHED TO A SCSI HOT SWAP ENCLOSURE DEVICE 802485

The following is a list of configured, unconfigured and populated
SCSI Hot Swap Enclosure device slots. Select a slot to remove or
replace the device attached to that slot.
ENSURE THAT NO OTHER HOST IS USING THE DEVICE BEFORE REMOVING IT.

Make selection, use Enter to continue.

U789D.001.DQD50B4-
ses0 P4-Y1
slot 1 P4-D1 cd0

U789D.001.DQD82MC-
ses1 P3-Y2
ses2 P3-Y1
slot 1 P3-D1 hdisk0
slot 2 P3-D2 hdisk1
slot 3 P3-D3 hdisk2
slot 4 P3-D4 hdisk3
slot 5 P3-D5 [populated]
slot 6 P3-D6 hdisk5

Tell the technician to replace the disk. After disk is replaced, press Enter

The LED should be in the Remove state for the selected device. You may now remove or replace the device. Use ‘Enter’ to indicate you are finished.

Instead of showing populated, it will show the disk name

REMOVE OR REPLACE DEVICE ATTACHED TO A SCSI HOT SWAP ENCLOSURE DEVICE 802485

The following is a list of configured, unconfigured and populated
SCSI Hot Swap Enclosure device slots. Select a slot to remove or
replace the device attached to that slot.
ENSURE THAT NO OTHER HOST IS USING THE DEVICE BEFORE REMOVING IT.

Make selection, use Enter to continue.

U789D.001.DQD50B4-
ses0 P4-Y1
slot 1 P4-D1 cd0

U789D.001.DQD82MC-
ses1 P3-Y2
ses2 P3-Y1
slot 1 P3-D1 hdisk0
slot 2 P3-D2 hdisk1
slot 3 P3-D3 hdisk2
slot 4 P3-D4 hdisk3
slot 5 P3-D5 hdisk4
slot 6 P3-D6 hdisk5

Source:
Replacing a disk drive with the AIX system or logical partition powered on
Replacing a SCSI disk drive

AIX – Removing disks from a volume group and then inserting a new disk

This activity they intend to remove a disk array drawer and so a new disk will be added and some old disks will be removed

Listing the disks

root@aix:/ # lspv
hdisk0 0003416af966647d rootvg active
hdisk1 0003416af740bb45 rootvg active
hdisk2 0003416a783c13a2 datavg active
hdisk3 0003416af7cc1c47 datavg active
hdisk4 0003416af7cc1cef datavg active
hdisk5 0003416af7cc1d8e datavg active
hdisk6 0003416af7cc1e47 datavg active
hdisk7 0003416a702e8968 datavg active
hdisk8 0003416af7cc1f97 datavg active
hdisk9 0003416afae71331 datavg active
hdisk10 0003416afae713de None
hdisk11 0003416afae7147e datavg active
hdisk12 0003416afae71520 datavg active
hdisk13 0003416afae715c5 datavg active
hdisk14 0003416afae7166c datavg active
hdisk15 0003416abe0699e3 datavg active
hdisk18 0003416a96438ea0 poolvg active
hdisk19 0003416a964390f3 poolvg active
hdisk20 0003416a96439327 poolvg active
hdisk21 0003416a964395d5 poolvg active
hdisk16 0003416a2f20c609 pool02vg active
hdisk17 0003416a2f20e88c pool03vg active

The command to find the newly inserted disk

root@aix:/ # cfgmgr

Listing the disk again. The new disk is the hdisk22

root@aix:/ # lspv
hdisk0 0003416af966647d rootvg active
hdisk1 0003416af740bb45 rootvg active
hdisk2 0003416a783c13a2 datavg active
hdisk3 0003416af7cc1c47 datavg active
hdisk4 0003416af7cc1cef datavg active
hdisk5 0003416af7cc1d8e datavg active
hdisk6 0003416af7cc1e47 datavg active
hdisk7 0003416a702e8968 datavg active
hdisk8 0003416af7cc1f97 datavg active
hdisk9 0003416afae71331 datavg active
hdisk10 0003416afae713de None
hdisk11 0003416afae7147e datavg active
hdisk12 0003416afae71520 datavg active
hdisk13 0003416afae715c5 datavg active
hdisk14 0003416afae7166c datavg active
hdisk15 0003416abe0699e3 datavg active
hdisk18 0003416a96438ea0 poolvg active
hdisk19 0003416a964390f3 poolvg active
hdisk20 0003416a96439327 poolvg active
hdisk21 0003416a964395d5 poolvg active
hdisk16 0003416a2f20c609 pool02vg active
hdisk17 0003416a2f20e88c pool03vg active
hdisk22 none None

Checking if the hdisk22 is coming from the disk array

root@aix:/ # lsdev -Cc disk
hdisk0 Available 1Z-08-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 1Z-08-00-9,0 16 Bit LVD SCSI Disk Drive
hdisk2 Available 1Z-08-00-10,0 16 Bit LVD SCSI Disk Drive
hdisk3 Available 1Z-08-00-11,0 16 Bit LVD SCSI Disk Drive
hdisk4 Available 25-08-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk5 Available 25-08-00-9,0 16 Bit LVD SCSI Disk Drive
hdisk6 Available 25-08-00-10,0 16 Bit LVD SCSI Disk Drive
hdisk7 Available 25-08-00-11,0 16 Bit LVD SCSI Disk Drive
hdisk8 Available 25-08-00-12,0 16 Bit LVD SCSI Disk Drive
hdisk9 Available 25-08-00-13,0 16 Bit LVD SCSI Disk Drive
hdisk10 Available 25-09-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk11 Available 25-09-00-9,0 16 Bit LVD SCSI Disk Drive
hdisk12 Available 25-09-00-10,0 16 Bit LVD SCSI Disk Drive
hdisk13 Available 25-09-00-11,0 16 Bit LVD SCSI Disk Drive
hdisk14 Available 25-09-00-12,0 16 Bit LVD SCSI Disk Drive
hdisk15 Available 25-09-00-13,0 16 Bit LVD SCSI Disk Drive
hdisk16 Available 1f-08-02 1722-600 (600) Disk Array Device
hdisk17 Available 2a-08-02 1722-600 (600) Disk Array Device
hdisk18 Available 2a-08-02 1722-600 (600) Disk Array Device
hdisk19 Available 2a-08-02 1722-600 (600) Disk Array Device
hdisk20 Available 2a-08-02 1722-600 (600) Disk Array Device
hdisk21 Available 2a-08-02 1722-600 (600) Disk Array Device
hdisk22 Available 1f-08-02 1722-600 (600) Disk Array Device

Adding hdisk22 to the volume group poolvg

root@aix:/ # extendvg poolvg hdisk22
0516-1254 extendvg: Changing the PVID in the ODM.

Listing the disks to check if hdisk22 is in the poolvg

root@aix:/ # lspv | grep hdisk22
hdisk22 0003416a16888bf6 poolvg active

Listing the logical volumes from the volume group poolvg

root@aix:/ # lsvg -l poolvg
poolvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
pool_lv001 raw 128 128 4 open/syncd N/A
pool_lv002 raw 128 128 4 open/syncd N/A
pool_lv003 raw 128 128 4 open/syncd N/A
pool_lv004 raw 128 128 4 open/syncd N/A
pool_lv005 raw 128 128 4 open/syncd N/A
pool_lv006 raw 128 128 4 open/syncd N/A
pool_lv007 raw 128 128 4 open/syncd N/A
pool_lv008 raw 128 128 4 open/syncd N/A
pool_lv009 raw 128 128 4 open/syncd N/A
pool_lv010 raw 128 128 4 open/syncd N/A
pool_lv011 raw 128 128 4 open/syncd N/A
pool_lv012 raw 128 128 4 open/syncd N/A

Checking the characteristics from hdisk22

root@aix:/ # lspv hdisk22
PHYSICAL VOLUME: hdisk22 VOLUME GROUP: hsm_pool_vg
PV IDENTIFIER: 0003416a16888bf6 VG IDENTIFIER 0003416a00004c00000001129644220a
PV STATE: active
STALE PARTITIONS: 0 ALLOCATABLE: yes
PP SIZE: 256 megabyte(s) LOGICAL VOLUMES: 0
TOTAL PPs: 4462 (1142272 megabytes) VG DESCRIPTORS: 1
FREE PPs: 4462 (1142272 megabytes) HOT SPARE: no
USED PPs: 0 (0 megabytes) MAX REQUEST: 1 megabyte
FREE DISTRIBUTION: 893..892..892..892..893
USED DISTRIBUTION: 00..00..00..00..00

Removing the logical volumes. Repeat with all the logical volumes

root@aix:/ # rmlv -f hsm_pool_lv003
rmlv: Logical volume pool_lv003 is removed.

Removing the disks hdisk18, hdisk19, hdisk20 and hdisk21 from the volume group poolvg

root@aix:/ # reducevg poolvg hdisk18
root@aix:/ # reducevg poolvg hdisk19
root@aix:/ # reducevg poolvg hdisk20
root@aix:/ # reducevg poolvg hdisk21

Checking if the disks were removed

root@aix:/ # lspv
hdisk0 0003416af966647d rootvg active
hdisk1 0003416af740bb45 rootvg active
hdisk2 0003416a783c13a2 datavg active
hdisk3 0003416af7cc1c47 datavg active
hdisk4 0003416af7cc1cef datavg active
hdisk5 0003416af7cc1d8e datavg active
hdisk6 0003416af7cc1e47 datavg active
hdisk7 0003416a702e8968 datavg active
hdisk8 0003416af7cc1f97 datavg active
hdisk9 0003416afae71331 datavg active
hdisk10 0003416afae713de None
hdisk11 0003416afae7147e datavg active
hdisk12 0003416afae71520 datavg active
hdisk13 0003416afae715c5 datavg active
hdisk14 0003416afae7166c datavg active
hdisk15 0003416abe0699e3 datavg active
hdisk18 0003416a96438ea0 None
hdisk19 0003416a964390f3 None
hdisk20 0003416a96439327 None
hdisk21 0003416a964395d5 None
hdisk16 0003416a2f20c609 pool02vg active
hdisk17 0003416a2f20e88c pool03vg active
hdisk22 0003416a16888bf6 poolvg active

Removing the disk definition from the system

root@aix:/ # rmdev -dl hdisk18
hdisk18 deleted
root@aix:/ # rmdev -dl hdisk19
hdisk19 deleted
root@aix:/ # rmdev -dl hdisk20
hdisk20 deleted
root@aix:/ # rmdev -dl hdisk21
hdisk21 deleted

Checking if the disks are ready to be physically removed

root@aix:/ # lspv
hdisk0 0003416af966647d rootvg active
hdisk1 0003416af740bb45 rootvg active
hdisk2 0003416a783c13a2 datavg active
hdisk3 0003416af7cc1c47 datavg active
hdisk4 0003416af7cc1cef datavg active
hdisk5 0003416af7cc1d8e datavg active
hdisk6 0003416af7cc1e47 datavg active
hdisk7 0003416a702e8968 datavg active
hdisk8 0003416af7cc1f97 datavg active
hdisk9 0003416afae71331 datavg active
hdisk10 0003416afae713de None
hdisk11 0003416afae7147e datavg active
hdisk12 0003416afae71520 datavg active
hdisk13 0003416afae715c5 datavg active
hdisk14 0003416afae7166c datavg active
hdisk15 0003416abe0699e3 datavg active
hdisk16 0003416a2f20c609 pool02vg active
hdisk17 0003416a2f20e88c pool03vg active
hdisk22 0003416a16888bf6 poolvg active

The disks don’t appear anymore

root@aix:/ # lspv | egrep ‘hdisk18|hdisk19|hdisk20|hdisk21’
root@aix:/ #

Creating the logical volumes in the volume group to replace the old ones deleted

mklv -t raw -y pool_lv001 poolvg 128
mklv -t raw -y pool_lv002 poolvg 128
mklv -t raw -y pool_lv003 poolvg 128
mklv -t raw -y pool_lv004 poolvg 128
mklv -t raw -y pool_lv005 poolvg 128
mklv -t raw -y pool_lv006 poolvg 128
mklv -t raw -y pool_lv007 poolvg 128
mklv -t raw -y pool_lv008 poolvg 128
mklv -t raw -y pool_lv009 poolvg 128
mklv -t raw -y pool_lv010 poolvg 128
mklv -t raw -y pool_lv011 poolvg 128
mklv -t raw -y pool_lv012 poolvg 128
mklv -t raw -y pool_lv013 poolvg 128
mklv -t raw -y pool_lv014 poolvg 128
mklv -t raw -y pool_lv015 poolvg 128
mklv -t raw -y pool_lv016 poolvg 128
mklv -t raw -y pool_lv017 poolvg 128
mklv -t raw -y pool_lv018 poolvg 128
mklv -t raw -y pool_lv019 poolvg 128
mklv -t raw -y pool_lv020 poolvg 128
mklv -t raw -y pool_lv021 poolvg 128
mklv -t raw -y pool_lv022 poolvg 128
mklv -t raw -y pool_lv023 poolvg 128
mklv -t raw -y pool_lv024 poolvg 128
mklv -t raw -y pool_lv025 poolvg 128
mklv -t raw -y pool_lv026 poolvg 128
mklv -t raw -y pool_lv027 poolvg 128
mklv -t raw -y pool_lv028 poolvg 128
mklv -t raw -y pool_lv029 poolvg 128
mklv -t raw -y pool_lv030 poolvg 128
mklv -t raw -y pool_lv031 poolvg 128
mklv -t raw -y pool_lv032 poolvg 128
mklv -t raw -y pool_lv033 poolvg 128
mklv -t raw -y pool_lv034 poolvg 128

Verifying the volume group poolvg

root@aix:/ # lsvg poolvg
VOLUME GROUP: poolvg VG IDENTIFIER: 0003416a00004c00000001129644220a
VG STATE: active PP SIZE: 256 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 4462 (1142272 megabytes)
MAX LVs: 256 FREE PPs: 110 (28160 megabytes)
LVs: 34 USED PPs: 4352 (1114112 megabytes)
OPEN LVs: 0 QUORUM: 2
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 30480
MAX PPs per PV: 5080 MAX PVs: 6
LTG size (Dynamic): 1024 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable