[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dealing with disks under Solaris


Thanks to David Makepeace for running me through how to format,
partition etc a disk under solaris.  It runs something like the

0) To detect the devices, touch /reconfigure and reboot

1) To partition the disk:

   # format /dev/rdsk/c0t1d0s2
   format> part
   At the partition> prompt, modify the partition you wish using the
     number of the partition.
   To save out the partition, run label.

2) To actually create a filesystem, run something like:

   # newfs -i <blocks per inode> /dev/rdsk/c0t1d0s6

3) To mount the device:

   # mount /dev/dsk/c0t1d0s2 /path

4) To make it mount on boot, add something like the following to

/dev/dsk/c0t1d0s6    /dev/rdsk/c0t1d0s6   /spare  ufs   1 yes     -

Feel free to add more detail / correct anything I've got wrong.

|Brad Marshall                    |           Plugged In Software|
|Senior Systems Administrator     |     http://www.pisoftware.com|
|mailto:bmarshal@pisoftware.com   |  GPG Key Id: 47951BD0 / 1024b|
 Fingerprint:  BAE3 4794 E627 2EAF 7EC0  4763 7884 4BE8 4795 1BD0