Solved

add a hard disk on solaris 2.4

Posted on 1998-02-04
3
294 Views
Last Modified: 2013-12-16
how to add a new scsi hard disk on sun/solaris 2.4 ?
0
Comment
Question by:ancelot
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
burnotte earned 100 total points
ID: 1812889


just plug the this in scsi chain ( be carefull not to use a target id that is already in use * )

type the following commands ( you must be root)

drvconfig
devlinks
disks

that is all you have to do.

another way to do this is to stop the machine
plug the disk

type at the ok prompt : boot -r
----------------

than you can format the disk with the command : format
and create a file system file the command : newfs
________________________________

* usually cdrom use the target id 6
        root disk target id 3 if it is old machine ( ss5 , ss10 , ss20 , ....)
              or target id 0 if it is newer machine ( ultra ...)

if you are not sure which target id you can use then stop the machine and type at the ok promp : probe-scsi-all
and look for a free target id.


0
 

Author Comment

by:ancelot
ID: 1812890
ok, but do i have to use fdisk utility to partition and can i
have only one partition on this disk ?
0
 
LVL 1

Expert Comment

by:burnotte
ID: 1812891
to create partition on the disk , you have to use the command: format
type the command format then select the new disk for exemple c0t1d0

then choose  chose partition and then modifie .

and do what you want one or more partition

then label the disk and quit the format command

so once you have done this , you have to create a file system on the partition you have created.
for this you have to use the command : newfs

for exemple if you have create one partition on the slice 0 on the disk target 0 on the controler 0 type the following :
newfs /dev/rdsk/c0t1d0s0

in c0t1d0s0
c0 means controler 0
t1 means target id 1
s0 means slice 0
d0 is always d0 except if you have a SSA but i don t think it is the case .

i hope this will help you.
but for more information on the command format and newfs have a look at the man pages .
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

708 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

23 Experts available now in Live!

Get 1:1 Help Now