How do I add additional drives?

How do I add additional drives?

First, you must have Solaris scan for the new drive.
Become root and type: "touch /reconfigure; /usr/sbin/reboot"
This rebuilds the /devices/ and /dev/ directories.


ATAPI and SCSI the drives are already low-level formatted. If you wish to
format a SCSI you can use /usr/sbin/format that comes with Solaris.
A second drive install would use format.


To create and use a filesystem:


  • Select the disk
  • /sbin/fdisk (select the whole disk or partial for format)
  • Write the label with the "label" option partition, check the partition
    arrangement
  • Create a filesystem with /usr/sbin/newfs on the drive.
    E.g. "newfs /dev/rdsk/c0t1d0s0"
    creates a filessystem on the the whole drive with SCSI ID 1.
  • Create your mount point directory, if it doesn't exist.
    For example, mkdir -p /local
  • mount the partition on your favorite mount point directory.
    For example,
    mount /dev/dsk/c0t1d0s2 /local
    mounts slice 2 of disk 0 of SCSI ID 1 of SCSI controller 0
    at /local.
  • Add a line to your /etc/vfstab file.
    See the vfstab man page for details.
    For example:


    /dev/dsk/c0t1d0s2 /dev/rdsk/c0t1d0s2 /local ufs 1 yes -


[Thanks to Bob Palowoda's FAQ and Sonny Leman]





Home
FAQ