how many disks do I have?

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how many disks do I have?
# 8  
Old 11-01-2001

df doesnt show me the physical disks, it shows me the logical volumes
# 9  
Old 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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question