Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ diskadd(1M) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fdisk(1M)

mkdir(1M)

mkfs(1M)

swap(1M)



diskadd(1M)               UNIX System V(Base System)                diskadd(1M)


NAME
      diskadd - disk set up utility

SYNOPSIS
      diskadd [disk_number]

DESCRIPTION
      The initial system disk is set up during system installation.  Additional
      disks must be set up using diskadd.  diskadd is an interactive command
      which prompts the user for information about the setup of the disk.

      The optional argument disk_number is used to represent the SCSI disk
      device to be added to the system.  If no argument or a 1 is supplied,
      diskadd will be executed for the second integral disk.  The format of the
      disk_number argument is:
           cxtydz
                     x  =    controller number, (0 - 2)
                     y  =    Target controller SCSI ID, (0 - 6)
                     z  =    Logical Unit ID number, (0 - 3).

      The tasks which are required for the setup of disks include the following
      steps.  First the fdisk(1M) command is invoked to partition the disk.
      This step breaks up the disk into logical portions for the UNIX Operating
      system and for the DOS Operating system.  The disksetup(1M) command is
      invoked next for surface analysis, creating/writing the pdinfo, VTOC and
      alternates info (for non-SCSI drives) to the disk, issuing the needed
      mkfs calls, and mounting filesystems.  The surface analysis is done to
      catch any detectable defects and remap them.  On SCSI disks, the
      formatting of the disk will remap any detectable defects, so the surface
      analysis is optional, but recommended.  The creation of the VTOC divides
      the UNIX system partition into slices.  Slices are created to contain a
      filesystem or act as a raw device (e.g., the swap or dump device).  The
      execution of the mkfs(1M) command for the needed filesystems handles the
      creation of a specific type of filesystem on a slice.  If automatic
      mounting was requested, directories are created in the root filesystem to
      hold the new filesystems, they are mounted, and /etc/vfstab is updated to
      remount them on subsequent bootups of the system.

      The device files will be present prior to running diskadd.  The device
      files for an second integral disk /dev/rdsk/1s* and /dev/dsk/1s*, are
      always present.

      If swap/paging space is added on the new drive, it must be made available
      for system use with the swap(1M) program.

NOTES
      Due to compatibility considerations, when you set-up a UFS filesystem
      greater than 128 MB, it will hold only 64k inodes.  To create more than
      64k inodes, either recreate the filesystem using mkfs or use the UFS
      filesystem debugger to allocate more inodes.




10/89                                                                    Page 1







diskadd(1M)               UNIX System V(Base System)                diskadd(1M)


FILES
      /dev/dsk/1s?
      /dev/dsk/c?t?d?s?
      /dev/rdsk/1s*
      /dev/rdsk/c?t?d?s0
      /etc/vfstab

SEE ALSO
      fdisk(1M), mkdir(1M) mkfs(1M), swap(1M).













































Page 2                                                                    10/89





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026