HP 3PAR HP-UX Implementation Guide

block device paths) that are required to access the devices are created as part of the ioscan
command by internally executing the insf -e command.
# ioscan
# tail -f /var/adm/syslog/syslog.log
vmunix: 0/0/4/1/0.0x20420002ac000036.0x400a000000000000 eslpt
vmunix: 0/0/4/1/1.0x21520002ac000036.0x400a000000000000 eslpt
vmunix: 64000/0xfa00/0x243 esdisk
sfd[2330]: started 'insf' to create device special files for newly found devices.
sfd[2330]: execution of 'insf' completed.
Always use the -N option for the ioscan command to see the persistent devices or agile
devices. Without the -N option, legacy devices will be seen.
NOTE: Broken or stale device paths are displayed with S/W state of NO_HW in the output
of the ioscan -kfnNC disk command. The CLAIMED state indicates a valid disk device
path existence.
Example: Without the -N option, legacy devices are shown.
# ioscan -kfnC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 19 0/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c8t6d0 /dev/dsk/c8t6d0s2 /dev/rdsk/c8t6d0 /dev/rdsk/
c8t6d0s2
/dev/dsk/c8t6d0s1 /dev/dsk/c8t6d0s3 /dev/rdsk/c8t6d0s1 /dev/rdsk/
c8t6d0s3
disk 7 0/0/4/1/0.18.1.0.0.0.1 sdisk CLAIMED DEVICE 3PARdataVV
/dev/dsk/c11t0d1 /dev/rdsk/c11t0d1
disk 8 0/0/4/1/0.18.1.0.0.0.2 sdisk CLAIMED DEVICE 3PARdataVV
/dev/dsk/c11t0d2 /dev/rdsk/c11t0d2
disk 9 0/0/4/1/0.18.1.0.0.0.3 sdisk CLAIMED DEVICE 3PARdataVV
Example: Using the -N option displays the persistent devices.
# ioscan -kfNnC disk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 0 64000/0xfa00/0x23e esdisk CLAIMED DEVICE 3PARdataVV
/dev/disk/disk0 /dev/rdisk/disk0
disk 1 64000/0xfa00/0x23f esdisk CLAIMED DEVICE 3PARdataVV
/dev/disk/disk1 /dev/rdisk/disk1
disk 3 64000/0xfa00/0x240 esdisk CLAIMED DEVICE 3PARdataVV
/dev/disk/disk3 /dev/rdisk/disk3
Example: The output of ioscan shows the relationship between the legacy and persistent
devices.
# ioscan -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk0 /dev/rdsk/c11t0d1
/dev/rdsk/c15t0d1
/dev/rdisk/disk1 /dev/rdsk/c11t0d2
/dev/rdsk/c15t0d2
/dev/rdisk/disk2 /dev/rdsk/c8t6d0
3. HP recommends not using the legacy device paths; instead, migrate applications from legacy
to persistent device paths by disabling the legacy device paths. All LVM commands work with
22 Allocating Storage for Access by the HP-UX Host