Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Mount a SAN FC Drive in Oracle Enterprise Linux 5.7

Posted on 2011-10-07
3
Medium Priority
?
1,572 Views
Last Modified: 2012-05-12
Greetings,

I will start by saying I'm completely new to linux.
Here is what we have:
An IBM v7000 SAN
IBM x3650 M3 server
    - has two Brocade 8 gig fiber HBAs ran to redundant Fiber switches
The server is running Oracle Enterprise Linux 5.7 newly installed

I am trying to map a SAN drive, The LUN is created and mapped to the host on the SAN:
Volume Name       
ORACLEDB_DEV
Volume ID      2
Status        Online  
Capacity  1,000.0 GB
Volume UID 60050768028100EFD40000000000000C


And shows up in linux scsi by-id directory as:
scsi-3600605b003e79cd016209e7a2d42ea7b
scsi-3600605b003e79cd016209e7a2d42ea7b-part1
scsi-3600605b003e79cd016209e7a2d42ea7b-part2

How do I map (or mount) to this LUN and make it so that it persists though a server reboot with the same mapping.

Thanks!





0
Comment
Question by:ptuttle1319
  • 2
3 Comments
 

Author Comment

by:ptuttle1319
ID: 36930949
Here is the fiber HBAs from a lspci -k :
1a:00.0 Fibre Channel: Brocade Communications Systems, Inc. 415/815/41B/81B 4Gbps/8Gbps PCIe single port FC HBA (rev 01)
        Subsystem: Brocade Communications Systems, Inc. 415/815 4Gbps/8Gbps single port PCIe FC HBA
        Kernel driver in use: bfa
        Kernel modules: bfa
1a:00.1 Fibre Channel: Brocade Communications Systems, Inc. 415/815/41B/81B 4Gbps/8Gbps PCIe single port FC HBA (rev 01)
        Subsystem: Brocade Communications Systems, Inc. 415/815 4Gbps/8Gbps single port PCIe FC HBA
        Kernel modules: bfa
24:00.0 Fibre Channel: Brocade Communications Systems, Inc. 415/815/41B/81B 4Gbps/8Gbps PCIe single port FC HBA (rev 01)
        Subsystem: Brocade Communications Systems, Inc. 415/815 4Gbps/8Gbps single port PCIe FC HBA
        Kernel driver in use: bfa
        Kernel modules: bfa
24:00.1 Fibre Channel: Brocade Communications Systems, Inc. 415/815/41B/81B 4Gbps/8Gbps PCIe single port FC HBA (rev 01)
        Subsystem: Brocade Communications Systems, Inc. 415/815 4Gbps/8Gbps single port PCIe FC HBA
        Kernel modules: bfa

Open in new window

0
 

Author Comment

by:ptuttle1319
ID: 36930992
I'm fairly sure the drive I listed above:
scsi-3600605b003e79cd016209e7a2d42ea7b

Is our local SAS drives on the server... how do I see the FC drives?
0
 
LVL 81

Accepted Solution

by:
arnold earned 2000 total points
ID: 36931435
fdisk -l should reveal all the local drives on the system which will include iSCSI/FC allocated drives.
more /proc/scsi/scsi

/dev/sdd
/dev/sde etc.

not sure what cli brocade uses
lpfc for emulex HBA
scli for qlogic HBA

bcu for brocade HBA
http://esd.brocade.com/s/documents/downloads/HBA/Documentation/Brocade_Adapters_v3.0.0.0_Admin_Guide.pdf?e=1318000953&h=9b7c3984ba607757bf129d3b7366c896&fextn=.pdf

From the command line utility section:
fcpim page 243

bcu fcpim - -lunlist 1/0

It will tell you which LUN is mapped to which internal drive.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Among the most obnoxious of Exchange errors is error 1216 – Attached Database Mismatch error of the Jet Database Engine. When faced with this error, users may have to suffer from mailbox inaccessibility and in worst situations, permanent data loss.
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

575 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question