Using the command line, Using the shell commands, Working on remote computers – Apple Xsan 1.0 User Manual
Page 83: Appendix

83
A
p
pendix
B
B
Using the Command Line
This appendix describes Xsan shell commands and
configuration files you can use to work with a SAN from
the command line.
You can use the shell commands and configuration files described here to access, set
up, and manage Xsan SANs, LUNs, storage pools, and volumes from the command line.
Using the Shell Commands
The Xsan command-line utilities are located in
/Library/Filesystems/Xsan/bin
To use a command, type the full path, for example:
$ sudo /Library/Filesystems/Xsan/bin/cvlabel -l -s
or change to the directory before typing the command:
$ cd /Library/Filesystems/Xsan/bin
$ sudo ./cvlabel -l -s
or add
/Library/Filesystems/Xsan/bin
to your shell’s search path.
Working on Remote Computers
To use commands on a remote computer, first use SSH to log in to the other computer:
$ ssh user@computer
where user is a user account on the remote computer and computer is its IP
address or DNS name.
Viewing the Man Pages
UNIX-style man pages describing each of the commands are available in
/Library/Filesystems/Xsan/man
LL0192.book Page 83 Thursday, July 29, 2004 5:20 PM