Sponsored Content
Full Discussion: how many disks do I have?
Top Forums UNIX for Dummies Questions & Answers how many disks do I have? Post 9636 by pmetal on Wednesday 31st of October 2001 11:16:32 AM
Old 10-31-2001
It is a little confusing, and I get confused trying to explain it. I believe I may have mis-spoke about the target in my earlier post. It would be easier if I could draw a diagram for ya, but...

Think of the target as a disk/tape/cdrom connected to a controller card. Here's a definition from a Solaris book I have:

Target Number - Target numbers, such as t0, t1, t2 and t3, correspond to a unique address switch setting that is selected for each disk, tape, or CD-ROM. An external disk drive has an address switch located on the rear panel. An internal disk has address pins that are jumpered to assign its target number. Usually t0 - t3 refer to disks, t4 - t5 is tape, and t6 is CD-ROM.

Whereas the Disk Number is the Logical Unit Number (LUN), which reflects the number of disks at the target location. The disk number is always set to d0 with embedded SCSI disks. Which is what we have on our systems, so I'm not sure how you get d5 on yours.

So, lets say you have 2 controllers with 3 disks on each controller, and you want to talk about the 2nd disk on the 2nd controller. That would be:

c1t1d0 (controller and target numbering starts at 0)

I hope I haven't confused you more!Smilie I'm not too good at explaining things....maybe someone else can put a different spin on it. If I think of another way to explain it, I'll let you know.

As far as /dev/dsk....you should be able to cd to that directory and do an ls command and using the naming conventions I showed you, be able to figure out how many disks are there. Remember, all instances of c0t0 is one disk, all instances of c0t1 is another disk, and so on...

Did you try the format command? That will list all drives on your system.

peace
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Disks on AIX

Hello I've been working on AIX 5.3 ML3 on IBM pSeries520. That server has 6 HDD drives in 3 volume groups (1+mirror in each group). I must check which phisical disk is which disk in the system. For ex. I want to know that disk in 4th slot in the machine is marked as hdisk5 on AIX. Does anybody... (2 Replies)
Discussion started by: piooooter
2 Replies

2. AIX

SCSI Disks

Hi Is it possible to install in p5 and pSeries SCSI Disks from SUN on DELL? Will they work? Regards, Pit (0 Replies)
Discussion started by: piooooter
0 Replies

3. Solaris

New Array of disks

I was just curious if anyone has a good tutorial or some info about how I can create and add an array of disks to solaris 8 (11 Replies)
Discussion started by: BRaider
11 Replies

4. Solaris

What do you use to wipe your disks?

What are y'all using to wipe your solaris disks? I am being question by IT Security, what I am using to wipe disk. Is anyone using a 3rd party utility? I have used the format utility in solaris previously. But they are looking for something commercial that I can use. Anyone have... (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

5. AIX

disks broke?

hay I'm new in the AIX-environment. Right now i'm testing some stuff out. But i can't test the LVM-part which is (to me) very important. I have 2 disks in my testmachine but it seems only 1 is working wel. I'll show you the output below of the disks... hdisk0 = in good condition hdisk2 =... (8 Replies)
Discussion started by: kvanelshocht
8 Replies

6. Solaris

disks in solaris

whats the command to find name of all disks. Is it iostat -En ? (1 Reply)
Discussion started by: vikashtulsiyan
1 Replies

7. Solaris

Re-using disks

I would like to know if I can move the disks from a V240 chassis into a V440 chassis to use the increased resources (CPU & Memory) to boost performance. I know you can move disks between V210/240 chassis's, but I'm not sure if this would work between 240s & 440s. Any help would be much appreciated. (4 Replies)
Discussion started by: Chains
4 Replies

8. Solaris

host cannot see FC disks

Have a V440 server which we need to connect up to a SE6140. Did the zoning on the 3900 brocade silkworm and did mapping from the array to the host manually host initiator did not autodetect the wwn and had to key in manually. probe-scsi-all cannot show the fc disks. What is the problem here? (7 Replies)
Discussion started by: incredible
7 Replies

9. Filesystems, Disks and Memory

FC related disks

Dear Friends, I would like know what are FC related disks and how it will be viewed by generic OSes (Unix, Unix like, Windows & etc.) AFAIK it is viewed by generic OS as SCSI. Can we have FC related disks as internal storage(physically) of general purpose machine (Server / PC /... (1 Reply)
Discussion started by: Tlogine
1 Replies

10. Solaris

How to tell what disks are used for a zpool?

Hello, Does anyone know how I can tell what disk are being not being used by a zpool? For example in Veritas Volume manager, I can run a "vxdisk list" and disks that are marked as "online invalid" are disk that are not used. I'm looking for a similar command in ZFS which will easily show... (5 Replies)
Discussion started by: robertinoau
5 Replies
SCSI(7) 						 Miscellaneous Information Manual						   SCSI(7)

NAME
SCSI, RAID - Small Computer System Interface SYNOPSIS
dsk#, tape#_d#, cdrom# DESCRIPTION
The operating system interfaces to disk and tape devices through the Small Computer System Interface (SCSI). SCSI support is limited to the Compaq-supplied storage devices and certain third-party devices. To determine which named devices are supported in the default system, refer to the file /etc/ddr.dbase. For example, the following devices are listed therein: Winchester disks: RZ24L, RZ25, RZ25L, RZ25M, RZ28M, RZ29B, RZ55, RZ56, RZ58, RZ73, RZ74, RX23, RX26, RX33, IOMEGA ZIP, RAID (Redundant Arrays of Independent Disks) SCSI controllers: HSZ10, HSZ40, HSZ80 Magnetic tapes: TZ30, TZK11, TLZ06, TKZ09, TKZ60, DLT8000, SDT-10000 Media Changers: TL800, ESL9000 Optical disks: RRD42, RRD43, RRD44 Vendors can add their own devices to ddr.dbase. Refer to the Software Product Description (SPD) for a given release of the operating system for more information on processor-specific device support. Under the operating system, a SCSI device is referred to by a device identifier that is assigned by the operating system. This name has no relationship to the descriptive name of the device, although in previous releases of the operating system disks such as the RZ74 mapped to a system-assigned rz# logical name (where # was the instance number of that disk. Current logical names for SCSI disks and tapes take the forms specified in the rz(8) and tz(7) reference pages, such as dsk? and tape?. Refer to the dsfmgr(8) reference page for the naming conventions for disks, tapes and other devices, such as CD-ROM readers. Refer to the hwmgr(8) reference page for information on determining device names and other device data. SCSI Device Limits The number of possible target device IDs is determined by the controller type and method of connection, such as a multibus connection using fibre channel. Refer to the emx(7) reference page for an example of device addressing. Device Special Files The dsfmgr command creates device special files for all the devices that are attached to SCSI controllers. This event occurs automatically on system startup, and no administrative intervention is required unless an event requires that a device be renamed or its I/O be reas- signed. In such cases, you can use dsfmgr and hwmgr to manage SCSI devices and their associated device special files without the need to calculate values from their Bus, Target ID, and LUN data. RESTRICTIONS
The SCSI device driver is not warrantied to operate with optical disks other than the devices listed in /etc/ddr.dbase/. The SCSI driver attempts to support, on a best-effort basis, disks and magnetic tapes supplied by other vendors. The following notes apply to the driver's handling of disks from other vendors: These disks are identified using the following command: # hwmgr -get attribute -a name This command will return the device name SCSI-WWID (World-Wide Identifier) for all devices on the system, which includes the model name of the device. You can filter the output by specifying categories of devices. Disks are assigned a default partition table. The default table can be modified by editing the ccmn_rzxx_sizes[8] entry in the /usr/sys/data/cam_data.c file. The disklabel command can also be used to modify the partition table on an RZxx disk. RELATED INFORMATION
atapi_ide(7), dsfmgr(8), emx(7), hwmgr(8), rz(7), tz(7), disklabel(8), ddr.dbase(4) delim off SCSI(7)
All times are GMT -4. The time now is 06:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy