terrywashington
Technical User
I just added a 10GB SAN disk to our 7044-270 running 5.1. The disk is hdisk6. I am attempting to add it to an existing volume group called sanvg and mount it as /sanperf. Here is what I did. Am I missing something simple here? I don't have a lot of experience with AIX as we are primarily a Sun shop.
[root@aixdev1:/]# cfgmgr
[root@aixdev1:/]# lsdev -Ccdisk
hdisk0 Available 10-60-00-0,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 10-60-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk2 Available 10-60-00-9,0 16 Bit LVD SCSI Disk Drive
hdisk3 Available 10-88-00-6,0 16 Bit LVD SCSI Disk Drive
hdisk4 Available 20-58-01 Other FC SCSI Disk Drive
hdisk5 Available 20-58-01 Other FC SCSI Disk Drive
hdisk6 Available 20-58-01 Other FC SCSI Disk Drive
[root@aixdev1:/]# lspv
hdisk0 00068f8c44d6da89 rootvg
hdisk1 00068f8cb17e4db8 None
hdisk2 00068f8cb17f7709 None
hdisk3 0005456f8b1ef088 None
hdisk4 00068f8ced4c8afa sanvg
hdisk5 00068f8ced4c8afa sanvg
hdisk6 none None
[root@aixdev1:/]# chdev -l hdisk6 -a pv=yes
hdisk6 changed
[root@aixdev1:/]# lspv
hdisk0 00068f8c44d6da89 rootvg
hdisk1 00068f8cb17e4db8 None
hdisk2 00068f8cb17f7709 None
hdisk3 0005456f8b1ef088 None
hdisk4 00068f8ced4c8afa sanvg
hdisk5 00068f8ced4c8afa sanvg
hdisk6 00068f8cb7884751 None
[root@aixdev1:/]# lsvg sanvg
VOLUME GROUP: sanvg VG IDENTIFIER: 00068f8c00004c000000010fed578401
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 799 (102272 megabytes)
MAX LVs: 256 FREE PPs: 0 (0 megabytes)
LVs: 3 USED PPs: 799 (102272 megabytes)
OPEN LVs: 2 QUORUM: 2
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no
[root@aixdev1:/]# extendvg -f 'sanvg' 'hdisk6'
[root@aixdev1:/]# lsvg sanvg
VOLUME GROUP: sanvg VG IDENTIFIER: 00068f8c00004c000000010fed578401
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 878 (112384 megabytes)
MAX LVs: 256 FREE PPs: 79 (10112 megabytes)
LVs: 3 USED PPs: 799 (102272 megabytes)
OPEN LVs: 2 QUORUM: 2
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no
[root@aixdev1:/]# mkdir sanperf
[root@aixdev1:/]# crfs -v jfs2 -g sanvg -m /sanperf -a size=20729856 -A yes
0516-404 allocp: This system cannot fulfill the allocation request.
There are not enough free partitions or not enough physical volumes
to keep strictness and satisfy allocation requests. The command
should be retried with different allocation characteristics.
0516-822 mklv: Unable to create logical volume.
crfs: 0506-902 Cannot create logical volume.
crfs: 0506-944 Execute module "/sbin/helpers/jfs2/crfs" failed
[root@aixdev1:/]# cfgmgr
[root@aixdev1:/]# lsdev -Ccdisk
hdisk0 Available 10-60-00-0,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 10-60-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk2 Available 10-60-00-9,0 16 Bit LVD SCSI Disk Drive
hdisk3 Available 10-88-00-6,0 16 Bit LVD SCSI Disk Drive
hdisk4 Available 20-58-01 Other FC SCSI Disk Drive
hdisk5 Available 20-58-01 Other FC SCSI Disk Drive
hdisk6 Available 20-58-01 Other FC SCSI Disk Drive
[root@aixdev1:/]# lspv
hdisk0 00068f8c44d6da89 rootvg
hdisk1 00068f8cb17e4db8 None
hdisk2 00068f8cb17f7709 None
hdisk3 0005456f8b1ef088 None
hdisk4 00068f8ced4c8afa sanvg
hdisk5 00068f8ced4c8afa sanvg
hdisk6 none None
[root@aixdev1:/]# chdev -l hdisk6 -a pv=yes
hdisk6 changed
[root@aixdev1:/]# lspv
hdisk0 00068f8c44d6da89 rootvg
hdisk1 00068f8cb17e4db8 None
hdisk2 00068f8cb17f7709 None
hdisk3 0005456f8b1ef088 None
hdisk4 00068f8ced4c8afa sanvg
hdisk5 00068f8ced4c8afa sanvg
hdisk6 00068f8cb7884751 None
[root@aixdev1:/]# lsvg sanvg
VOLUME GROUP: sanvg VG IDENTIFIER: 00068f8c00004c000000010fed578401
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 799 (102272 megabytes)
MAX LVs: 256 FREE PPs: 0 (0 megabytes)
LVs: 3 USED PPs: 799 (102272 megabytes)
OPEN LVs: 2 QUORUM: 2
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no
[root@aixdev1:/]# extendvg -f 'sanvg' 'hdisk6'
[root@aixdev1:/]# lsvg sanvg
VOLUME GROUP: sanvg VG IDENTIFIER: 00068f8c00004c000000010fed578401
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 878 (112384 megabytes)
MAX LVs: 256 FREE PPs: 79 (10112 megabytes)
LVs: 3 USED PPs: 799 (102272 megabytes)
OPEN LVs: 2 QUORUM: 2
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no
[root@aixdev1:/]# mkdir sanperf
[root@aixdev1:/]# crfs -v jfs2 -g sanvg -m /sanperf -a size=20729856 -A yes
0516-404 allocp: This system cannot fulfill the allocation request.
There are not enough free partitions or not enough physical volumes
to keep strictness and satisfy allocation requests. The command
should be retried with different allocation characteristics.
0516-822 mklv: Unable to create logical volume.
crfs: 0506-902 Cannot create logical volume.
crfs: 0506-944 Execute module "/sbin/helpers/jfs2/crfs" failed