beautypg.com

Mount an xsan volume, Unmount an xsan volume – Apple Xsan 2 User Manual

Page 157

background image

Appendix C

Use command-line tools

157

xsanctl command

Description

list

Lists the volumes available on the SAN and the
path at which each volume is mounted on the
local computer.

sanConfigChanged

Notifies the Xsan file system that it should reload
the SAN configuration.

roleChanged

Notifies the Xsan file system that this computer’s
SAN role has changed or the computer was
removed from the SAN.

disksChanged

Notifies the Xsan file system that it should rescan
disks.

wipeConfig

Resets the Xsan file configuration to an
unconfigured state. All files in /Library/
Preferences/Xsan/ are removed except uuid. The
xsand process isn’t unloaded. Directory services
aren’t reconfigured.

Mount an Xsan volume

Use the

xsanctl

command to mount an Xsan volume on a computer.

Mount a volume from the command line:

1

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

$ ssh user@computer

Replace

user

with the name of a user account on the remote computer and

computer

with its IP address or DNS name.
If you have trouble making an SSH connection, check the Sharing pane of System
Preferences on the remote computer and make sure Remote Login service is turned on.

2

Mount the volume:

$ sudo xsanctl mount volume

For example:

$ sudo xsanctl mount SanVol

Unmount an Xsan volume

Use the

xsanctl

command to unmount an Xsan volume on a computer.

Unmount a volume:

1

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

$ ssh user@computer

Replace

user

with the name of a user account on the remote computer and

computer

with its IP address or DNS name.