tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: diarra () ipnsun5 ! in2p3 ! fr (Christophe Diarra)
To: tru64-unix-managers
Subject: SUMMARY: Adding Third-Party SCSI Disk
Date: Mon, 10 Jul 1995 16:15:30 +0000	[thread overview]
Message-ID: <96075321606463.tru64-unix-managers.marc@archive.invalid> (raw)

Hello,

here is my the message a sent to the net:
> Hi,
>
> I have add a Quantum 2 Gb disk on my system just modifying the /etc/disktab.
> I have add a new entry (rzq):
> 
> # cat /etc/disktab
> ...
> rzq|RZQ|Quantum Empire_2100S:\
>         :ty=QUA 2100S:dt=SCSI:ns#137:nt#12:nc#2499:\
>         :oa#0:pa#131072:ba#8192:fa#1024:\
>         :ob#0:pb#0:bb#8192:fb#1024:\
>         :oc#0:pc#4108356:bc#8192:fc#1024:\
>         :od#0:pd#0:bd#8192:fd#1024:\
>         :oe#0:pe#0:be#8192:fe#1024:\
>         :of#0:pf#0:bf#8192:ff#1024:\
>         :og#0:pg#0:bg#8192:fg#1024:\
>         :oh#0:ph#0:bh#8192:fh#1024:
> 
> The command "disklabel -rw /dev/rrz2c rzq" works. ADVfs commands too.
> My questions are the following:
> 	1) do I need to modify the /sys/data/cam_data.c file?
> 	2) why ?
> 
> Thanks in advance.
> ***
> Christophe DIARRA
> Institut de Physique Nucleaire
> Orsay - Bat 100 - S2I
> 91406 Orsay - FRANCE
> E-mail: diarra@ipnsun5.in2p3.fr
> ***

I have received a lot of good responses, and any thing is clear now for me.

Many thanks to Knut Helleboe, Daniel Clar, Thomas P. Blinn, pclark, alan@nabeth.cxo.dec.com.

I can summary things as bellow:

To add an SCSI disk which is SCSI-2 compliant, just type the following command:
   # disklabel -wr rz# anything_here
   Example:
   # disklabel -wr rz2 rz2
   You don't need to modify  /etc/disktab or /sys/data/cam_data.c

You may modify files only when you add RAID systems.

The detail of the answers are here-included:

> From bgk1142@bggfu2.nho.hydro.com Mon Jul 10 12:02:10 1995
> Reply-To: Knut.Hellebo@nho.hydro.com
> X-Mailer: Z-Mail (3.2.0 26oct94 MediaMail)
> To: diarra@ipnsun5.in2p3.fr (Christophe Diarra)
> Subject: Re: what is zko.dec.com ?
> Mime-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 8bit
> Content-Length: 847
> X-Lines: 17
>
> Regards,
> 
> 1. No, because the interface to the disk is through the standard SCSI
> interface already described.
> 
> -- 
> 
>       ******************************************************************
>       *         Knut Helleboe                    | DAMN GOOD COFFEE !! *
>       *         Norsk Hydro a.s                  | (and hot too)       *
>       * Phone: +47 55 996870, Fax: +47 55 996342 |                     *
>       * Pager: +47 96 500718                     |                     *
>       * E-mail: Knut.Hellebo@nho.hydro.com       | Dale Cooper, FBI    *
>       ******************************************************************

> From Daniel.Clar@supelec.fr Mon Jul 10 13:29:40 1995
> To: diarra@ipnsun5.in2p3.fr
> Subject: Re: Adding Third-Party SCSI Disk
> X-Vms-To: SMTP%"diarra@ipnsun5.in2p3.fr"
> Content-Length: 105
> X-Lines: 5
> 
> Je ne sais plus trop, mais quelque chose du genre :
> 
> disklabel -t advfs -r /dev/rrzxx atlas
> 
> Daniel Clar
> 
 
> From tpb@zk3.dec.com Mon Jul 10 15:45:33 1995
> To: diarra@ipnsun5.in2p3.fr (Christophe Diarra)
> Subject: Re: Adding Third-Party SCSI Disk 
> X-Mts: smtp
> Content-Length: 1140
> X-Lines: 33
> 
> 
> > I have add a Quantum 2 Gb disk on my system just modifying the /etc/disktab.
> 
> Good for you.  In fact, you shouldn't even need to modify /etc/disktab if
> you are using the latest software releases.
> 
> > The command "disklabel -rw /dev/rrz2c rzq" works. ADVfs commands too.
> 
> They are all supposed to work with any quality SCSI-2 compliant hard disk.
> 
> > My questions are the following:
> > 	1) do I need to modify the /sys/data/cam_data.c file?
> > 	2) why ?
> 
> 1) No.
> 
> 2) You don't need to.
> 
> Tom
>  
>  Dr. Thomas P. Blinn, UNIX Software Group, Digital Equipment Corporation
>   110 Spit Brook Road, MS ZKO3-2/U20   Nashua, New Hampshire 03062-2698
>    Technology Partnership Engineering           Phone:  (603) 881-0646
>     Internet: tpb@zk3.dec.com           Digital's Easynet: alpha::tpb
> 
>   Worry kills more people than work because more people worry than work.
> 
>      My favorite palindrome is: Satan, oscillate my metallic sonatas.
>                                          -- Phil Agre, pagre@ucsd.edu
> 
>   Opinions expressed herein are my own, and do not necessarily represent
>   those of my employer or anyone else, living or dead, real or imagined.
>  
> 

I include bellow just two messages to summary all the responses:
> From pclark@pclark.pcix.com Mon Jul 10 16:42:50 1995
> Subject: Re: Adding Third-Party SCSI Disk
> To: diarra@ipnsun5.in2p3.fr
> X-Mailer: ELM [version 2.4 PL24]
> Mime-Version: 1.0
> Content-Type> : > text/plain> ; > charset=US-ASCII> 
> Content-Transfer-Encoding: 7bit
> Content-Length: 224
> X-Lines: 6
> 
> Actually, you don't need to edit either disktab or cam_data.  If you 
> disklabel'd the drive with an unassigned number (i.e. rz99) disklabel 
> goes out and gets all the information it needs from the drive itself.
> 
> Good luck!
> 
> 

> From alan@nabeth.cxo.dec.com Mon Jul 10 17:17:59 1995
> To: diarra@ipnsun5.in2p3.fr
> Subject: Re:  Adding Third-Party SCSI Disk
> Content-Length: 575
> X-Lines: 12
> 
> 	If a SCSI devices requires the setting of options beyond
> 	the default to work reasonably, then an entry in the cam_data.c
> 	file is useful.  Typical examples are tape drives that need
> 	their write-cache turned on to provide the expected level of
> 	performance.  Disks typically don't require such options, so
> 	the only value of a cam_data.c entry is to allow the system
> 	to "recognize" the disk as its actual type rather than RZxx.
> 
> 	For RAID subsystems an entry might be useful, since it allows
> 	adding some of the SCSI options that aren't typically negoicated
> 	by default.
> 
>

                 reply	other threads:[~1995-07-10 16:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox