HP XP128, XP10000 manual Creating new volume groups, To create volume groups

Page 40

Creating new volume groups

You must create new volume groups for the new physical volumes. If desired, you can also add any of the volumes on the disk array to existing volume groups using the vgextend command. The physical volumes that make up one volume group can be located either in the same disk array or in other disk arrays.

To allow more volume groups to be created, use SAM to modify the

HP-UX system kernel configuration. See appendix C (page 73) for details.

To create volume groups:

1.Use the vgdisplay command to display the existing volume groups.

2.Choose a unique name for the new volume group (for example: vg06).

3.Create the directory for the new volume group.

Example # mkdir /dev/vg06

4.Use the ls –lcommand (with the output piped to grep to display only the files containing “group”) to display the minor numbers for the existing group files.

Example # ls –1 /dev/vg* grep group

crw-rw-rw 1 root root 64 0x0000000 Nov7 08:13 group

:

5.Choose a unique minor number for the new group file in sequential order (for example, when existing volume groups are vg00-vg05 and the next group name is vg06, use minor number 06 for the vg06 group file).

The minor numbers are hexadecimal (for example, the 10th minor number is 0x0a0000).

6.Use mknod to create the group file for the new directory. Specify the volume group name, major number, and minor number. The major number for all group files is 64.

42

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

Image 40
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 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 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 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 View Command View XPCommand device Array groupHost mode Disk controller unitDisk cabinet unit Emulation modes FailoverOPEN-x PathPort Remote console PCVolume Remote Control RCRemote Web Console Index Page Index