Solved

add a hard disk on solaris 2.4

Posted on 1998-02-04
3
311 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
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 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…

631 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