Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ diskadd(1M) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

emergency_disk(1M)

disksetup(1M)

fdisk(1M)

intro(7)

mkdir(1)

mkfs(1M)

sd01(7)

swap(1M)






       diskadd(1M)                                              diskadd(1M)


       NAME
             diskadd - disk set up utility

       SYNOPSIS
             diskadd [-F dm_type] [disk_number]
             diskrm [-F dm_type] [disk_number]

       DESCRIPTION
             The initial system disk is set up during system installation.
             Additional disks not used during system installation must be
             set up using diskadd; the diskrm command is used to remove
             disk drives from the system.  The only function of diskrm is
             to update /etc/vfstab.

             diskadd is an interactive command which prompts you for
             information about the setup of the disk.

          Options
             -F dm_type
                   Denotes the disk manager interface to use.  If this
                   option is not specified, diskadd and diskrm look in the
                   /etc/default/diskmgmt file for the disk manager
                   interface to use.  If the /etc/default/diskmgmt file is
                   missing or the default cannot be determined, the value
                   s5dm is used.  This is also the default disk manager
                   entry in the /etc/default/diskmgmt file; to set a
                   different default disk manager, you must change this
                   entry.

             disk_number
                   Represents the disk device to be added to the system.
                   If you specify 1 as the disk_number, diskadd defaults to
                   adding the second disk on your system.  For additional
                   disks, the format of the disk_number argument is:

                               cCbBtTdD

                   See intro(7) for an explanation of this notation.

          Files
             /dev/dsk/1s?
             /dev/dsk/cCbBtTdDsS
             /dev/dsk/cCbBtTdDpP
             /dev/rdsk/1s*
             /dev/rdsk/cCbBtTdDs0
             /etc/vfstab


                           Copyright 1994 Novell, Inc.               Page 1













      diskadd(1M)                                              diskadd(1M)


      USAGE
            To setup a hard disk, first the fdisk(1M) command is invoked
            to partition the disk.  This step breaks up the disk into
            logical portions for the UnixWare operating system and for
            disk operating systems (DOS).

            Next, the disksetup(1M) command is executed for surface
            analysis, creating/writing the pdinfo, VTOC and alternates
            information to the disk, issuing the needed mkfs calls, and
            mounting filesystems.

            The surface analysis is performed to catch any detectable
            defects and remap them.  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 (for example, the
            swap or dump device).  Executing the mkfs(1M) command for the
            needed filesystems handles the creation of a specific type of
            filesystem on a slice.  If you requested automatic mounting,
            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.

            If you add swap/paging space on the new drive, you must make
            it available for system use with the swap(1M) command.

            As mentioned previously, the diskrm command can be used to
            remove disk drives from the system by updating the /etc/vfstab
            file.  The drive to be removed is designated in the same way
            as for the diskadd command.

      NOTICES
            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.

            If you change the hard disk configuration on your system (for
            example, if you add, replace, or remove a hard disk), you
            should create new emergency recovery diskettes.  For details,
            see emergency_disk(1M), and the chapter ``Recovering Your
            System'' in the System Owner Handbook.

      REFERENCES
            emergency_disk(1M), disksetup(1M), fdisk(1M), intro(7),
            mkdir(1), mkfs(1M), sd01(7) swap(1M)


                          Copyright 1994 Novell, Inc.               Page 2








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