beautypg.com

Problems using command-line tools, San user sees error code –1425, Lun doesn’t have as much space as expected – Apple Xsan 1.0 User Manual

Page 77

background image

Chapter 7

Solving SAN Problems

77

After Slicing, Some LUNs Aren’t Listed in Xsan Admin

If you slice an array that was previously labeled for use with Xsan, you might need to
remove the old label from the first slice.
To see if the LUN is mounted using its old label, open Terminal and type:

$ sudo cvlabel -l -s

(The cvlabel tool is in /Library/Filesystems/xsan/bin.)

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

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

To remove the old label, 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.

Problems Using Command-Line Tools

If you get the response “command not found” when you try to use an Xsan
command-line tool, add /Library/Filesystems/Xsan/bin to your search path or switch
to this directory before you type the command. For example, to use the

cvadmin

tool:

$ cd /Library/Filesystems/Xsan/bin

$ sudo ./cvadmin

If you get the response “Cannot list FSS - reason -Bad file descriptor” when you run
the

cvadmin

tool, make sure you are using the tool as the root user. Either log in as

the root user or use the sudo command to run the tool. For example:

$ sudo ./cvadmin

If you get the response “No manual entry for...” when you try to view the man page
for an Xsan command-line tool, you need to add the Xsan man pages directory
/Library/Filesystems/Xsan/man to your man search path. One way to do this is to add
the following line to the file /etc/manpath.config:

OPTIONAL_MANPATH /Library/Filesystems/Xsan/man

SAN User Sees Error Code –1425

The user is trying to occupy more space than allowed by his or her hard quota.

LUN Doesn’t Have as Much Space as Expected

To make striping across LUNs possible, Xsan automatically adjusts LUN sizes to make
all LUNs in a storage pool the same size as the smallest LUN in the pool. Xsan doesn’t
use the extra space on larger LUNs when you mix LUNs of different sizes in the same
storage pool.

LL0192.book Page 77 Thursday, July 29, 2004 5:20 PM