LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   mount disk attached to HBA (https://www.linuxquestions.org/questions/linux-hardware-18/mount-disk-attached-to-hba-144014/)

jackpal 02-09-2004 07:15 AM

mount disk attached to HBA
 
Hello all,
I am building an cluster based on RedHat AS 3. I've installed Emulex LP8000 HBAs and have successfully compiled and activated the drivers. There is a good link light for each machine attached to the SAN fabric. My question is frustratingly simple.

How do I mount the disk set aside for each node?

I know how to mount disks but what would be the device name for the disk attached to the HBAs?

/dev/sdaxx ??? or something else ?

In Solaris I can just type "format" and it will list all the disk that the OS can "see" mounted or unmounted. Is there a similar command in Linux?

Jack

jackpal 02-09-2004 11:41 AM

Ok, I've figured out how to mount the disk I was looking for. I used fdisk

fdisk /dev/sdb and fdisk /dev/sdc and I was able to see the disk on our SAN. I still have a question reguarding the format command is Solaris.

Is there an equivalent command in Linux. Here is some output from a Solaris box.

/ -1> format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c0t0d20 <HP-OPEN-V-SUN-2104 cyl 59316 alt 2 hd 15 sec 128>
/ssm@0,0/pci@1a,700000/fibre-channel@3/sd@0,14
1. c1t0d20 <HP-OPEN-V-SUN-2104 cyl 59316 alt 2 hd 15 sec 128>
/ssm@0,0/pci@1e,700000/fibre-channel@3/sd@0,14
2. c2t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/ssm@0,0/pci@1a,700000/pci@2/SUNW,isptwo@4/sd@0,0
3. c2t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
/ssm@0,0/pci@1a,700000/pci@2/SUNW,isptwo@4/sd@1,0
Specify disk (enter its number):

It would be nice if I could do this in linux instead of guessing where a device might be. The closest thing I could find was the Disk Partitioning module in Webmin.

Thanks
Jack

nerissar 03-18-2004 05:58 PM

Hi Jack, Try

fdsk -l

should give you everything connected.

nerissar 03-18-2004 05:59 PM

opps, I meant

fdisk -l


All times are GMT -5. The time now is 02:27 AM.