Adding a disk drive on Solaris

  1. Shutdown the system.
  2. Check the address of the disk drive.
  3. Install the disk drive.
  4. Tunr on the power.
  5. Prepare the disk. (eg. c0t4d0)
  6. Format the disk.
  7. # format
  8. Select the disk that you want to format. (eg. c0t4d0)
  9. format> format
  10. Partition a disk.
  11. format> partition
  12. partition> modify
  13. Select 0. Default ...
  14. Free Hog as necessary.
    Refer to Solaris manual for the detailed How-to.
  15. Assign a name to the newly created table.
  16. Type the new name of the partition. eg. ("new_data")
  17. parition> or format> label
  18. y
  19. q
  20. q
  21. Create file system.
  22. newfs /dev/rdsk/c0t4d0s0
  23. Edit /etc/vfstab to add an entry of new partition.
  24. # mkdir /new_data
  25. # mount /dev/dsk/c0t4d0s0 /new_data or # mountall