Adding LUNs to SAN File System

This topic describes how to add LUNs to SAN File System.

Prerequisites

Context

This task describes how to add LUNs without having to stop the cluster, stop and restart each metadata server, and start the cluster.

Steps

  1. Assign the new LUNs to the appropriate zones, according to LUN restrictions and limitations and the considerations for setting up zones.
  2. On each metadata server, to force the QLogic driver to rescan the fabric, enter the following commands at the system prompt:
    echo scsi-qlascan >/proc/scsi/qla2300/2
    echo scsi-qlascan >/proc/scsi/qla2300/3
  3. View the target ID and the LUN for all LUNs that were added. Enter the following command at the system prompt:
    more /proc/scsi/qla2300/2
  4. Record the ID:LUN combination for any LUN that is not yet registered with the operating system.
  5. For each controller number (2 and 3 are the controller numbers for the QLogic 2342 ports) and ID:LUN combination, enter the following command at the system prompt:
    echo "scsi add-single-device controller 0 Id Lun ">/proc/scsi/scsi
  6. To force the Subsystem Device Driver (SDD) to rescan and map the new devices, enter the following command at the system prompt:
    /usr/sbin/cfgvpath
  7. To map the block devices to character devices, enter the following command at the system prompt:
    /usr/tank/server/bin/device_init.sh
  8. To verify that the LUN was added before a metadata server is up, you can enter the cat proc/partitions command. After a metadata server is up, you can enter the lslun command to view the list of LUNs available to SAN File System.
  9. For each client for AIX®, type stfsdisk and press Enter to force the client to discover the new volume. For each client for Windows®, click Disk Rescan in disk management to discover the new storage.

Parent topic: Managing volumes and LUNs

Related concepts
Volumes

Related tasks
Starting a metadata server
Stopping a metadata server

Related reference
How do I set up zones in SAN File System?

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.