beautypg.com

Mounting an xsan volume, Unmounting an xsan volume, Viewing logs – Apple Xsan 1.0 User Manual

Page 95

background image

Appendix B

Using the Command Line

95

Mounting an Xsan Volume

You can use the

mount

command to mount an Xsan volume on a computer.

1

Either go to the computer and open Terminal, or use SSH to log in to the computer
remotely:

$ ssh user@computer

where user is a user account on the remote computer and computer is its IP
address or DNS name.

2

Create the mount point where the file system will be mounted:

$ mkdir mountpoint

where mountpoint is the directory where the file system is mounted (usually in

/Volumes

; for example

/Volumes/SanVol

).

3

Mount the volume:

$ sudo mount -t acfs volume mountpoint

where volume is the name of the volume and mountpoint is the directory you
created in step 2. For example:

$ sudo mount -t acfs SanVol /Volumes/SanVol

Unmounting an Xsan Volume

You can use the

umount

command to unmount an Xsan volume on a computer.

1

Either go to the computer and open Terminal, or use SSH to log in to the computer
remotely:

$ ssh user@computer

where user is a user account on the remote computer and computer is its IP
address or DNS name.

2

Unmount the volume:

$ sudo umount mountpoint

where mountpoint is the directory where the volume is mounted (usually

/Volumes/

). For example:

$ sudo umount /Volumes/SanVol

Viewing Logs

The system log to which Xsan writes information about SANs is in

/var/log/system.log

Volume logs are in

/Library/Filesystems/Xsan/data//log/cvlog

where

is the name of the specific volume.

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