SVR4 # 3

 

FECO:

SVR4 # 3

MODIFICATION NO:

N/A

PRODUCT:

DISK ARRAY PLUS

SUB-ASSEMBLY:

N/A

ESTIMATED MAN HOURS:

N/A

CLASS OF CHANGE:

INFORMATIONAL

REASON FOR CHANGE:

ADDITIONAL SET UP INFORMATION

RELATED FECO/AB

N/A

DISK ARRAY PLUS, CREATION OF ADDITIONAL VIRTUAL DISKS

INTRODUCTION
This details the creation of additional virtual disks on a system running Disk Array Plus. You may need to do this if adding a new slice to the system that requires mirroring.

VIRTUAL DISKS
The system creates the first 16 virtual disks i.e. vdisk1, vdisk2, to vdisk16; thereafter, additional virtual disks have to be created manually, i.e. vdisk17, vdisk18 upwards; and have to be added separately.

NOTE
Throughout this FECO a space in a string is shown by a Ñ.
All other spaces are purely cosmetic.

CREATION OF ADDITIONAL VIRTUAL DISKS

  1. Login as super user i.e at login Enter root <CR> and then Enter the password and <CR> .
  2. Change directory Enter cd Ñ/dev/rdsk <CR>
    Find out the major number and the last minor number Enter ls –l |grep Ñ vdisk*|pg <CR>
    Use the next minor number up when you create a virtual disk as illustrated in para 3 and 4 below
  3. Enter mknod Ñ /dev/rdsk/vdiskXX Ñ c Ñ major number Ñminor number <CR> where XX is the number of the vdisk that you are adding for example 17.
  4. The c option in the command represents a character device

  5. Enter mknod Ñ /dev/dsk/vdiskXX Ñ b Ñ major number Ñ minor number <CR>
  6. The b in the command represents a block device

  7. Change directory Enter cd Ñ /etc/conf/node.d/ <CR>
    Use vi to edit a file called vdisk.
    Go to the last entry in the file and make entries for /dev/rdsk/vdiskXX i.e character device and for /dev/dsk/vdiskXX i.e. block device as per existing entries.
  8. Check the tunable parameter VDMAXUNIT by changing directory.
    Enter cd Ñ /etc/conf/cf.d/
    Enter pg Ñ stune and search for V DMAXUNIT.
    If it is set to a value more than the total number of vdisks required goto para 7. If it is set to a value less than the total number of vdisks required e.g if it is set to 16 and you want to add an additional vdisk number 17; then the parameter must be increased to at least 17. Increment it by editing the stune file using vi, and then rebuild the kernel.
    To rebuild kernel Enter /etc/conf/bin/idbuild <CR>
  9. Answer Y to the question to rebuild kernel

  10. Ensure that all the users are off the System then reboot it for the above modifications to take effect. Enter shutdown Ñ –y Ñ –g0 Ñ –i6

Return to Index