SecurePath: No
To Check?
myhost:/var/adm/syslog:#
ioscan -fnC disk | grep t0d4
/dev/dsk/c2t0d4 /dev/rdsk/c2t0d4
/dev/dsk/c4t0d4 /dev/rdsk/c4t0d4
/dev/dsk/c6t0d4 /dev/rdsk/c6t0d4
/dev/dsk/c8t0d4 /dev/rdsk/c8t0d4
/dev/dsk/c10t0d4 /dev/rdsk/c10t0d4
/dev/dsk/c12t0d4 /dev/rdsk/c12t0d4
/dev/dsk/c14t0d4 /dev/rdsk/c14t0d4
/dev/dsk/c16t0d4 /dev/rdsk/c16t0d4
Server is not using Securepath if you see same device many times ("t0d4" in this example) through multiple controllers.
** To check any new disk is attached;myhost:/var/adm/syslog:#
grep disk /var/adm/syslog/syslog.logFeb 20 14:19:37 myhost vmunix: 0/0/2/1.0.16.0.0 sdisk
Feb 20 14:19:37 myhost vmunix: 0/4/1/0.0.0.2.0 sdisk
Feb 20 14:19:37 myhost vmunix: 0/4/1/0.0.0.3.0 sdisk
...
Mar 6 16:41:48 myhost vmunix: 0/3/1/0.12.18.0.0.0.2 sdisk
Mar 6 16:41:48 myhost vmunix: 0/3/1/0.12.2.0.0.0.1 sdisk
Mar 6 16:41:48 myhost vmunix: 0/3/1/0.12.2.0.0.0.2 sdisk
Apr 10 10:04:53 myhost vmunix: 0/3/1/0.12.3.0.0.0.3 sdisk
...
Apr 10 10:04:53 myhost vmunix: 0/7/1/0.11.2.0.0.0.3 sdisk
Apr 10 10:04:53 myhost vmunix: 0/7/1/0.11.18.0.0.0.4 sdisk
Apr 10 10:04:53 myhost vmunix: 0/7/1/0.11.2.0.0.0.4 sdisk
>> NO new disk added
** New Disk added>
run ioscan again, check /var/adm/syslog/syslog.log
myhost:/var/adm/syslog:#
ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Descript ion
========================================================
disk 0 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE T EAC DV-28E-V
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 19 0/3/1/0.12.2.0.0.0.1 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c2t0d1 /dev/rdsk/c2t0d1
disk 20 0/3/1/0.12.2.0.0.0.2 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c2t0d2 /dev/rdsk/c2t0d2
disk 24 0/3/1/0.12.2.0.0.0.3 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c2t0d3 /dev/rdsk/c2t0d3
disk 27 0/3/1/0.12.2.0.0.0.4 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c2t0d4 /dev/rdsk/c2t0d4
disk 15 0/3/1/0.12.3.0.0.0.1 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c4t0d1 /dev/rdsk/c4t0d1
disk 16 0/3/1/0.12.3.0.0.0.2 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c4t0d2 /dev/rdsk/c4t0d2
disk 21 0/3/1/0.12.3.0.0.0.3 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c4t0d3 /dev/rdsk/c4t0d3
disk 25 0/3/1/0.12.3.0.0.0.4 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c4t0d4 /dev/rdsk/c4t0d4
disk 17 0/3/1/0.12.18.0.0.0.1 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c6t0d1 /dev/rdsk/c6t0d1
disk 18 0/3/1/0.12.18.0.0.0.2 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c6t0d2 /dev/rdsk/c6t0d2
disk 23 0/3/1/0.12.18.0.0.0.3 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c6t0d3 /dev/rdsk/c6t0d3
disk 26 0/3/1/0.12.18.0.0.0.4 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c6t0d4 /dev/rdsk/c6t0d4
disk 13 0/3/1/0.12.19.0.0.0.1 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c8t0d1 /dev/rdsk/c8t0d1
disk 14 0/3/1/0.12.19.0.0.0.2 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c8t0d2 /dev/rdsk/c8t0d2
disk 22 0/3/1/0.12.19.0.0.0.3 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c8t0d3 /dev/rdsk/c8t0d3
disk 28 0/3/1/0.12.19.0.0.0.4 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c8t0d4 /dev/rdsk/c8t0d4
disk 3 0/4/1/0.0.0.2.0 sdisk CLAIMED DEVICE H P DG146ABAB4
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
/dev/dsk/c1t2d0s1 /dev/rdsk/c1t2d0s1
/dev/dsk/c1t2d0s2 /dev/rdsk/c1t2d0s2
/dev/dsk/c1t2d0s3 /dev/rdsk/c1t2d0s3
disk 4 0/4/1/0.0.0.3.0 sdisk CLAIMED DEVICE H P DG146ABAB4
/dev/dsk/c1t3d0 /dev/rdsk/c1t3d0
/dev/dsk/c1t3d0s1 /dev/rdsk/c1t3d0s1
/dev/dsk/c1t3d0s2 /dev/rdsk/c1t3d0s2
/dev/dsk/c1t3d0s3 /dev/rdsk/c1t3d0s3
disk 8 0/7/1/0.11.2.0.0.0.1 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c10t0d1 /dev/rdsk/c10t0d1
disk 12 0/7/1/0.11.2.0.0.0.2 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c10t0d2 /dev/rdsk/c10t0d2
disk 34 0/7/1/0.11.2.0.0.0.3 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c10t0d3 /dev/rdsk/c10t0d3
disk 36 0/7/1/0.11.2.0.0.0.4 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c10t0d4 /dev/rdsk/c10t0d4
disk 5 0/7/1/0.11.3.0.0.0.1 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c12t0d1 /dev/rdsk/c12t0d1
disk 9 0/7/1/0.11.3.0.0.0.2 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c12t0d2 /dev/rdsk/c12t0d2
disk 30 0/7/1/0.11.3.0.0.0.3 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c12t0d3 /dev/rdsk/c12t0d3
disk 33 0/7/1/0.11.3.0.0.0.4 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c12t0d4 /dev/rdsk/c12t0d4
disk 6 0/7/1/0.11.18.0.0.0.1 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c14t0d1 /dev/rdsk/c14t0d1
disk 10 0/7/1/0.11.18.0.0.0.2 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c14t0d2 /dev/rdsk/c14t0d2
disk 31 0/7/1/0.11.18.0.0.0.3 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c14t0d3 /dev/rdsk/c14t0d3
disk 35 0/7/1/0.11.18.0.0.0.4 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c14t0d4 /dev/rdsk/c14t0d4
disk 7 0/7/1/0.11.19.0.0.0.1 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c16t0d1 /dev/rdsk/c16t0d1
disk 11 0/7/1/0.11.19.0.0.0.2 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c16t0d2 /dev/rdsk/c16t0d2
disk 29 0/7/1/0.11.19.0.0.0.3 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c16t0d3 /dev/rdsk/c16t0d3
disk 32 0/7/1/0.11.19.0.0.0.4 sdisk CLAIMED DEVICE H P HSV210
/dev/dsk/c16t0d4 /dev/rdsk/c16t0d4
>> /var/adm/syslog/syslog.logJun 12 05:21:54 myhost vmunix: 0/3/1/0.12.3.0.0.0.5 sdisk
Jun 12 05:21:54 myhost vmunix: 0/3/1/0.12.2.0.0.0.5 sdisk
Jun 12 05:21:54 myhost vmunix: 0/3/1/0.12.18.0.0.0.5 sdisk
Jun 12 05:21:54 myhost vmunix: 0/3/1/0.12.19.0.0.0.5 sdisk
Jun 12 05:21:54 myhost vmunix: 0/7/1/0.11.18.0.0.0.5 sdisk
Jun 12 05:21:54 myhost vmunix: 0/7/1/0.11.2.0.0.0.5 sdisk
Jun 12 05:21:54 myhost vmunix: 0/7/1/0.11.3.0.0.0.5 sdisk
Jun 12 05:21:54 myhost vmunix: 0/7/1/0.11.19.0.0.0.5 sdisk
>> ioscan outputdisk 37 0/3/1/0.12.3.0.0.0.5 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c4t0d5 /dev/rdsk/c4t0d5
----------
myhost:/tmp:#
strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t2d0s2
/dev/dsk/c1t3d0s2
/dev/vgdata1
/dev/dsk/c10t0d1
/dev/dsk/c10t0d2
/dev/dsk/c12t0d1
/dev/dsk/c12t0d2
/dev/dsk/c14t0d1
/dev/dsk/c14t0d2
/dev/dsk/c16t0d1
/dev/dsk/c16t0d2
/dev/dsk/c2t0d1
/dev/dsk/c2t0d2
/dev/dsk/c4t0d1
/dev/dsk/c4t0d2
/dev/dsk/c6t0d1
/dev/dsk/c6t0d2
/dev/dsk/c8t0d1
/dev/dsk/c8t0d2
/dev/dsk/c2t0d3
/dev/dsk/c2t0d4
/dev/dsk/c4t0d3
/dev/dsk/c4t0d4
/dev/dsk/c6t0d3
/dev/dsk/c6t0d4
/dev/dsk/c8t0d3
/dev/dsk/c8t0d4
/dev/dsk/c10t0d3
/dev/dsk/c10t0d4
/dev/dsk/c12t0d3
/dev/dsk/c12t0d4
/dev/dsk/c14t0d3
/dev/dsk/c14t0d4
/dev/dsk/c16t0d3
/dev/dsk/c16t0d4
myhost:/tmp:#
ioscan -funC diskgrep "/dev/dsk"cut -c32-48
/dev/dsk/c0t0d0
/dev/dsk/c2t0d1
/dev/dsk/c2t0d2
/dev/dsk/c2t0d3
/dev/dsk/c2t0d4
/dev/dsk/c2t0d5
/dev/dsk/c4t0d1
/dev/dsk/c4t0d2
/dev/dsk/c4t0d3
/dev/dsk/c4t0d4
/dev/dsk/c4t0d5
/dev/dsk/c6t0d1
/dev/dsk/c6t0d2
/dev/dsk/c6t0d3
/dev/dsk/c6t0d4
/dev/dsk/c6t0d5
/dev/dsk/c8t0d1
/dev/dsk/c8t0d2
/dev/dsk/c8t0d3
/dev/dsk/c8t0d4
/dev/dsk/c8t0d5
/dev/dsk/c1t2d0
/dev/dsk/c1t2d0s1
/dev/dsk/c1t3d0
/dev/dsk/c1t3d0s1
/dev/dsk/c10t0d1
/dev/dsk/c10t0d2
/dev/dsk/c10t0d3
/dev/dsk/c10t0d4
/dev/dsk/c10t0d5
/dev/dsk/c12t0d1
/dev/dsk/c12t0d2
/dev/dsk/c12t0d3
/dev/dsk/c12t0d4
/dev/dsk/c12t0d5
/dev/dsk/c14t0d1
/dev/dsk/c14t0d2
/dev/dsk/c14t0d3
/dev/dsk/c14t0d4
/dev/dsk/c14t0d5
/dev/dsk/c16t0d1
/dev/dsk/c16t0d2
/dev/dsk/c16t0d3
/dev/dsk/c16t0d4
/dev/dsk/c16t0d5
myhost:/tmp:#
>> To ensure the disk is not part of lvm; use the following commands.
myhost:/tmp:#
strings /etc/lvmtab grep t0d5
>> To get all alternate path for the disk;myhost:/tmp:#
ioscan -funC diskgrep "/dev/dsk"cut -c32-48 grep t0d5
/dev/dsk/c2t0d5
/dev/dsk/c4t0d5
/dev/dsk/c6t0d5
/dev/dsk/c8t0d5
/dev/dsk/c10t0d5
/dev/dsk/c12t0d5
/dev/dsk/c14t0d5
/dev/dsk/c16t0d5
>>
To verify the World wide lun name with storage WO;
myhost:/tmp:#
./evainfo_hpux11_23_IA -d /dev/rdsk/c2t0d5
Devicefile Array WWNN Capacity Controller/Port/Mode
/dev/rdsk/c2t0d5 5000-1FE1-500D-F640 6005-08B4-0006-94B6-0000-F000-036E-0000 51200MB Ctl-A/FP-2/NonOptimized
myhost:/tmp:#
myhost:/tmp:# ./evainfo_hpux11_23_IA -d /dev/rdsk/c4t0d5
Devicefile Array WWNN Capacity Controller/Port/Mode
/dev/rdsk/c4t0d5 5000-1FE1-500D-F640 6005-08B4-0006-94B6-0000-F000-036E-0000 51200MB Ctl-B/FP-2/Optimized
** From Storage WO **
Name: VACOPD-PH04_Disk5
World Wide LUN Name:
6005-08b4-0006-94b6-0000-f000-036e-0000
UUID:
Attributes
Type: Original
Disk group: Disk_Group_1
Redundancy: Vraid5
Capacity
Allocated: 50 GB
***
!! MATCHED !!** Create the physical volume **
myhost:/tmp:#
pvcreate /dev/rdsk/c2t0d5
Physical volume "/dev/rdsk/c2t0d5" has been successfully created.
** Create the dir for new volume mount point **
myhost:/usr1:#
mkdir /usr1/data7
myhost:/usr1:#
vgdisplay vgdata1
--- Volume groups ---
VG Name /dev/vgdata1
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 7
Open LV 7
Max PV 16
Cur PV 4
Act PV 4
Max PE per PV 64000
VGDA 8
PE Size (Mbytes) 16
Total PE 17914
Alloc PE 11398
Free PE 6516
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
myhost:/usr1:#
vgdisplay -v vgdata1--- Volume groups ---
VG Name /dev/vgdata1
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 7
Open LV 7
Max PV 16
Cur PV 4
Act PV 4
Max PE per PV 64000
VGDA 8
PE Size (Mbytes) 16
Total PE 17914
Alloc PE 11398
Free PE 6516
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vgdata1/apl
LV Status available/syncd
LV Size (Mbytes) 20000
Current LE 1250
Allocated PE 1250
Used PV 1
LV Name /dev/vgdata1/data1
LV Status available/syncd
LV Size (Mbytes) 40944
Current LE 2559
Allocated PE 2559
Used PV 1
LV Name /dev/vgdata1/data2
LV Status available/syncd
LV Size (Mbytes) 40944
Current LE 2559
Allocated PE 2559
Used PV 1
LV Name /dev/vgdata1/data3
LV Status available/syncd
LV Size (Mbytes) 20000
Current LE 1250
Allocated PE 1250
Used PV 2
LV Name /dev/vgdata1/data4
LV Status available/syncd
LV Size (Mbytes) 20000
Current LE 1250
Allocated PE 1250
Used PV 1
LV Name /dev/vgdata1/data5
LV Status available/syncd
LV Size (Mbytes) 20000
Current LE 1250
Allocated PE 1250
Used PV 1
LV Name /dev/vgdata1/data6
LV Status available/syncd
LV Size (Mbytes) 20480
Current LE 1280
Allocated PE 1280
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c10t0d1
PV Name /dev/dsk/c12t0d1 Alternate Link
PV Name /dev/dsk/c14t0d1 Alternate Link
PV Name /dev/dsk/c16t0d1 Alternate Link
PV Name /dev/dsk/c2t0d1 Alternate Link
PV Name /dev/dsk/c4t0d1 Alternate Link
PV Name /dev/dsk/c6t0d1 Alternate Link
PV Name /dev/dsk/c8t0d1 Alternate Link
PV Status available
Total PE 6398
Free PE 0
Autoswitch On
PV Name /dev/dsk/c10t0d2
PV Name /dev/dsk/c12t0d2 Alternate Link
PV Name /dev/dsk/c14t0d2 Alternate Link
PV Name /dev/dsk/c16t0d2 Alternate Link
PV Name /dev/dsk/c2t0d2 Alternate Link
PV Name /dev/dsk/c4t0d2 Alternate Link
PV Name /dev/dsk/c6t0d2 Alternate Link
PV Name /dev/dsk/c8t0d2 Alternate Link
PV Status available
Total PE 6398
Free PE 1398
Autoswitch On
PV Name /dev/dsk/c2t0d3
PV Name /dev/dsk/c4t0d3 Alternate Link
PV Name /dev/dsk/c6t0d3 Alternate Link
PV Name /dev/dsk/c8t0d3 Alternate Link
PV Name /dev/dsk/c10t0d3 Alternate Link
PV Name /dev/dsk/c12t0d3 Alternate Link
PV Name /dev/dsk/c14t0d3 Alternate Link
PV Name /dev/dsk/c16t0d3 Alternate Link
PV Status available
Total PE 2559
Free PE 2559
Autoswitch On
PV Name /dev/dsk/c2t0d4
PV Name /dev/dsk/c4t0d4 Alternate Link
PV Name /dev/dsk/c6t0d4 Alternate Link
PV Name /dev/dsk/c8t0d4 Alternate Link
PV Name /dev/dsk/c10t0d4 Alternate Link
PV Name /dev/dsk/c12t0d4 Alternate Link
PV Name /dev/dsk/c14t0d4 Alternate Link
PV Name /dev/dsk/c16t0d4 Alternate Link
PV Status available
Total PE 2559
Free PE 2559
Autoswitch On
** Add pv to vg **myhost:/usr1:#
vgextend /dev/vgdata1 /dev/dsk/c2t0d5
Current path "/dev/dsk/c12t0d1" is an alternate link, skip.
Current path "/dev/dsk/c12t0d2" is an alternate link, skip.
Current path "/dev/dsk/c14t0d1" is an alternate link, skip.
Current path "/dev/dsk/c14t0d2" is an alternate link, skip.
Current path "/dev/dsk/c16t0d1" is an alternate link, skip.
Current path "/dev/dsk/c16t0d2" is an alternate link, skip.
Current path "/dev/dsk/c2t0d1" is an alternate link, skip.
Current path "/dev/dsk/c2t0d2" is an alternate link, skip.
Current path "/dev/dsk/c4t0d1" is an alternate link, skip.
Current path "/dev/dsk/c4t0d2" is an alternate link, skip.
Current path "/dev/dsk/c6t0d1" is an alternate link, skip.
Current path "/dev/dsk/c6t0d2" is an alternate link, skip.
Current path "/dev/dsk/c8t0d1" is an alternate link, skip.
Current path "/dev/dsk/c8t0d2" is an alternate link, skip.
Current path "/dev/dsk/c4t0d3" is an alternate link, skip.
Current path "/dev/dsk/c4t0d4" is an alternate link, skip.
Current path "/dev/dsk/c6t0d3" is an alternate link, skip.
Current path "/dev/dsk/c6t0d4" is an alternate link, skip.
Current path "/dev/dsk/c8t0d3" is an alternate link, skip.
Current path "/dev/dsk/c8t0d4" is an alternate link, skip.
Current path "/dev/dsk/c10t0d3" is an alternate link, skip.
Current path "/dev/dsk/c10t0d4" is an alternate link, skip.
Current path "/dev/dsk/c12t0d3" is an alternate link, skip.
Current path "/dev/dsk/c12t0d4" is an alternate link, skip.
Current path "/dev/dsk/c14t0d3" is an alternate link, skip.
Current path "/dev/dsk/c14t0d4" is an alternate link, skip.
Current path "/dev/dsk/c16t0d3" is an alternate link, skip.
Current path "/dev/dsk/c16t0d4" is an alternate link, skip.
Volume group "/dev/vgdata1" has been successfully extended.
Volume Group configuration for /dev/vgdata1 has been saved in /etc/lvmconf/vgdata1.conf
myhost:/usr1:#
vgdisplay -v vgdata1--- Volume groups ---
VG Name /dev/vgdata1
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 7
Open LV 7
Max PV 16
Cur PV 5
Act PV 5
Max PE per PV 64000
VGDA 10
PE Size (Mbytes) 16
Total PE 21113
Alloc PE 11398
Free PE 9715
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vgdata1/apl
LV Status available/syncd
LV Size (Mbytes) 20000
Current LE 1250
Allocated PE 1250
Used PV 1
LV Name /dev/vgdata1/data1
LV Status available/syncd
LV Size (Mbytes) 40944
Current LE 2559
Allocated PE 2559
Used PV 1
LV Name /dev/vgdata1/data2
LV Status available/syncd
LV Size (Mbytes) 40944
Current LE 2559
Allocated PE 2559
Used PV 1
LV Name /dev/vgdata1/data3
LV Status available/syncd
LV Size (Mbytes) 20000
Current LE 1250
Allocated PE 1250
Used PV 2
LV Name /dev/vgdata1/data4
LV Status available/syncd
LV Size (Mbytes) 20000
Current LE 1250
Allocated PE 1250
Used PV 1
LV Name /dev/vgdata1/data5
LV Status available/syncd
LV Size (Mbytes) 20000
Current LE 1250
Allocated PE 1250
Used PV 1
LV Name /dev/vgdata1/data6
LV Status available/syncd
LV Size (Mbytes) 20480
Current LE 1280
Allocated PE 1280
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c10t0d1
PV Name /dev/dsk/c12t0d1 Alternate Link
PV Name /dev/dsk/c14t0d1 Alternate Link
PV Name /dev/dsk/c16t0d1 Alternate Link
PV Name /dev/dsk/c2t0d1 Alternate Link
PV Name /dev/dsk/c4t0d1 Alternate Link
PV Name /dev/dsk/c6t0d1 Alternate Link
PV Name /dev/dsk/c8t0d1 Alternate Link
PV Status available
Total PE 6398
Free PE 0
Autoswitch On
PV Name /dev/dsk/c10t0d2
PV Name /dev/dsk/c12t0d2 Alternate Link
PV Name /dev/dsk/c14t0d2 Alternate Link
PV Name /dev/dsk/c16t0d2 Alternate Link
PV Name /dev/dsk/c2t0d2 Alternate Link
PV Name /dev/dsk/c4t0d2 Alternate Link
PV Name /dev/dsk/c6t0d2 Alternate Link
PV Name /dev/dsk/c8t0d2 Alternate Link
PV Status available
Total PE 6398
Free PE 1398
Autoswitch On
PV Name /dev/dsk/c2t0d3
PV Name /dev/dsk/c4t0d3 Alternate Link
PV Name /dev/dsk/c6t0d3 Alternate Link
PV Name /dev/dsk/c8t0d3 Alternate Link
PV Name /dev/dsk/c10t0d3 Alternate Link
PV Name /dev/dsk/c12t0d3 Alternate Link
PV Name /dev/dsk/c14t0d3 Alternate Link
PV Name /dev/dsk/c16t0d3 Alternate Link
PV Status available
Total PE 2559
Free PE 2559
Autoswitch On
PV Name /dev/dsk/c2t0d4
PV Name /dev/dsk/c4t0d4 Alternate Link
PV Name /dev/dsk/c6t0d4 Alternate Link
PV Name /dev/dsk/c8t0d4 Alternate Link
PV Name /dev/dsk/c10t0d4 Alternate Link
PV Name /dev/dsk/c12t0d4 Alternate Link
PV Name /dev/dsk/c14t0d4 Alternate Link
PV Name /dev/dsk/c16t0d4 Alternate Link
PV Status available
Total PE 2559
Free PE 2559
Autoswitch On
** New disk added, No alternate link present!PV Name /dev/dsk/c2t0d5
PV Status available
Total PE 3199
Free PE 3199
Autoswitch On
** Add the rest of 7 alternate link to vg **myhost:/usr1:#
vgextend vgdata1 /dev/dsk/c4t0d5 /dev/dsk/c6t0d5 /dev/dsk/c8t0d5 /dev/dsk/c10t0d5 /dev/dsk/c12t0d5 /dev/dsk/c14t0d5 /dev/dsk/c16t0d5Current path "/dev/dsk/c12t0d1" is an alternate link, skip.
Current path "/dev/dsk/c12t0d2" is an alternate link, skip.
Current path "/dev/dsk/c14t0d1" is an alternate link, skip.
Current path "/dev/dsk/c14t0d2" is an alternate link, skip.
Current path "/dev/dsk/c16t0d1" is an alternate link, skip.
Current path "/dev/dsk/c16t0d2" is an alternate link, skip.
Current path "/dev/dsk/c2t0d1" is an alternate link, skip.
Current path "/dev/dsk/c2t0d2" is an alternate link, skip.
Current path "/dev/dsk/c4t0d1" is an alternate link, skip.
Current path "/dev/dsk/c4t0d2" is an alternate link, skip.
Current path "/dev/dsk/c6t0d1" is an alternate link, skip.
Current path "/dev/dsk/c6t0d2" is an alternate link, skip.
Current path "/dev/dsk/c8t0d1" is an alternate link, skip.
Current path "/dev/dsk/c8t0d2" is an alternate link, skip.
Current path "/dev/dsk/c4t0d3" is an alternate link, skip.
Current path "/dev/dsk/c4t0d4" is an alternate link, skip.
Current path "/dev/dsk/c6t0d3" is an alternate link, skip.
Current path "/dev/dsk/c6t0d4" is an alternate link, skip.
Current path "/dev/dsk/c8t0d3" is an alternate link, skip.
Current path "/dev/dsk/c8t0d4" is an alternate link, skip.
Current path "/dev/dsk/c10t0d3" is an alternate link, skip.
Current path "/dev/dsk/c10t0d4" is an alternate link, skip.
Current path "/dev/dsk/c12t0d3" is an alternate link, skip.
Current path "/dev/dsk/c12t0d4" is an alternate link, skip.
Current path "/dev/dsk/c14t0d3" is an alternate link, skip.
Current path "/dev/dsk/c14t0d4" is an alternate link, skip.
Current path "/dev/dsk/c16t0d3" is an alternate link, skip.
Current path "/dev/dsk/c16t0d4" is an alternate link, skip.
Volume group "vgdata1" has been successfully extended.
Volume Group configuration for /dev/vgdata1 has been saved in /etc/lvmconf/vgdata1.conf
** Check allocation info after existing lv, no contiguous is used **myhost:/usr1:#
lvdisplay /dev/vgdata1/data4
--- Logical volumes ---
LV Name /dev/vgdata1/data4
VG Name /dev/vgdata1
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 20000
Current LE 1250
Allocated PE 1250
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
** Create new lv for data7 **
myhost:/usr1:# lvcreate -L 50000 -n data7 /dev/vgdata1
Logical volume "/dev/vgdata1/data7" has been successfully created with
character device "/dev/vgdata1/rdata7".
Logical volume "/dev/vgdata1/data7" has been successfully extended.
Volume Group configuration for /dev/vgdata1 has been saved in /etc/lvmconf/vgdata1.conf
** Check existing mountpoint options before newfs **
myhost:/usr1:#
cat /etc/fstab
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol4 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol5 /tmp vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vgdata1/apl /usr1/apl vxfs largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct 0 2
/dev/vgdata1/data1 /usr1/data1 vxfs largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct 0 2
/dev/vgdata1/data2 /usr1/data2 vxfs largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct 0 2
/dev/vgdata1/data3 /usr1/data3 vxfs largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct 0 2
/dev/vgdata1/data4 /usr1/data4 vxfs largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct 0 2
/dev/vgdata1/data5 /usr1/data5 vxfs largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct 0 2
/dev/vgdata1/data6 /usr1/data6 vxfs largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct 0 2
myhost:/usr1:#
ls -la /dev/vgdata1
total 32
drwxr-xr-x 2 root sys 8192 Jun 12 06:09 .
dr-xr-xr-x 15 bin bin 8192 Jun 12 05:24 ..
brw-r----- 1 root sys 64 0x010001 Mar 6 16:44 apl
brw-r----- 1 root sys 64 0x010002 Apr 10 10:16 data1
brw-r----- 1 root sys 64 0x010003 Apr 10 10:16 data2
brw-r----- 1 root sys 64 0x010004 May 9 14:58 data3
brw-r----- 1 root sys 64 0x010005 May 9 14:58 data4
brw-r----- 1 root sys 64 0x010006 May 16 10:56 data5
brw-r----- 1 root sys 64 0x010007 May 16 15:26 data6
brw-r----- 1 root sys 64 0x010008 Jun 12 06:09 data7
crw-r--r-- 1 root sys 64 0x010000 Mar 6 16:43 group
crw-r----- 1 root sys 64 0x010001 Mar 6 16:44 rapl
crw-r----- 1 root sys 64 0x010002 Apr 10 10:16 rdata1
crw-r----- 1 root sys 64 0x010003 Apr 10 10:16 rdata2
crw-r----- 1 root sys 64 0x010004 May 9 14:58 rdata3
crw-r----- 1 root sys 64 0x010005 May 9 14:58 rdata4
crw-r----- 1 root sys 64 0x010006 May 16 10:56 rdata5
crw-r----- 1 root sys 64 0x010007 May 16 15:26 rdata6
crw-r----- 1 root sys 64 0x010008 Jun 12 06:09 rdata7
** Create new fs **myhost:/usr1:#
newfs -o largefiles /dev/vgdata1/rdata7newfs: /etc/default/fs is used for determining the file system type
version 6 layout
51200000 sectors, 51200000 blocks of size 1024, log size 16384 blocks
largefiles supported
** Mount the new fs **
myhost:/usr1:#
mount -o largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct /dev/vgdata1/data7 /usr1/data7myhost:/usr1:# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol4 622592 307464 312712 50% /
/dev/vg00/lvol1 327680 132872 193392 41% /stand
/dev/vg00/lvol8 4718592 1966512 2730744 42% /var
/dev/vg00/lvol7 6356992 2606504 3721232 41% /usr
/dev/vg00/lvol5 1048576 131936 909544 13% /tmp
/dev/vg00/lvol6 6291456 3557288 2712872 57% /opt
/dev/vgdata1/apl 20480000 11562716 8359954 58% /usr1/apl
/dev/vgdata1/data2 41926656 19937462 20614956 49% /usr1/data2
/dev/vgdata1/data1 41926656 26805222 14176467 65% /usr1/data1
/dev/vgdata1/data4 20480000 6165246 13420142 31% /usr1/data4
/dev/vgdata1/data3 20480000 1846268 17469185 10% /usr1/data3
/dev/vgdata1/data5 20480000 2296960 17046658 12% /usr1/data5
/dev/vgdata1/data6 20971520 17294332 3447429 83% /usr1/data6
/dev/vgdata1/data7 51200000 29634 47972226 0% /usr1/data7
** Add the new lv add fstab **
myhost:/usr1:#
vi /etc/fstab
"/etc/fstab" 15 lines, 1231 characters
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol4 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol5 /tmp vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vgdata1/apl /usr1/apl vxfs largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct 0 2
/dev/vgdata1/data1 /usr1/data1 vxfs largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct 0 2
/dev/vgdata1/data2 /usr1/data2 vxfs largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct 0 2
/dev/vgdata1/data3 /usr1/data3 vxfs largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct 0 2
/dev/vgdata1/data4 /usr1/data4 vxfs largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct 0 2
/dev/vgdata1/data5 /usr1/data5 vxfs largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct 0 2
/dev/vgdata1/data6 /usr1/data6 vxfs largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct 0 2
/dev/vgdata1/data7 /usr1/data7 vxfs largefiles,ioerror=mwdisable,mincache=direct,delaylog,nodatainlog,convosync=direct 0 2
~
~
~
"/etc/fstab" 16 lines, 1354 characters
myhost:/usr1:#
* Mission Completed **