Add_disk(1) Add_disk(1)
Add_disk - add an optional disk to the system
Add_disk [ controller_number ] [ disk_number ] [ lun_number ]
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.
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.
In the event that the mount point for the new disk has permissions which
may interfere with normal use, Add_disk may issue a warning regarding a
too restrictive umask value or insufficient permissions on an existing
mount point. Usually, a mount point directory should have execute
permissions set for user, group and others. Without these permissions
set, a user may be denied permission to access the parent directory of
the mount point after the disk is mounted.
chmod(1), umask(1), fx(1M), mkfs(1M), fstab(4).
PPPPaaaaggggeeee 1111 [ Back ]
|