Setup guide

Creating Hardware LUNs
LUNs, also referred to as Logical Units or Logical Drives, are groups of disk drives that are striped together
to provide optimal performance and RAID protection. Once configured, LUNs are seen by the Linux operating
system as if they were single disk drives.
For systems with two sets of enclosures, you have to configure one set at a time with the XR Configuration
Utility. Connect the first set of enclosures, and use the utility to configure it. When done, disconnect the
first set and connect the second set. When the second set of enclosures is configured, re-connect both sets.
To configure LUNs on XR-series storage:
1 Open a terminal and log in as root and run
/usr/discreet/DKU/current/Utils/Storage/current/XR_config.pl. The utility detects whether a
LUN configuration exists on the storage attached to that workstation.
2 If a LUN configuration already exists on the storage, you are prompted for confirmation to overwrite
that configuration.
WARNING LUN configuration is destructive. Make sure you want to overwrite an existing configuration
before you confirm.
3 After the script detects the number of enclosures and drives, it prompts you to indicate the filesystem
your storage uses. Type 2.
4 When asked if you have a 2-loop or a 4-loop configuration, select the option that applies to your
storage. The XR Configuration Utility configures your storage.
5 Type x to exit the XR Configuration Utility.
6 Reboot your workstation, so that the newly-created LUNs are rescanned by the operating system.
The XR Configuration Utility exits without configuring your storage if any of the following is detected:
An incorrect number of disks. The total number of disks must be a multiple of 12.
One or more of the enclosures do not have the correct firmware.
In a dual RAID enclosure environment, the number of expansion chassis on each RAID enclosure is not
the same.
An odd number of enclosures in a 4-loop configuration. Only even numbers of enclosures are supported.
Partitioning Disks or LUN devices as Primary Partitions
To achieve optimal performance, each disk or LUN in the array should be partitioned as a single primary
partition.
On storage arrays with 450 GB drives, use the parted utility to create GPT (GUID Partition Table) type
partitions. On arrays with smaller drives, use the fdisk utility to create Linux LVM type partitions.
To partition disk or LUN devices with 450 GB drives or larger:
1 Reboot your system to reload the fibre channel adapter drivers.
2 Open a terminal, and log in as root and view a list of disks or LUN devices detected by the operating
system, using the following command: fdisk -l | grep dev. Identify the disk or LUN devices that
are part of the storage array to be configured with a standard filesystem. These devices will be
re-partitioned.
3 Use the parted command to re-partition each disk device identified in the previous step: /sbin/parted
-s -- <disk name> mklabel gpt mkpart primary 0 -1 where <disk name> is the name of a disk device
identified in step 1, without a partition number, such as /dev/sdb.
34 | Chapter 4 Install Linux