HP XP128, XP10000 manual Verifying the device files and drivers

Page 34

Verifying the device files and drivers

The device files for new devices are usually created automatically during HP-UX startup. Each device must have a block-type device file in the /dev/dsk directory and a character-type device file in the /dev/rdsk directory.

However, some HP-compatible systems do not create the device files automatically. If verification shows that the device files were not created, follow the instructions in “Creating the device files” (page 38) to create the device files manually.

This procedure verifies both types of device files.

To verify that the device files for the disk array devices were created:

1.Display the block-type device files in the /dev/dsk directory using the ls –lcommand with the output piped to more. Verify there is one block-type device file for each disk array device.

Example # ls –l /dev/dsk more

Total 0

brw-r - - - - - 1 bin sys 28 0x006000 Dec 6 15:08 c6t0d0

brw-r - - - - - 1 bin sys 280 0x06100 Dec 6 15:08 c6t0d1

2.Verify that the block-type device file name for each device is correct.

3.Display the character-type device files in the /dev/rdsk directory using the ls –lcommand with the output piped to more. Verify that there is one character-type device file for each disk array device.

36

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

Image 34
Contents XP128 XP1024 XP10000 XP12000 Sixth edition July Part number A5951-96015Sixth edition July 2005 part number A5951-96015 Contents Troubleshooting Prerequisites About this guideIntended audience Disk arraysHP sales and authorized resellers Related documentationHP storage website 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 Installing and configuring the HBAs Install and configure the hostLoading 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 Lvremove Creating logical volumesTo create logical volumes 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 With vgcreate Pvcreate for example, /dev/rdskNewfs 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 device Command ViewCommand View XP Array groupDisk cabinet unit Emulation modes Host modeDisk controller unit FailoverPort OPEN-xPath Remote console PCVolume Remote Control RCRemote Web Console Index Page Index