* rrzb33c nomenclature
@ 1999-02-26 5:00 dcurrell
1999-02-26 5:00 ` Stuart R. Fuller
1999-02-26 5:00 ` Nikola Milutinovic
0 siblings, 2 replies; 4+ messages in thread
From: dcurrell @ 1999-02-26 5:00 UTC (permalink / raw)
I would like to know if there is a method to determine the hardware path of a
defined LUN. With SUN or HP it's easy - c0t1d0s6 for example means controller
0,target 1, disk 0, slice 6.
It's not so apparent with DEC Unix 4.0. From reading the man pages - rz - the
minor number should give this information if you convert it from decimal to
binary and group the bits. Where can I find a table that explains that 0010
means 'c', for example?
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rrzb33c nomenclature
1999-02-26 5:00 rrzb33c nomenclature dcurrell
1999-02-26 5:00 ` Stuart R. Fuller
@ 1999-02-26 5:00 ` Nikola Milutinovic
1 sibling, 0 replies; 4+ messages in thread
From: Nikola Milutinovic @ 1999-02-26 5:00 UTC (permalink / raw)
dcurrell@my-dejanews.com wrote:
>
> I would like to know if there is a method to determine the hardware path of a
> defined LUN. With SUN or HP it's easy - c0t1d0s6 for example means controller
> 0,target 1, disk 0, slice 6.
>
> It's not so apparent with DEC Unix 4.0. From reading the man pages - rz - the
> minor number should give this information if you convert it from decimal to
> binary and group the bits. Where can I find a table that explains that 0010
> means 'c', for example?
The way I figure it:
rz - Ordinary SCSI disk
ra - RAID
re - RAID
rz<n>
SCSI controller SCSI ID n
------------------------------------------
0 0 0
0 1 1
0 2 2
0 3 3
0 4 4
0 5 5
0 6 6
0 7 7
1 0 8
1 1 9
1 2 10
1 3 11
1 4 12
1 5 13
1 6 14
1 7 15
For instance, I have an AlphaStation 200, with one interneal (PCI) SCSI
controller and an additional SCSI Wide PCI controller. A disk with LUN 0 on the
additional controller is seen as DKB0 from SRM console and as rz8 under UNIX.
Nix.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rrzb33c nomenclature
1999-02-26 5:00 rrzb33c nomenclature dcurrell
@ 1999-02-26 5:00 ` Stuart R. Fuller
1999-02-27 5:00 ` Kurt Limperis
1999-02-26 5:00 ` Nikola Milutinovic
1 sibling, 1 reply; 4+ messages in thread
From: Stuart R. Fuller @ 1999-02-26 5:00 UTC (permalink / raw)
dcurrell@my-dejanews.com wrote:
: I would like to know if there is a method to determine the hardware path of a
: defined LUN. With SUN or HP it's easy - c0t1d0s6 for example means controller
: 0,target 1, disk 0, slice 6.
:
: It's not so apparent with DEC Unix 4.0. From reading the man pages - rz - the
: minor number should give this information if you convert it from decimal to
: binary and group the bits. Where can I find a table that explains that 0010
: means 'c', for example?
rrzb33c
+ ++++
| |--|
| | ||
| | |+- partition, or "slice"
| | +- (bus# * 8) + target#
| +- lun of this target: ""=0, "a"=1, "b"=2 ...
+- raw, vs. "not-raw"
So, "/dev/rrzb33c" refers to the SCSI device on bus 4, target 1, LUN 2, and is
the raw device, vs. the filesystem device. And, by the fact that the LUN is
not 0, you most likely have some sort of intelligent controller such as the
HSZ40, HSZ50, HSZ70.
The HSZnn controllers present virtual units to the host. The target and LUN
presented to the host is defined by the setups in the HSZ controller. To
determine which physical disk(s) a virtual unit might represents, you'll have
to connect to the controller and do a SHOW UNITS command.
Stu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rrzb33c nomenclature
1999-02-26 5:00 ` Stuart R. Fuller
@ 1999-02-27 5:00 ` Kurt Limperis
0 siblings, 0 replies; 4+ messages in thread
From: Kurt Limperis @ 1999-02-27 5:00 UTC (permalink / raw)
Stuart R. Fuller wrote:
> dcurrell@my-dejanews.com wrote:
> : I would like to know if there is a method to determine the hardware path of a
> : defined LUN. With SUN or HP it's easy - c0t1d0s6 for example means controller
> : 0,target 1, disk 0, slice 6.
> :
> : It's not so apparent with DEC Unix 4.0. From reading the man pages - rz - the
> : minor number should give this information if you convert it from decimal to
> : binary and group the bits. Where can I find a table that explains that 0010
> : means 'c', for example?
>
> rrzb33c
> + ++++
> | |--|
> | | ||
> | | |+- partition, or "slice"
> | | +- (bus# * 8) + target#
> | +- lun of this target: ""=0, "a"=1, "b"=2 ...
> +- raw, vs. "not-raw"
>
I believe a=0, b=1, c=2..., according to the HSZ manuals. Also, something I
discovered recently, for example, a storage device on an HSZ50 or HSZ70 controller
on SCSI bus 2 with LUN=0 (unit# D0) does not show up as rza16 as I would expect.
But shows up as rz16. Everything works fine though.
<stuff deleted>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-02-27 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-26 5:00 rrzb33c nomenclature dcurrell
1999-02-26 5:00 ` Stuart R. Fuller
1999-02-27 5:00 ` Kurt Limperis
1999-02-26 5:00 ` Nikola Milutinovic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox