Using the Shell Commands


To use a command, type the full path. For example:

$ sudo /Library/Filesystems/Xsan/bin/cvlabel -l 


or to change to the directory before typing the command:

$ cd /Library/Filesystems/Xsan/bin $ sudo ./cvlabel l 


On Xsan v1.1 and above, it is not necessary to change the path before entering shell commands from Xsan.

Working on Remote Computers

It will be necessary in some of the following examples to run the shell command from the metadata controller. If you are running the Terminal application from a client node, you can SSH into any computer (the metadata controller in this instance) to run the script remotely:

$ ssh user@computer 


where user is a user account on the remote computer and computer is its Bonjour name, FQDN, or IP address. On a metadata controller with the IP address 10.1.0.1 and admin as the administrator, type:

$ ssh admin@10.1.0.1 


You will then be prompted to enter the password for admin to gain access to this computer.

Remember that remote login on either a server or client must be enabled in order to SSH into that system from another computer. This can be enabled in System Preferences > Sharing.



Apple Pro Training Series. Xsan Quick-Reference Guide
Apple Pro Training Series: Xsan Quick-Reference Guide (2nd Edition)
ISBN: 0321432320
EAN: 2147483647
Year: 2004
Pages: 120

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net