Installing HBAs/Drivers on an Linux Host

 

Topic

Setting up a host environment

Selections

Select a host: Linux

Select a Linux task: Installing HBAs/drivers

Select a HBA type: Emulex

Select a switch type: Brocade

 

 

Contents

·             Installing Emulex HBA(s) on a Linux Host 4

·             Updating Emulex HBA firmware for Linux. 5

·             Installing an Emulex HBA driver on a Linux v2.6.x kernel 11

·             Installing an Emulex driver on a Linux v2.4.x kernel 18

·             Determine WWN of new HBA for Linux. 27

·             Creating switch zones. 27

·             Making LUNs or Devices available to Linux. 29

 


 

Install/Setup Emulex HBA/Driver Environment on Linux

 

Using various procedures, this section for Linux, featuring a Emulex HBA environment describes how to install and setup host bus adapters and other aspects of a host environment that deal with managing devices of a storage system. A series of procedures take you through installing HBAs, HBA firmware and drivers.

 

·              Installing Emulex HBA(s) on a Linux Host

 

Overview

This procedure describes how to install Emulex HBAs on a Linux host.

 

These procedures are based on content from the following EMC manual:

  • EMC Host Connectivity Guide for Linux
  • EMC Support Matrix Linux

 

You can download these guides from EMC Online Support (registration required): https://support.EMC.com

 

 

1.   

Set Jumpers on adapter board

Review your host computer documentation for slot recommendations that meet or exceed the HBA capabilities.

 

Set the HBA jumpers as shown in the figure below to enable it for use with the Intel-based Linux host.

 

 

 

2.   

Install Adapter in card slot

With host system power off, install the HBA(s) by following the instructions included with your adapter. The adapter installs into a single slot PCI bus.

 

Repeat the installation steps for each server in which you are installing Fibre Channel HBAs.

 

 

3.   

Apply power and boot

Reapply power and allow the system to boot normally.

 

 

 

 

 

 

 

7Table of Contents

 

·        Updating Emulex HBA firmware for Linux

 

Overview

This procedure describes how to intall the appropriate firmware for an Emulex HBA on the Linux platform. Refer to release notes provided with the driver for information that might be unique to new driver revisions.

 

These procedures are based on content from the following EMC manuals:

  • EMC Host Connectivity Guide for Linux
  • EMC Support Matrix Linux

 

You can download these guides from EMC Online Support (registration required): https://support.EMC.com

 

Each Emulex Fibre Channel controller has a flash upgradeable firmware and boot BIOS. In most instances, it is necessary to keep only the firmware up to date, since the BIOS is applied only when using connected storage as a boot device.

 

Note: If you are upgrading the firmware and BIOS, you must update the firmware first as it may contain an older BIOS version, which can be updated separately later.

 

Depending on the Linux platform, that you are running, you may already have the appropriate driver included in the Linux Distribution. Prior to updating to the latest driver that is distributed on the Emulex Website, please review the E-Lab Interoperability Navigator (ESM) for specific qualified kernel versions and distributions.  The support stated in the E-Lab Interoperability Navigator (ESM) supersedes versions listed in this document.

 

 

1.   

Download the firmware:

Obtain the latest firmware from the Emulex website at http://www.emulex.com/ts/docoem/framemc.htm.

 

Include the kernel source/development package and the gcc complier tools during the installation. If these tools are not installed, then the RPM installation will fail and the driver will not be installed.

 

Each Emulex Fibre Channel controller has a flash upgradeable firmware and BIOS. In most instances, it is necessary to keep only the firmware up to date, since the BIOS is applied only when using connected storage as a boot device.

 

From this site, select the appropriate file for your adapter.  The files are typically in a .zip file that contains different combinations of firmware and BIOS images. Extract the downloaded file to a diskette, and refer to the included readme.txt to determine which filename image to use.    If you are planning to boot from an EMC storage array, you need to use the file that includes the boot BIOS. Select the boot BIOS under the BootBIOS/FCode link for your HBA.

Either of two methods can be used to update the firmware and boot BIOS:

 

  • METHOD ONE – Using lputil at the command line.  Updating the HBA Firmware and HBA boot BIOS with lputil.

  • METHOD TWO – Booting from a DOS bootable diskette and using the lp6dutil utility.

 

 

METHOD ONE - Using lputil at the command line:

 

Update the HBA Firmware with lputil as follows:

 

The lputil utility is dependent upon the existence of the Emulex driver; therefore, the operating system and the Emulex driver must be installed prior to using lputil.  The lputil utility is included in the Emulex Application Kit along with the HBA API and HBAnyware.

 

a.     Download the Emulex Application Kit from the EMC-approved section of the Emulex website (refer to link above).

b.    Copy the appropriate firmware file from the EMC-approved section of the Emulex website to the appropriate directory, /usr/sbin/lpfc.

The following table lists the HBA models and the name of the corresponding firmware files:

HBA Model

Firmware File

LP982-E

 

lfbXXX.all (where XXX is the version)

Example: lfb191a1.all

LP9002-E

 

cdcXXX.all (where XXX is the version)

Example: cdc392a2.all

LP9802-E

hdXXX.all (where XXX is the version)

Example: hd191a1.all

LP9802DC-E

 

hfXXX.all (where XXX is the version)

Example: hf191a1.all

LP1050-E

 

mfXXX.all (where XXX is the version)

Example: mf191a1.all

LP1050DC-E

 

mfXXX.all (where XXX is the version)

Example: mf191a1.all

LP1050EX-E

 

mfXXX.all (where XXX is the version)

Example: mf191a1.all

LP10000-E

tdXXX.all (where XXX is the version)

Example: td191a1.all

LP10000DC-E

 

tdXXX.all (where XXX is the version)

Example: td191a1.all

LP10000EXDC-E

 

tdXXX.all (where XXX is the version)

Example: td191a1.all

LP101-E

 

embXXX.all (where XXX is the version)

Example: emb191a1.all

LPe111-E

 

ymXXX.all (where XXX is the version)

Example: ym250a8.all

LPe1150-E

 

wfXXX.all (where XXX is the version)

Example: wf250a4.all

LPe11002-E

 

zfXXX.all (where XXX is the version)

Example: zf210a7.all

LP1150-E

 

jfXXX.all (where XXX is the version)

Example: jf250a4.all

LP11002-E

 

bfXXX.all (where XXX is the version)

Example: bf250a4.all

LP1005DC Mezzanine for

HPQ Blade Servers

mfXXX.all (where XXX is the version)

Example: mf191a2.all

LP1005-HP Mezzanine for HPQ Blade Servers

zfXXX.all (where XXX is the version)

Example: zf250a8.all

LP1005DC Mezzanine for

IBM Blade Servers

mfXXX.all (where XXX is the version)

Example: mf190a5.all

LP1005BC Mezzanine

for IBM Blade Servers

bfXXX.all (where XXX is the version)

Example: bf210a10.all

 

Each firmware file contains four files. The naming scheme of the files follows the format as shown in the example below for the LP9002 v3.92a2 firmware.


cdc392a2.dwc = contains the firmware with combination boot

cdc392a2.awc = contains the firmware with loader and combination boot

cd392a2.dwc = contains the firmware with no boot code

cd392a2.awc = contains the firmware with loader, no boot code

c.     Start the firmware update utility:

 

cd /usr/sbin/lpfc
./lputi
l

 

d.    Select Option 3 – Firmware Maintenance.

e.     Select the number of the adapter to update.

f.     Select Option 1 – Load Firmware Update.

g.    Enter the full name of the image file (as shown in the table above; for example, td190a4.all) and press Enter.

h.     Select Option 0 – Return to Main Menu.

i.      Repeat steps d through h for each additional adapter in the system.

j.      If you plan to update the firmware on the system that will allow the system to boot from the EMC storage array, then update the boot BIOS.

k.     If you do not plan to update the boot BIOS, then reboot the system.

Note: If you are using the HBA to boot from the SAN, update the boot BIOS immediately after updating the firmware as the firmware overwrites part of the boot BIOS.

 

Updating the HBA boot BIOS with lputil as follows:

 

a.     Ensure that the firmware has been updated prior to updating the boot BIOS.

b.    Download the appropriate boot BIOS file from the EMC-approved section of the Emulex website and copy it to the appropriate directory, /usr/sbin/lpfc:


HBA Model

Boot BIOS File

LP982-E

 

lbXXX.prg (where XXX is the version)

Example: lb170a3.prg

LP9002-E

 

cbXXX.prg (where XXX is the version)

Example: cb170a3.prg

LP9802-E

 

hbXXX.prg (where XXX is the version)

Example: hb170a3.prg

LP9802DC-E

 

hbXXX.prg (where XXX is the version)

Example: hb170a3.prg

LP1050-E

 

mbXXX.prg (where XXX is the version)

Example: mb170a3.prg

LP1050DC-E

 

mbXXX.prg (where XXX is the version)

Example: mb170a3.prg

LP1050EX-E

 

mbXXX.prg (where XXX is the version)

Example: mb170a3.prg

LP10000-E

 

tbvXXX.prg (where XXX is the version)

Example: tb170a3.prg

LP10000DC-E

 

tbXXX.prg (where XXX is the version)

Example: tb170a3.prg

LP10000EXDC-E

 

tbXXX.prg (where XXX is the version)

Example: tb170a3.prg

LP101-E

 

ebXXX.prg (where XXX is the version)

Example: eb170a3.prg

LPe111-E

 

ybXXX.all (where XXX is the version)

Example: yb170a3.prg

LPe1150-E

 

wbXXX.prg (where XXX is the version)

Example: wb170a3.prg

LPe11002-E

 

zbXXX.prg (where XXX is the version)

Example: zb170a3.prg

LP1150-E

 

jbXXX.prg (where XXX is the version)

Example: jb170a3.prg

LP11002-E

 

bbXXX.prg (where XXX is the version)

Example: bb170a3.prg

LP1005DC Mezzanine for

HPQ Blade Servers

 

mpXXX.prg (where XXX is the version)

Example: mp501a5.prg

LPe1105-HP Mezzanine for HPQ Blade Servers

zbXXX.prg (where XXX is the version)

Example: zb600a1.prg

LP1005DC Mezzanine for

IBM Blade Servers

mc XXX.prg (where XXX is the version)

Example: mc501a3.prg

LP1005BC Mezzanine for

IBM Blade Servers

buXXX.prg (where XXX is the version)

Example: bu502a1.prg

 

c.     Copy the file for Open Boot support from the EMC-approved section of the Emulex website to the appropriate directory, /usr/sbin/lpfc.

d.    Start the boot BIOS update utility:

 

cd /usr/sbin/lpfc
./lputil

 

e.     Select Option 3 – Firmware Maintenance.

f.     Select the adapter number to update.

g.    Select Option 1 – Load Firmware Update.

h.     Enter the full name of the image file (as shown in the table in item 1; for example, cd190a4.awc) and press Enter.

i.      Select Option 0 – Return to Main Menu.

j.      If desired, repeat steps d through h for each additional adapter in the system.

k.     Using lputil, choose the HBA that is to be used for booting from the fabric. Select Option 3 to enable the boot BIOS on the intended HBA.

l.      Reboot the system.


METHOD TWO - Booting from a DOS bootable diskette:

 

a.     Boot the computer using a DOS/WIN95/WIN98 bootable diskette.

b.    Insert the diskette containing the flash utility (LP6DUTIL.EXE).

c.     At the A:\> prompt, type lp6dutil and press Enter to start the utility.

The utility performs diagnostic tests on the installed adapter(s).  You may be required to press Enter after each test so the program can move on to the next test.  After the diagnostics are complete, the main menu appears.

d.    Type 5 and press Enter, to select Maintenance.

e.     Type 1 and press Enter, to select Upgrade Firmware.

f.     Enter the range of adapters to flash; for example: 1–4 (for four adapters).

g.    Enter the Firmware Image filename, including the path.  The firmware image file should be on the same disk as the LP6DUTIL.EXE program file.

h.     When prompted, type 1 and press Enter to proceed with the upgrade for the first controller.

i.      When prompted, type 1 and press Enter to reset the adapter after loading is complete.

j.      Repeat steps i and j for each adapter in the range entered earlier.

k.     When all adapters have been loaded, type 0 and press Enter at the Maintenance menu to return to the main menu.

l.      Type 7 and press Enter at the main menu to exit the flash utility.

 

 

2.   

Install the firmware

Follow these steps to install the firmware:

 

a.      Start the firmware update utility:

 

./lputil

 

a.      Select option 3 – Firmware Maintenance.

b.      Select the adapter number to update.

c.      Select option 1 – Load Firmware Image.

d.      Type the full file name of the image file (as shown in the table above; cd390a7.awc, for example) and press Enter.

 

Note: Select the proper release for the HBA you are configuring.

 

e.      Select option 0 – Return to Main Menu.

f.       For any other adapters, repeat these steps beginning with the step above where you select option 3 - Firmware Maintenance.

 

If the HBA driver is version 5.x or older, the host must reboot for the upgrade firmware to take effect.

 

 

7Table of Contents

 

·        Installing an Emulex HBA driver on a Linux v2.6.x kernel

 

Overview

This procedure describes how to install an Emulex HBA driver on a Linux v2.6.x kernel. For Linux v2.4.x driver procedures, go to the next procedure table in the sequence.

 

Refer to release notes provided with the driver for information that might be unique to new driver revisions. Verify that all HBA firmware upgrades are complete before installing HBA drivers.  Failure to maintain minimum required HBA firmware revisions can cause errors when installing drivers. Refer to the E-Lab Interoperability Navigator (ESM) for specific qualified kernel versions and distributions. 

 

The support stated in the E-Lab Interoperability Navigator (ESM) and the EMC Host Connectivity Guide for Linux supersedes versions listed in this document.

 

When downloading driver software, Include the kernel source/development package and the gcc complier tools during the installation. If these tools are not installed, then the RPM installation will fail and the driver will not be installed.

 

 

 

1.   

Download Driver software:

Download the Emulex v8.x-Series driver for the v2.6.x kernel from the Emulex web site as follows:

 

a.     Create a directory to which you will save the tar archive:

mkdir /home/Emulex
cd /home/Emulex

b.    Open a browser and access the Emulex website at http://www.emulex.com.

c.     Click drivers, downloads, and documentation on the left side of the screen.

d.    On the next page under Storage and System Supplier Qualified and Supported HBAs, select the EMC link. 

e.     On the Support Resources for EMC page, select the link for the correct Emulex HBA version and select Linux on the next page.

f.  Find and select the listing for the Linux v8.x-Series driver listed:

lpfc_2.6_driver_kit-8.0.16.6_x2-1.tar.gz

 

g.    Create a directory to which the Emulex Application Kit will be saved:

mkdir /home/emulex_apps

h.  Find and select the listing for the Emulex Application Kit tar archive:

ElxLinuxApps-2.1a8-8.0.16.4-1.tar

 

 

2.   

Install the driver:

Depending on the Linux platform, perform the applicable set of instructions:

 

·         Installing the Emulex 8.x-Series driver on SLES 9 SP1 hosts

·         Installing the Emulex 8.x-Series driver on RHEL 4.0 hosts

·         Included Emulex driver on RHEL4 U1, RHEL4 U2, SLES9 SP2 and Asianux 2.0

 

 

Installing the Emulex 8.x-Series driver on SLES 9 SP1 hosts:

 

The Emulex v2.10f driver (included by default in the SLES 9 SP1 distribution) is not supported by EMC.  EMC requires the use of the v8.0.16.6_x2 driver when connecting to EMC storage.

Before installing the v8.0.16.6_x2 driver, the existing v2.x series driver must be uninstalled. The Emulex v8.0.16.6_x2 driver may then be compiled as a module and configured to load automatically at boot time.  When the installer script is used, it creates a new RAM disk which includes the new driver.

 

This section describes the above mentioned process using the installer script included in the package.

 

a.     Boot into the qualified and supported kernel onto which the driver will be installed.

b.    Verify you have obtained the lpfc_2.6_driver_kit-8.0.16.6_x2-1.tar.gz file from the Emulex website as instructed earlier.

c.     Uncompress and extract the source files from the tar archive:

cd /home/Emulex
tar xzvf lpfc_2.6_driver_kit-8.0.16.6_x2-1.tar.gz


The initial uncompression will create a new directory and will provide you with the following files within the new directory:

lpfc_2.6_driver_kit-8.0.16.6_x2-1/
lpfc_2.6_driver_kit-8.0.16.6_x2-1/lpfc_2.6_ioctl_module-2.0.2-1.noarch.rpm
lpfc_2.6_driver_kit-8.0.16.6_x2-1/lpfcdriver_2.6-8.0.16.6_x2-1.noarch.rpm
lpfc_2.6_driver_kit-8.0.16.6_x2-1/lpfc-install
lpfc_2.6_driver_kit-8.0.16.6_x2-1/README
lpfc_2.6_driver_kit-8.0.16.6_x2-1/elxlpfc


Contained within the newly created directory is the lpfc-install script.  This script may be used to uninstall the existing v2.10f driver and will install both the lpfc and the lpfcdfc drivers

d.    Stop all applications using the Emulex driver and unload the currently running Emulex v2.10f driver in the system as follows:

modprobe –r lpfcdd


e.  Uninstall the Emulex v2.10f driver by executing the lpfc-install script with the –u flag:

cd lpfc_2.6_driver_kit-8.0.16.6_x2-1/
./lpfc-install –u


The output from running the script is as follows:

Emulex LPFC Driver Installer Version 1.30.1.2
Determining distribution type and kernel version ...
Checking for Emulex driver packages ...
Restoring old Emulex drivers...
Configuring /etc/modprobe.conf ...
Configuring /etc/sysconfig/kernel ...
Uninstallation complete.


f.     The installer script will install both the lpfc and the lpfcdfc drivers.  No options are needed when executing this script.  The installer script unpacks the source RPMs included in the package in the /usr/src/lpfc directory and builds the driver using the sources for the currently running kernel.  The script then modifies /etc/modprobe.conf and /etc/sysconfig/kernel to include changes for the v8.x driver.  The elxlpfc is an initialization script for the lpfcdfc driver. The elxlpfc script is also installed so that the lpfcdfc driver is configured to start and stop during system boot up and shutdown.  Finally, the installer script creates a backup of the existing RAM disk and creates a new RAM disk. 

The output from the installer script will appear beginning as follows:

./lpfc-install
Emulex LPFC Driver Installer Version 1.30.1.2
Determining distribution type and kernel version ...
Checking for old Emulex driver ...
Looking for kernel source package ...
Looking for compilers ...
Searching for LPFC Driver source RPM from
    /home/emulex/lpfc_2.6_driver_kit-8.0.16.6_x2-1/. ...
Installing package ...


NOTE:  The system must be rebooted so that the lpfc driver is loaded through the newly created ramdisk.

 

 

Installing the Emulex 8.x-Series driver on RHEL 4.0 hosts:

 

By default, the Emulex v8.0.16 driver is integrated into the RHEL 4.0 kernel.  EMC requires the use of the v8.0.16.6_x2 driver when connecting to EMC storage. 

 

Before installing the v8.0.16.6_x2 driver, the existing v8.0.16 driver must be uninstalled. The Emulex v8.0.16.6_x2 driver will then be compiled as a module and configured to load automatically on boot up. Also, a new RAM disk will be created for the system that includes the new driver in it.

 

This section describes the previously mentioned process using the installer script included in the package.

Important:  If the lpfcdfc driver is loaded, then it must be unloaded prior to the lpfc driver.  Use the following commands to unload the Emulex drivers:


modprobe –r lpfcdfc

modprobe –r lpfc

 

a.     Boot into the qualified and supported kernel onto which the driver will be installed.

b.    Verify you have obtained the lpfc_2.6_driver_kit-8.0.16.6_x2-1.tar.gz file from the Emulex website as instructed earlier.

c.     Uncompress and extract the source files from the tar archive:

cd /home/Emulex
tar xzvf lpfc_2.6_driver_kit-8.0.16.6_x2-1.tar.gz


The initial uncompression will create a new directory and will provide you with the following files within the new directory:

lpfc_2.6_driver_kit-8.0.16.6_x2-1/
lpfc_2.6_driver_kit-8.0.16.6_x2-1/lpfc_2.6_ioctl_module-2.0.2-1.noarch.rpm
lpfc_2.6_driver_kit-8.0.16.6_x2-1/lpfcdriver_2.6-8.0.16.6_x2-1.noarch.rpm
lpfc_2.6_driver_kit-8.0.16.6_x2-1/lpfc-install
lpfc_2.6_driver_kit-8.0.16.6_x2-1/README
lpfc_2.6_driver_kit-8.0.16.6_x2-1/elxlpfc


Contained within the newly created directory is the lpfc-install script.  This script may be used to uninstall the existing v8.0.16 driver and will install both the lpfc and the lpfcdfc drivers.

d.    Stop all applications using the Emulex driver and then unload the currently running Emulex v8.0.16 driver in the system as follows:

modprobe –r lpfc


e.  Uninstall the Emulex v8.0.16 driver by executing the lpfc-install script with the –u flag as follows:

cd lpfc_2.6_driver_kit-8.0.16.6_x2-1/
./lpfc-install –u


The output from running the script is as follows:

Emulex LPFC Driver Installer Version 1.30.1.2
Determining distribution type and kernel version ...
Checking for Emulex driver packages ...
Restoring old Emulex drivers...
Configuring /etc/modprobe.conf ...
Uninstallation complete.


f.     The installer script will install both the lpfc and the lpfcdfc drivers.  No options are needed when executing this script.  The installer script unpacks the source RPMs included in the package in the /usr/src/lpfc directory and builds the driver using the sources for the currently running kernel.  The script then modifies /etc/modprobe.conf to include scsi_host_adapter lines.  The elxlpfc is an initialization script for the lpfcdfc driver.  The elxlpfc script is also installed so that the lpfcdfc driver is configured to start and stop during system boot up and shutdown.  Finally, the installer script creates a backup of the existing RAM disk and creates a new RAM disk.

The output from the installer script will appear beginning as follows:

./lpfc-install
Emulex LPFC Driver Installer Version 1.30.1.2
Determining distribution type and kernel version ...
Checking for old Emulex driver ...
Looking for kernel development package ...
Looking for compilers ...
Searching for LPFC Driver source RPM from
    /home/emulex/lpfc_2.6_driver_kit-8.0.16.6_x2-1/.
    ...
Installing package ...


Note:  The system must be rebooted so that the lpfc driver is loaded through the newly created ramdisk.

 

 

Included Emulex driver on RHEL4 U1, RHEL4 U2, SLES9 SP2 and Asianux 2.0:

 

The following table lists the Emulex driver versions supported with the corresponding OS updates.  These driver versions are included by default in the kernel, and do not require any installation.

 

OS

Driver Version

RedHat RHEL 4 U1

Asianux 2.0

Miracle Linux SE 4.0

RedFlag DC Server 5.0

Haansoft Linux 2006 Server

 

8.0.16.6_x2

 

Note: Does not support the 4Gb HBAs.

Red Hat RHEL 4.0 U2

SuSe SLES 9 SP3

 

8.0.16.17

 

SuSe SLES 9 SP2

 

8.0.16.6_p3

RedHat RHEL 4.0 U3

 

8.0.16.18

RedHat RHEL 4.0 U4

 

8.0.16..27

SuSe SLES 10 GA

 

8.1.6

 

 

 

3.   

Grab the Emulex Application kit and install it:

To install the Emulex Applications Kit, proceed as follows:

 

The lpfc driver must be installed first, because HBAnyware is dependent upon the existence of the lpfc driver.

 

a.     Verify you have obtained the Applications Kit from the Emulex website as instructed earlier and saved it to the newly created directory.

Note:  There is a one-to-one relationship between versions of the lpfc driver and the versions of the applications kit.  For example, for the 8.0.16.6_x2 lpfc driver the application kit is ElxLinuxApps-2.1a8-8.0.16.4-1.tar.  You will find the appropriate application kit located on the same page as the driver on the EMC-approved webpage at the Emulex website.

b.    Change to the newly created directory and uncompress and extract the source files from the tar archive:

cd /home/emulex_apps
tar xvf ElxLinuxApps-2.1a8-8.0.16.4-1.tar


The initial uncompression will create a new directory and will provide you with the following files within the new directory:

enterprise_kitfiles/
enterprise_kitfiles/hbaapi_2.1.a.tgz
enterprise_kitfiles/lputil_20a3.tgz
enterprise_kitfiles/EmlxApps300a28.tgz
enterprise_kitfiles/lpfcutil_2.6_lib_kit-80.161-2.tgz
install
uninstall
README.txt
README_SSC.txt


Contained within the existing directory is the install script.

Note:  When the installation script is run, it will automatically install HBAnyware, the lputil utility, and the HBA API libraries.

c.     To install the Application Kit, change to the newly created directory and run the installation script.

./install

The output from running the installer script is as follows:

Untarring EmlxApps tgz file...
Untarring lpfcutil tgz file...
Untarring hbaapi libs tgz file...
Untarring lputil tgz file...
Stopping HBAnyware Remote Management Server
Stopping HBAnyware Discovery Server
Starting HBAnyware Remote Management Server
Untarring HBAnyware local jre...
HBAnyware installation complete.
Cleaning up...


d.    HBAnyware is a GUI-based application that is used to manage Emulex adapters on the host.  To start up the HBAnyware application, run the following commands:

cd /usr/sbin/hbanyware
./hbanyware


Note:  hbacmd is a command-line program that can be used to modify and query Emulex adapter parameters.  A sample session using hbacmd is described in EMC Fibre Channel with Emulex Host Bus Adapters for the Linux v2.6.x Kernel Environment and the v8.x-Series Driver (P/N 300-002-583), which is available on the Emulex website.

 

 

4.   

Edit the driver parameters:

If necessary, edit the driver parameters.

 

Note:  Default settings and descriptions of the driver parameters can be located in EMC Fibre Channel with Emulex Host Bus Adapters for the Linux v2.6.x Kernel Environment and the v8.x-Series Driver (P/N 300-002-583), which is available on the Emulex website.

 

 

 

7Table of Contents

 

·        Installing an Emulex driver on a Linux v2.4.x kernel

 

Overview

This procedure describes how to install an Emulex HBA driver on a Linux v2.4.x kernel. Refer to release notes provided with the driver for information that might be unique to new driver revisions. Verify that all HBA firmware upgrades are complete before installing HBA drivers.  Failure to maintain minimum required HBA firmware revisions can cause errors when installing drivers. Refer to the E-Lab Interoperability Navigator (ESM) for specific qualified kernel versions and distributions. 

 

The support stated in the E-Lab Interoperability Navigator (ESM) and the EMC Host Connectivity Guide for Linux supersedes versions listed in this document.

 

When downloading driver software, Include the kernel source/development package and the gcc complier tools during the installation. If these tools are not installed, then the RPM installation will fail and the driver will not be installed.

 

 

1.   

Install Helper module for RHEL 3.0:

For Linux RHEL 3.0 U4 only – Install the IOCTL Application Helper Module on RHEL 3.0 U4:

 

Note:  By default, RHEL 3.0 U5, RHEL 3.0 U6, and Asianux 1.0 U1 include the lpfcdfc IOCTL Application Helper Module so no steps need to be taken in order to enable it.  The IOCTL Application Helper Module is not included in the RHEL 3.0 U4 kernel; therefore, if Emulex applications are to be used on the host, the IOCTL Application Helper Module must be downloaded and installed separately.

a.     Verify that the correct version of the Emulex driver is loaded in the kernel.  Run the lsmod command to ensure that the Emulex driver is loaded on the system.

b.    Review the files in /proc/scsi/lpfc/ to verify the Emulex driver version.

c.     Change to the directory to which you will save the IOCTL Application Helper Module kit.

Example:
[root@l82bi250 /]# mkdir /home/Emulex
[root@l82bi250 /]# cd /home/emulex/

d.    Download the IOCTL Application Helper Module from the Emulex website to a directory on the server.  Open a browser and access the Emulex website at http://www.emulex.com.

Click drivers, downloads, and documentation on the left side of the screen.  On the next page under Storage and System Supplier Qualified and Supported HBAs, select the EMC link.  On the Support Resources for EMC page, select the link for the correct Emulex HBA version and select Linux on the next page.

Select the appropriate link to download the IOCTL Application Helper Module.

e.  Uncompress and extract the source files from the tar archive:

[root@l82bi250 /]# cd /home/emulex/
[root@l82bi250 /]# tar zxvf lpfc_2.4_ioctl_module_kit-1.0.13-1.tar.gz


The uncompressing will create a new directory and will provide you with the following files within the new directory:

lpfc_2.4_ioctl_module_kit-1.0.13-1/
lpfc_2.4_ioctl_module_kit-1.0.13-1/elxlpfc
lpfc_2.4_ioctl_module_kit-1.0.13-1/ioctl-install
lpfc_2.4_ioctl_module_kit-1.0.13-1/lpfc_2.4_ioctl_module-1.0.13-1.noarch.rpm
lpfc_2.4_ioctl_module_kit-1.0.13-1/README


f.     Change to the directory and install the IOCTL Application Helper Module using the installer script:

[root@l82bi250 /]# cd lpfc_2.4_ioctl_module_kit-1.0.13-1/
[root@l82bi250 /]# ./ioctl-install


Note:  For additional information on installing the Applications Kit, refer to Installing the Emulex Applications Kit later in this procedure.

 

 

2.   

Enable the v7 driver:

Depending on the Linux platform, perform the applicable set of instructions:

 

·         Enabling the Emulex v7.x-Series driver in RHEL 3.0 U4 and U5

·         Enabling the Emulex v7.x-Series driver in Asianux 1.0 U1

·         Enabling the Emulex v7.3.2 driver in RHEL 3.0 U6

·         Installing older Emulex v7.x-Series drivers

 

 

 

Enabling the Emulex v7.x-Series driver in RHEL 3.0 U4 and U5:

 

EMC supports the Emulex v7.1.14 driver included in RHEL 3.0 U4 and U5 distributions.  In RHEL 3.0 kernel v2.4.21-27.EL and later, the Emulex v7.1.14 driver is the default driver integrated into the kernel.

 

To enable the integrated v7.1.14 driver:

a.  Ensure that the /etc/modules.conf file references an entry for each installed Emulex HBA.  For each installed Emulex HBA, add an entry:

alias scsi_hostadapterN lpfc

where N is the sequential value of each Emulex HBA installed in the system, beginning with the number after the last host adapter number entry in the file. (The first host adapter entry begins with zero.)

Example:
alias parport_lowlevel partport_pc
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsi
alias scsi_hostadapter2 lpfc
alias scsi_hostadapter3 lpfc
alias eth0 tg3
options scsi_mod max_scsi_luns=255 scsi_allow_ghost_devices=1


b.  If any modifications are made to the /etc/modules.conf file to include references to the Emulex HBAs, create a new ramdisk to reflect the changes made:

cd /boot
mkinitrd –v initrd-
$1.img $1

where $1 is the currently running v2.4.x kernel version.

Example:
cd /boot
cp initrd-2.4.21-27.ELsmp.img
initrd-2.4.21-27.ELsmp.img.orig
mkinitrd –v initrd-2.4.21-27.ELsmp.img 2.4.21-27.ELsmp


c.     Reboot the host.

Note:  When using RHEL 3.0 U4 and U5, it is required that parameter value modifications be made via an edit to /etc/modules.conf, not lpfc.conf.

 

 

Enabling the Emulex v7.x-Series driver in Asianux 1.0 U1:

EMC supports the Emulex v7.1.14 driver integrated into the Asianux 1.0 U1 distribution. The Asianux 1.0 U1 kernel v2.4.21-20.19AX includes the Emulex v7.1.14 lpfc driver and the lpfcdfc IOCTL application helper driver by default in the kernel.

Follow the procedure used to enable the integrated v7.1.14 driver for RHEL 3.0 U4 for Asianux 1.0 U1 hosts. Refer to the previous set of instructions for Enabling the Emulex v7.x-Series Driver in RHEL 3.0 U4 and U5.

Note:  Asianux 1.0 U1 includes the lpfcdfc IOCTL Application Helper Module by default, so no steps need to be taken in order to enable it.


 

Enabling the Emulex v7.3.2 driver in RHEL 3.0 U6:

 

EMC supports the Emulex v7.3.2 driver included in RHEL 3.0 U6 distribution.  In the RHEL 3.0 kernel v2.4.21-37.EL, the Emulex v7.3.2 driver is the default driver integrated into the kernel. 

 

Note:  RHEL 3.0 U6 includes the lpfcdfc IOCTL Application Helper Module by default, so no steps need be taken to enable it.

 

To enable the integrated v7.3.2 driver:

 

a.     Ensure that the /etc/modules.conf file references an entry for each installed Emulex HBA.

For each installed Emulex HBA, add an entry:

alias scsi_hostadapterN lpfc

where N is the sequential value of each Emulex HBA installed in
the system, beginning with the number after the last host adapter number entry in the file.  (The first host adapter entry begins with zero.)

Example:
alias parport_lowlevel partport_pc
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsi
alias scsi_hostadapter2 lpfc
alias scsi_hostadapter3 lpfc
alias eth0 tg3
options scsi_mod max_scsi_luns=255 scsi_allow_ghost_devices=1

b.    If any modifications are made to the /etc/modules.conf file to include references to the Emulex HBAs, create a new ramdisk to reflect the changes made:

cd /boot
mkinitrd -v initrd-
$1.img $1

where $1 is the v2.4.x kernel version that is currently running.

Example:
cd /boot
mv initrd-2.4.21-37.ELsmp.img initrd-2.4.21-37.ELsmp.img.orig
mkinitrd -v initrd-2.4.21-37.ELsmp.img 2.4.21-37.ELsmp


c.     Reboot the host.

Note:  When using RHEL 3.0 U6, parameter value modifications must be made by editing /etc/modules.conf, not lpfc.conf.

 

 

 

Installing older Emulex v7.x-Series drivers:

 

The Emulex v7.x-series lpfc and lpfcdfc drivers may be installed onto a Linux host using one of two methods:

 

·         METHOD ONE – Run the installer script provided in the driver tar archive to compile and install the modular lpfc and lpfcdfc drivers on RHEL 2.1, RHEL 3.0, and SLES 8 systems.

·         METHOD TWO – Use the DKMS RPM to compile and install the modular lpfc and lpfcdfc drivers on RHEL 2.1 and RHEL 3.0 systems.  By using the DKMS RPM, the necessary files will be edited and the drivers will be compiled and installed automatically.

 

METHOD ONE:

This section guides you through the process of installing and utilizing the Emulex tar archive. The installer script contained within the tar archive will create the Emulex v7.x-series driver for RHEL 2.1, RHEL 3.0, and SLES 8 distributions.

 

a.     Boot into the qualified and supported kernel onto which the driver will be installed.

b.    Create a directory to which you will save the tar archive:

mkdir /home/Emulex
cd /home/emulex


c.     Download the correct HBA driver version.  Open a browser and access the Emulex website at http://www.emulex.com.

Click drivers, downloads, and documentation on the left side of the screen.  On the next page under Storage and System Supplier Qualified and Supported HBAs, select the EMC link.  On the Support Resources for EMC page, select the link for the correct Emulex HBA version and select Linux on the next page.

Find the listing for the Linux v7.x-series driver and select the appropriate link to download the lpfc_2.4_driver_kit-7.1.14-4.tgz file.

d.    Install the Emulex driver’s tar archive onto your system by uncompressing and extracting the source files from the tar archive as follows:

cd /home/emulex
tar zxvf lpfc_2.4_driver_kit-7.1.14-4.tgz


The initial uncompression will create a new directory and will provide you with the following files within the new directory:

lpfc_2.4_driver_kit-7.1.14-4/
lpfc_2.4_driver_kit-7.1.14-4/elxlpfc
lpfc_2.4_driver_kit-7.1.14-4/lpfcdfcdriver-1.0.13-1.noarch.rpm
lpfc_2.4_driver_kit-7.1.14-4/lpfc-install
lpfc_2.4_driver_kit-7.1.14-4/README


Contained within the newly created directory is the lpfc-install script.  This script will install both the lpfc and the lpfcdfc drivers. These driver RPMs are installed in the /usr/src/lpfc directory.  No options are needed when executing this script.

After the RPMs are installed into the /usr/src/lpfc directory, the RPMs then are executed so that the drivers will be built and installed into the currently running kernel.  The script then modifies /etc/modules.conf.  The lpfc driver host adapter line will be appended to the /etc/modules.conf file for each instance of an Emulex HBA.

The options line containing the addition of the scsi_allow_ghost_devices and max_scsi_luns parameters will also be appended to the file.  This will allow the host to correctly identify the disconnected LUN 0 that is reported when attached to a Symmetrix Storage Array as well as allow the SCSI stack to scan up to 255 devices.

 

After modifying the /etc/modules.conf file, the last action performed by the installer is to create a new ramdisk.  The elxlpfc is an initialization script for the lpfcdfc driver.  The elxlpfc script is also installed so that the lpfcdfc driver is configured to start and stop during system boot up and shutdown.

e.     Install the Emulex driver:

cd /home/emulex/lpfc_2.4_driver_kit-7.1.14-4
./lpfc_install


The output from running the installer script will appear.

Example of a newly modified /etc/modules.conf:

Note: 
The last three lines of the file have been newly added by the installer script.

[root@l82bi250 /]# more /etc/modules.conf
alias eth0 tg3
alias eth1 tg3
alias eth2 tg3
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsih
alias usb-controller usb-ohci
alias scsi_hostadapter2 lpfc
alias scsi_hostadapter3 lpfc
options scsi_mod max_scsi_luns=256 scsi_allow_ghost_devices=1


The scsi_allow_ghost_devices parameter is enabled by default in SLES 8 SP3.  Therefore, the installer script will not add the parameter to the /etc/modules.conf file for SLES 8 SP3 installations.

f.     Reboot the host so that the lpfc driver can be loaded through the newly created ramdisk.

 

 

 

METHOD TWO:

 

This section guides you through the process of installing and utilizing the Emulex DKMS RPM for the Emulex v7.1.14 driver for RHEL 2.1 and 3.0 distributions. 

Note:  The DKMS RPM method does not function properly with SLES 8 distributions and may not be used.

The DKMS RPM will build and install the lpfc and lpfcdfc drivers and modify your /etc/modules.conf file.  The host adapter line will be appended to the /etc/modules.conf file for the lpfc driver.  The options line containing the addition of the scsi_allow_ghost_devices and max_scsi_luns parameters will also be appended to the file. The DKMS RPM will install the Emulex driver as a module.

Note:  After the driver installation, the system should be rebooted so that the lpfc driver may be loaded through the newly created ramdisk.

 

a.     Boot into the qualified and supported kernel into which the driver will be installed.  Ensure that the kernel sources and the gcc compiler tools are installed.

b.    Create a directory to which you will save the tar archive:

mkdir /home/Emulex
cd /home/emulex


c.     Download the correct HBA driver version.  Open a browser and access the Emulex website at http://www.emulex.com.

Click drivers, downloads, and documentation on the left side of the screen.  On the next page under Storage and System Supplier Qualified and Supported HBAs, select the EMC link.  On the Support Resources for EMC page, select the link for the correct Emulex HBA version and select Linux on the next page.

Find the listing for the Linux v7.x-series driver and select the appropriate link to download the lpfc_2.4_dkms_kit-7.1.14-2.tar.gz file.

d.    Install the Emulex driver’s tar archive onto your system by uncompressing and extracting the source files from the tar archive as follows:

cd /home/emulex
tar zxvf lpfc_2.4_dkms_kit-7.1.14-2.tar.gz


The initial uncompression will create a new directory and will provide you with the following files within the new directory:

lpfc_2.4_driver_kit-7.1.14-4/
lpfc_2.4_driver_kit-7.1.14-4/dkms-2.0.4-1.noarch.rpm
lpfc_2.4_driver_kit-7.1.14-4/lpfc_2.4_dkms_kit-7.1.14-2.tar.gz
lpfc_2.4_driver_kit-7.1.14-4/lpfc_2.4_driver_kit-7.1.14-4
lpfc_2.4_driver_kit-7.1.14-4/lpfc_2.4_driver_kit-7.1.14-4.tar.gz
lpfc_2.4_driver_kit-7.1.14-4/lpfcdfcdkms-1.0.13-2.noarch.rpm
lpfc_2.4_driver_kit-7.1.14-4/lpfcdkms-7.1.14-2.noarch.rpm
lpfc_2.4_driver_kit-7.1.14-4/README


e.     If you do not already have DKMS installed on your system, then install the DKMS RPM contained within the newly created directory.  If DKMS is already installed on the system, then skip to the next step to perform the Emulex driver installation.

rpm -ivh dkms-2.0.4-1.noarch.rpm

f.     Install the Emulex lpfc driver DKMS RPM as follows:

rpm -ivh lpfcdkms-7.1.14-2.noarch.rpm

The output from the installation will appear.

Example of a newly modified /etc/modules.conf:

Note: 
The last three lines of the file have been newly added by the installer script.

[root@l82bi250 /]# more /etc/modules.conf
alias eth0 tg3
alias eth1 tg3
alias eth2 tg3
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsih
alias usb-controller usb-ohci
alias scsi_hostadapter2 lpfc
alias scsi_hostadapter3 lpfc
options scsi_mod max_scsi_luns=256 scsi_allow_ghost_devices=1


g.    Install the Emulex DFC driver DKMS RPM:

rpm -ivh lpfcdfcdkms-1.0.13-2.noarch.rpm

h.     Use the DKMS command to verify that the drivers have been built and installed successfully.

For example:
[root@l82bi250 /]# dkms status
lpfc, 7.1.14, 2.4.21-27.0.1.ELsmp, i686: installed (original_module exists)
lpfcdfc, 1.0.13, 2.4.21-27.0.1.ELsmp, i686: installed


i.  Reboot the host.

Caution:  If the lpfcdfc driver is loaded, then it must be unloaded prior to the lpfc driver. Use the following commands to unload the lpfc driver:

modprobe –r lpfcdfc
modprobe –r lpfc

 

 

3.   

Install the Emulex Application:

Install the Emulex Applications Kit as follows:

 

The lpfc driver must be installed first because HBAnyware is dependent upon the existence of the lpfc driver.

 

a.     Create a directory to which the application kit will be saved:

mkdir /home/emulex_apps

b.    Download the Applications Kit from the Emulex website and save it to the newly created directory.  The name of the Application Kit is elxlinuxapps-2.0a20-7.1.14-1.tar.

c.     Change to the newly created directory and uncompress and extract the source files from the tar archive:

cd /home/emulex_apps
tar xvf elxlinuxapps-2.0a20-7.1.14-1.tar


The initial uncompression will create a new directory and will provide you with the following files within the new directory:

[root@l82bi250 /home/emulex_apps]# tar xvf elxlinuxapps-2.0a20-7.1.14-1.tar
enterprise_kitfiles/
install
uninstall
README.txt
README_SSC.txt


Note:  Contained within the existing directory is the install script.  When the installation script is run, it will automatically install HBAnyware, the lputil utility, the HBAAPI libraries, and the lpfcdfc libraries and utility.

d.    Within the newly created enterprise_kitfiles/ directory are the applications to be installed:

[root@l82bi250 emulex_apps]# ls -la enterprise_kitfiles/
hbaapi_2.0.f.tgz
lputil_16a10.tgz
EmlxApps300a15.tgz
lpfcutil_2.4_lib_kit-1.0.13-1.tgz
scripts/


e.     To install the Application Kit, change to the directory and run the installation script:

cd /home/emulex_apps/enterprise_kitfiles
./install


f.     HBAnyware is a GUI-based application so the console may not be used.  To start up the HBAnyware application, run the following commands:

cd /usr/sbin/hbanyware
./hbanyware


 

4.   

Edit driver config file as required:

If necessary, the lpfc.conf file with its parameter settings can be edited as required.

 

Note:  Default settings and descriptions of the driver parameters can be located in the EMC Fibre Channel with Emulex Host Bus Adapters and the v7.x-Series Driver in the Linux Environment manual (P/N 300-002-303).

 

 

 

 

·        Determine WWN of new HBA for Linux

 

Overview

This procedure describes how to determine the WWN of the newly installed HBA.

 

 

1.   

Determine HBA WWN:

To determine the WWN of the newly installed HBA, at the command line use one of the following forms:

 

cat /proc/scsi/qla2300/# (instance number could be 0, 1, 2, 3,  …)

Or for Emulex:

cat /proc/scsi/lpfc/# (instance number could be 0, 1, 2, 3,  …)

This can also be verified by looking at the Fibre Channel Switch Port that the HBA is plugged in to.

 

 

 

7Table of Contents

 

·        Creating switch zones

 

Overview

For directions specific to Brocade switches, refer to the Brocade Fabric Manager Administrator’s Guide, which is located on Powerlink under the following location:

 

Home > Support > Documentation/White Paper Library > Hardware/Platforms Documentation > Connectrix Directors and Switches > Maintenance/Administration

 

Please refer to the section Managing Zones, which will provide the background information needed to configure and zone your fabric.

 

Note: There are multiple versions of the user guide available. Be sure to reference the version specific to your Fabric Manager version.

 

3.   

Create switch zones

Switch zones define paths between the host HBAs and the Symmetrix array and can be created using the switch management software (refer to the switch documentation).

 

Note:  If you are using an HP-UX server with QuickLoop zoning, then you must use port zoning.  Refer to EMC Knowledgebase article emc66355 for more information.

 

Definition -

Zoning is the process by which a single initiator is matched to a single storage array port (FA/SP) to be able to pass info to storage array device.

 

A Zone consists of 2 or more members, with only 1 initiator (HBA) per zone

A Zone is part of a zoneset .

A Zoneset is a collection of zones in a single fabric.

A Zoneset requires activation in order to be updated.

 

Important:  EMC Recommends single initiator zoning. To reduce the chance of data unavailability in the event that an HBA, switch, or FA Failure,  the host should have at least one primary path and one alternate path to each FA

 

 

4.   

Determine zoning configuration

Follow these steps to determine your zoning configuration:

a.      Determine the FA WWN by entering the following command:

symcfg –sid XXXX list –fa all

b.      Determine the HBA WWN by referencing the OS-specific commands from provisioning a host section.

c.      Determine the number of paths needed.

d.      Determine the Active Zone name.

The operations above must be performed on both fabrics for all FAs and HBAs.

 

5.   

Verify the HBA is logged in

Solutions Enabler offers a command line utility that will verify what is logged in to a specific Symmetrix FA. Use the following command:

 

symmask –sid SymmID –dir 3c –p 0 list logins

 

Where SymmID is the last four numbers of the Symmetrix serial number, 3c is the FA and 0 is the port on the FA.

 

It should also be noted that HBAs in an HP-UX host only show as logged in while there is active I/O.  However, if an entry exists in the login history table, it indicates that the HBA did log into the FA at some point.

 

After verifying that the host is logged in, move on to configuring the host.

 

 

7Table of Contents

 

 

·        Making LUNs or Devices available to Linux

 

Overview

This procedure describes how to make the devices or LUNs available or visible to a Linux host. It describes how to use the fdisk command to label and partition devices.

 

The Symmetrix devices will be represented in /proc/scsi/scsi and can be viewed by using:

 

more /proc/scsi/scsi.

 

Additional sd and sg filenames may need to be created because the number created by default in the kernel is usually less than 128 device filenames. 

 

Note and Caution: If your host system cannot see the devices, it may necessary to do a disk or device scan of the I/O bus with this procedure. If you must, at an appropriate low-peak time in your production environment, apply the necessary operating system native commands, to perform a device scan (discover) to make the devices visible to the host workstation. This might take a few minutes or so to execute. Be sure you follow your operating system specific administrators guide and/or known site procedures for this operation, as scanning devices can cause pauses and crashes to other operational processes running on this host. If you can and prefer, a reboot will also accomplish the same thing (device discovery). The following steps are provided only as a general or possible guide and not meant to supersede your site preferences.

 

 

 

6.   

Partition devices:

The fdisk command allows a single disk device to be partitioned. To partition the Symmetrix devices, verify that you are logged in as root and perform the steps below for each new device that requires partitioning as follows:

 

a.      Enter the following command:

fdisk /dev/<device_name>

where <
device_name> is the LUN device-name

For example:  fdisk /dev/sdb

b.      Type m (for help) and press Enter to display a menu of options.

Type
x (for expert functionality) and press Enter.  Type m and press Enter to see another menu of options.

c.      From the main fdisk menu, type n and press Enter to add a new disk partition.

d.      Type t and press Enter to change a partition’s system ID.

e.      Type L and press Enter for a list of hex codes for system Ids.  (Linux is type 83; Linux swap is 82.)

f.       Type p and press Enter to print the partition table so you can verify that the selections look correct.

g.      Type w and press Enter to write the table to disk and exit fdisk.

h.      Repeat steps c through g for each new Symmetrix device.

i.        If you want to display the partition numbers created after Linux recognizes them, view the file:

more / proc/partitions

 

 

7.   

Create filesystems on partitions:

Once each Symmetrix device has been formatted, partitions, and labeled, you must create a filesystem in order to make the partition useable.

 

To create a new filesystem:

 

a.   Enter the following mkfs command:

mkfs /dev/<device_name>/<partition_number>

where <device_name> is the LUN device name and <partition_number> is the partition number

Examples:

mkfs /dev/sdb1
mkfs –j/dev/sbd1
mkreiserfs –h r5 /dev/sdb1

b.      When prompted to confirm the construction of a new filesystem, type Y and press Enter.

 

 

8.   

Create mount directory:

Once the filesystem for each Symmetrix disk device has been created, you must create a mount directory for each device as follows:

 

mkdir /<mount_point>

For example:  

 

mkdir /mnt/sdb

 

where /mnt/sdb is the complete path for the new filesystem

 

 

9.   

Mount the file systems:

To mount each filesystem, enter the mount command as follows:

 

mount -t <filesystem type> /dev/<device_partition_name> <mount_point>

 

Examples:

 

mount –t ext2 /dev/sdb1 /mnt/sdb

mount –t ext3 /dev/sdb1 /mnt/sdb

mount –t reiserfs /dev/sdb1 /mnt/sdb

 

This mounts the partition /dev/sdb1 onto the mount point /mnt/sdb as the filesystem type specified.

 

This mount command is required every time the host is rebooted.  If preferable, the filesystem can be mounted automatically at boot time by adding this information to the /etc/fstab file.  Once the filesystems are mounted, data can be written to and read from them.

 

 

 

7Table of Contents