format external hard drive

I want to be able to format an external SCSI hard drive for use on a sun solaris system. I have a Sun Storedge A5200, can you highlight the procedure I need to follow to a. detect the drive after I plug it in and b. format it.
Who is Participating?
Irwin SantosComputer Integration SpecialistCommented:
here is an AKEH solution from PAQ: (for Solaris 8)

1. touch /reconfigure (so that Solaris will make a scan for new hardware after next reboot)
2. init 0 (to halt the machine)
3. plug in the drive (make sure it's SCSI id is unique for that controller)
4. boot the machine up ("boot" at the "ok"-prompt)
5. run format (as root). Select the new disk (this is the way to check if the system has detected the new disk).
Select "parttion", then "print". Partition 2 shows the entire disk. If you want to make on big filesystem for the whole disk: select 0, Fill in the same numbers as for Partition 2. Label the disk "label". Quit format.
6. Make a new filesystem on the partition: "newfs /dev/rdsk/cXtYd0s0", where X is the controller number and Y the SCSI id of the disk.
7. Add an entry for the filesystem in /etc/vfstab. For example:
/dev/dsk/c1t0d0s0     /dev/rdsk/c1t0d0s0      /extra ufs    2       yes    -
8. Create the mount-point (mkdir /extra)
9. Mount the filesystem (mount /extra)
Bartley1969Author Commented:
many many thanks
Irwin SantosComputer Integration SpecialistCommented:
cool thank you!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.