HP XP128, XP10000 manual Creating the device files

Page 36

Creating the device files

If the device files were not created automatically when the system was restarted, use the insf –ecommand in the /dev directory to create the device files. After this command is executed, repeat the procedures in the previous section (page 36) to verify new device recognition and the device files and driver.

Example

# insf -e

 

 

 

 

insf: Installing special files for mux2 instance 0

 

address 8/0/0

 

 

 

 

:

:

:

:

 

:

:

:

:

 

#

 

 

 

Failure of the insf –ecommand indicates a SAN problem.

If the device files for the new disk array devices cannot be created automatically, you must create the device files manually using the mknod command as follows:

1.Retrieve the device information you recorded earlier.

2.Construct the device file name for each device, using the device information, and enter the file names in your table. Use the following formula to construct the device file name:

cxtydz where

x= SCSI bus instance number

y= SCSI target ID

z= LUN

c stands for controller, t stands for target ID, and d stands for device. The numbers x, y, and z are hexadecimal.

38

HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX

Image 36
Contents XP128 XP1024 XP10000 XP12000 Sixth edition July Part number A5951-96015Sixth edition July 2005 part number A5951-96015 Contents Troubleshooting About this guide Intended audiencePrerequisites Disk arraysRelated documentation HP storage websiteHP sales and authorized resellers Contact HPHP technical support Document conventions BoldRevision history Warranty statement That USE of the Software is AT Your Sole RISK. HPAbout this guide Page Installation Features and requirements Fibre Channel interface Device emulation types FailoverSnmp configuration RAID Manager command devicesInstallation procedures Install and configure the disk array Setting the host mode for the disk array portsPage Setting the System Option Modes Mode Level Description and Usage SoftwareConfiguring the Fibre Channel ports Fibre AddressFabric and Connection parameter settings Install and configure the host Installing and configuring the HBAsLoading the OS and software Clustering and fabric zoning SAN Connect the disk array Defining the pathsPage Verifying HBA installation ExampleVerifying device recognition To verify device recognitionCxtydz where Page Configure disk array devices Verifying the device files and drivers Claimed Busnexus Creating the device files # lsdev Character Block Driver Class 188 Sdisk Disk Example of a completed device data table Creating the physical volumes To create the physical volumesCreating new volume groups To create volume groups# mknod /dev/vg06/group c 64 Vgda Creating logical volumes To create logical volumesLvremove LvextendOPEN-L = Creating the file systems To create file systemsRepeat for each logical volume on the disk array Setting the I/O timeout parameter To change the I/O timeout parameterTo create a mount directory for each logical volume Creating the mount directoriesMounting and verifying the file systems To mount and verify the file systemsSetting and verifying the auto-mount parameters To set up and verify the auto-mount parametersParameter Name Enter Page Troubleshooting Error conditions Pvcreate for example, /dev/rdsk With vgcreateNewfs for example, /dev/vg01/r/vo/x Host hangs or devices are Calling the HP support center Contact InformationPage Worksheets Path worksheet Disk array device emulations Supported emulations Device type specifications LusePage Disk array device emulations Luse device parameters MPEPhysical Max Extent Extent size Device type Size PE OPEN-8/9/E-CVS Scsi TID map for Fibre Channel adapters Value Reference information for SAM Configuring the devices using SAM Reference information for SAM Setting the maximum number of volume groups using SAM To change the maximum number of volume groupsCommand View Command View XPCommand device Array groupHost mode Disk controller unitDisk cabinet unit Emulation modes FailoverOPEN-x PathPort Remote console PCRemote Control RC VolumeRemote Web Console Index Page Index