Solved

add a hard disk on solaris 2.4

Posted on 1998-02-04
3
306 Views
Last Modified: 2013-12-16
how to add a new scsi hard disk on sun/solaris 2.4 ?
0
Comment
Question by:ancelot
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
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.

738 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