beautypg.com

Some luns aren’t listed in xsan admin, Some luns are listed twice in xsan admin – Apple Xsan 1.1 User Manual

Page 99

background image

Chapter 7

Solving SAN Problems

99

Some LUNs Aren’t Listed in Xsan Admin

If you reuse an array that was previously labeled for use in another Xsan storage pool,
you might need to remove the old label before Xsan Admin will recognize the LUN as
available. This can also happen if you slice a LUN you used previously, in which case you
might need to relabel the first slice, which still has the old label.

To see if a LUN is mounted using an old label, open Terminal and type:

$ cd /Library/Filesystems/Xsan/bin

$ sudo ./cvlabel -l -s

This will show the old label. In the following sample output, the label is sanvol1.

/dev/rdisk4/ [APPLE Xserve RAID 1.23] CVFS “sanvol1” ...

If the disk is unlabeled, the file system and label are listed as “unknown,” as shown in
the following sample output.

/dev/rdisk4/ [APPLE Xserve RAID 1.23] unknown ...

If the disk is labeled, you need to remove the existing label.

To remove the old label:

m

In Terminal, type

$ sudo ./cvlabel -u label

where

label

is the old label (

sanvol1

in the example above).

After you unlabel the LUN, it should appear in the LUNs pane in Xsan Admin. If it still
does not appear, quit Xsan Admin and restart the server.

Some LUNs Are Listed Twice in Xsan Admin

If you are using mismatched versions of Xserve RAID firmware and the RAID Admin
application, you might see duplicate LUNs listed in the LUNs panel in Xsan Admin.

To remove the duplicates:

m

Open RAID Admin, select the Xserve RAID system that is hosting the LUNs, and choose
System > Repair LUN Map.

If you don’t see the Repair LUN Map command, upgrade to the latest version of RAID
Admin (available at www.apple.com/support).

To avoid this problem in the future, always use the latest version of RAID Admin and
use it to install the latest firmware on your Xserve RAID systems.