Adding a disk drive on Solaris
- Shutdown the system.
- Check the address of the disk drive.
- Install the disk drive.
- Tunr on the power.
- Prepare the disk. (eg. c0t4d0)
- Format the disk.
- # format
- Select the disk that you want to format. (eg. c0t4d0)
- format> format
- Partition a disk.
- format> partition
- partition> modify
- Select 0. Default ...
- Free Hog as necessary.
Refer to Solaris manual for the detailed How-to.
- Assign a name to the newly created table.
- Type the new name of the partition. eg. ("new_data")
- parition> or format> label
- y
- q
- q
- Create file system.
- newfs /dev/rdsk/c0t4d0s0
- Edit /etc/vfstab to add an entry of new partition.
- # mkdir /new_data
- # mount /dev/dsk/c0t4d0s0 /new_data or # mountall