beautypg.com

Rearranging fibre channel connections – Apple Xsan 2 (Third Edition) User Manual

Page 56

background image

To add a LUN to a storage pool:

1

If you haven’t already done so, connect the RAID system that hosts the LUN to the SAN

Fibre Channel network and power on the device.

2

In Xsan Admin, select Volumes in the SAN Assets list.

3

Select the volume in the list and choose Expand Volume from the Action (gear) pop-

up menu.

4

In the Label LUNs pane of the assistant, choose whether you want to label unlabeled

LUNs individually or sequentially based on a label prefix.
If you use a label prefix, Xsan Admin adds a number to the end of the prefix to create
a label for each LUN. For example, if you use the prefix “LUN,” your LUNs are labeled
“LUN1,” “LUN2,” and so forth. Already labeled LUNs aren’t affected.
If you label LUNs individually, click Edit LUN Label on the next pane and enter a
new label.
If your LUNs are already labeled, they aren’t changed.

5

In the Configure Volume Storage pane, drag the new LUNs to affinity tags (or storage

pools, if this is a custom volume).

6

Click Continue to unmount and stop the volume, add the storage, and remount the

expanded volume.

For best performance, defragment the volume after adding LUNs to a storage pool so
that files are striped efficiently across all LUNs.

From the Command Line
You can also add LUNs to a storage pool by modifying the associated volume
configuration file and using the

cvlabel

command in Terminal. For more information,

see the

cvfs_config

and

cvlabel

man pages (

% man -M /Library/Filesystems/

Xsan/man/ 4 cvfs_config

) or “Xsan Configuration Files” on page 122 and “Labeling,

Listing, and Unlabeling LUNs (cvlabel)” on page 116.

Rearranging Fibre Channel Connections

If you need to rearrange Fibre Channel connections when adding LUNs to your SAN,
unmount SAN volumes from clients before you disconnect Fibre Channel cables or
turn off Fibre Channel switches. Otherwise, if you unplug or interrupt a Fibre Channel
connection between a client and a mounted volume, you might cause problems with
client applications, making the volume difficult to remount.

56

Chapter 4

Managing SAN Storage