• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

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.
0
Bartley1969
Asked:
Bartley1969
  • 2
1 Solution
 
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)
0
 
Bartley1969Author Commented:
many many thanks
0
 
Irwin SantosComputer Integration SpecialistCommented:
cool thank you!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now