format external hard drive

Posted on 2006-05-24
Last Modified: 2013-12-27
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.
Question by:Bartley1969
    LVL 30

    Accepted Solution

    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)

    Author Comment

    many many thanks
    LVL 30

    Expert Comment

    cool thank you!

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now