11-01-2001
"format" will show all physical disks with sun. "prtconf" is also useful on suns. And "ioscan" or "sam" will do it on hp.
I'm gonna take a crack at describing controllers and targets...
Every disk and tape that you have will be connected to the computer by a cable. Data will go back and forth through that cable. The cable connects to a card in the computer. That card is the controller. Each card gets a number. So that is the controller number that people are talking about.
If you trace the cable from the card to the disk drive, you may find another cable the goes to a 2nd disk drive. Each disk drive will have two places to plug in a cable. The last disk drive should have a terminator instead of a cable on the 2nd connector. The i/o card in the computer and all the drives attached to it until that terminator is a "chain". Each drive on a chain will have an address set in some switches or a dial. And each drive on the chain better have a unique address. This address is that target number. So the disk with the target set to 2 on the first i/o card (controller 0) will be c0t2d0.
That last number will be 0 unless you have a disk array rather than a disk drive.
You can't just count the special files in /dev/dsk. If you unhook a disk drive and throw it away, the special files won't go away with most versions of unix. You can always use mknod to create a new special file. But if you do, a disk drive will not magically appear.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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 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
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
whats the command to find name of all disks. Is it iostat -En ? (1 Reply)
Discussion started by: vikashtulsiyan
1 Replies
7. Solaris
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
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
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
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
LEARN ABOUT HPUX
diskinfo
diskinfo(1M) diskinfo(1M)
NAME
diskinfo - describe characteristics of a disk device
SYNOPSIS
character_devicefile
DESCRIPTION
The command determines whether the character special file named by character_devicefile is associated with a SCSI or floppy disk drive. If
so, summarizes the disk's characteristics.
The command displays information about the following characteristics of disk drives:
Vendor name Manufacturer of the drive (SCSI only)
Product ID Product identification number or ASCII name
Type Floppy or SCSI classification for the device
Disk Size of disk specified in bytes
Sector Specified as bytes per sector
Both the size of disk and bytes per sector represent formatted media.
Options
The command recognizes the following options:
Return the size of the disk in 1024-byte sectors.
Display a verbose summary of all of the information
available from the device. For floppy drives, this option has no effect.
SCSI disk devices return the following:
Vendor and product ID
Device type
Size (in bytes and in logical blocks)
Bytes per sector
Revision level
SCSI conformance level data
DIAGNOSTICS
Most of the diagnostic messages from are self-explanatory. However, one diagnostic message deserves further clarification. If the command
fails to access the lunpath corresponding to a given special file, it displays the following diagnostics data, which contains device iden-
tification and capability information:
device type 127 (unknown); device is inaccessible
iso ecma ansi rmb dtq resv rdf
WARNINGS
As of release 10.20 of HP-UX, certain IDE devices, CD-ROMs in particular, will respond to inquiries as if they were SCSI devices. There-
fore, the text "SCSI describe" in the output of the command does not definitively mean that the disk is in fact a SCSI drive (especially in
the case of CD-ROMs). Use to check which type of INTERFACE node, SCSI or IDE, the device's hardware path lies beneath, in order to defini-
tively determine a drive's interface.
DEPENDENCIES
General
The command supports floppy and HP SCSI disk devices.
SCSI Devices
The SCSI specification provides for a wide variety of device-dependent formats. For non-HP devices, may be unable to interpret all of the
data returned by the device. Refer to the drive operating manual accompanying the unit for more information.
AUTHOR
was developed by HP.
SEE ALSO
ioscan(1M), lsdev(1M), disktab(4), disk(7).
diskinfo(1M)