Adddisk(1) Adddisk(1)
NAME
Add_disk - add an optional disk to the system
SYNOPSIS
Adddisk [ controller_number ] [ disk_number ] [ lun_number ]
DESCRIPTION
Add_disk enables you to add an extra SCSI disk to a system if the disk is
on an integral SCSI controller (i.e., it can not be used for disks
attached to VME SCSI controllers).
The disk_number option must be specified if you are not adding the
default ID of 2; similarly the controller and lun must be specified if
other than 0.
The Add_disk command creates the required directory, makes the
appropriate device file links, makes a new filesystem, does the required
mount operation, and adds the appropriate entry to /etc/fstab.
Appropriate checks are made for filesystems already existing on the
common partitions (0, 6, and 7). If they are present, you are asked if
you want to proceed before a filesystem is made. If the answer is no,
Add_disk exits.
NOTE
Older versions of this command worked only with controller 0, and used a
default mount point of /disk#, where # was the SCSI ID. This version
uses /disk##, where the first # is the controller and the second is the
SCSI ID.
Add_disk is a shell script and can be used as a template to determine
what is necessary. The volume header on the disk must already have been
initialized with the fx(1M) program.
SEE ALSO
fx(1M), mkfs(1M), fstab(4).
Page 1