HP XP10000, XP128 manual # lsdev Character Block Driver Class 188 Sdisk Disk

Page 37

Example

Example

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

0xxxyz00 where

xx = SCSI bus instance number y = SCSI target ID

z = LUN

4.Display the driver information for the system using the lsdev command.

# lsdev

Character Block Driver Class

: : : :

188

31

sdisk

disk

#

5.Enter the major numbers for the device drivers into the table. You should now have all required device and driver information in the table.

6.Create the device files for all disk array devices (SCSI disk and multiplatform devices) using the mknod command. Create the block-type device files in the /dev/dsk directory and the character-type device files in the /dev/rdsk directory.

#cd /dev/dskGo to /dev/dsk directory.

#mknod /dev/dsk/c2t6d0 b 31 0x026000

Create block-type file.

File name, b=block-type, 31=major #, 0x026000= minor

#

#cd /dev/rdskGo to /dev/rdsk directory.

#mknod /dev/rdsk/c2t6d0 c 188 0x026000

Installation

39

Image 37
Contents Sixth edition July Part number A5951-96015 XP128 XP1024 XP10000 XP12000Sixth edition July 2005 part number A5951-96015 Contents Troubleshooting Intended audience About this guidePrerequisites Disk arraysHP storage website Related documentationHP sales and authorized resellers Contact HPHP technical support Bold Document conventionsRevision history That USE of the Software is AT Your Sole RISK. HP Warranty statementAbout this guide Page Installation Features and requirements Fibre Channel interface Failover Device emulation typesRAID Manager command devices Snmp configurationInstallation procedures Setting the host mode for the disk array ports Install and configure the disk arrayPage Mode Level Description and Usage Software Setting the System Option ModesFibre Address Configuring the Fibre Channel portsFabric and Connection parameter settings Installing and configuring the HBAs Install and configure the hostLoading the OS and software Clustering and fabric zoning SAN Defining the paths Connect the disk arrayPage Example Verifying HBA installationTo verify device recognition Verifying 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 To create the physical volumes Creating the physical volumesTo create volume groups Creating new volume groups# mknod /dev/vg06/group c 64 Vgda To create logical volumes Creating logical volumesLvremove LvextendOPEN-L = To create file systems Creating the file systemsRepeat for each logical volume on the disk array To change the I/O timeout parameter Setting the I/O timeout parameterCreating the mount directories To create a mount directory for each logical volumeTo mount and verify the file systems Mounting and verifying the file systemsTo set up and verify the auto-mount parameters Setting and verifying 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 Contact Information Calling the HP support centerPage Worksheets Path worksheet Disk array device emulations Supported emulations Luse Device type specificationsPage Disk array device emulations MPE Luse device parametersPhysical 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 To change the maximum number of volume groups Setting the maximum number of volume groups using SAMCommand View XP Command ViewCommand device Array groupDisk controller unit Host modeDisk cabinet unit Emulation modes FailoverPath OPEN-xPort Remote console PCVolume Remote Control RCRemote Web Console Index Page Index