LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-09-2004, 08:15 AM   #1
jackpal
Member
 
Registered: Oct 2003
Location: Florida USA
Distribution: Fedora, RHEL
Posts: 57

Rep: Reputation: 15
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
 
Old 02-09-2004, 12:41 PM   #2
jackpal
Member
 
Registered: Oct 2003
Location: Florida USA
Distribution: Fedora, RHEL
Posts: 57

Original Poster
Rep: Reputation: 15
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
 
Old 03-18-2004, 06:58 PM   #3
nerissar
LQ Newbie
 
Registered: Mar 2004
Location: Canberra ACT
Posts: 3

Rep: Reputation: 0
Hi Jack, Try

fdsk -l

should give you everything connected.
 
Old 03-18-2004, 06:59 PM   #4
nerissar
LQ Newbie
 
Registered: Mar 2004
Location: Canberra ACT
Posts: 3

Rep: Reputation: 0
opps, I meant

fdisk -l
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding new Disk attached from SAN with out reboot.? dcj1mmy Linux - Enterprise 4 10-28-2005 05:42 PM
ftp can't see mount point attached to raid fa_king Linux - Software 0 08-20-2005 05:06 PM
Promise PDC20376 wont see the disk attached to the P-ATA port! NickLess Debian 4 09-13-2004 03:42 PM
hda: attached ide-disk driver & lost interrupt esteeven Linux - Hardware 6 04-21-2004 07:43 AM
SuSe Linux: hde: attached IDE disk driver freeze Kefka_DArden Linux - Hardware 26 02-12-2004 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration