Mounting an xsan volume, Moun – Apple Xsan 1.4 User Manual
Page 179
Appendix B
Using the Command Line
179
Examples
Count the extents in the file “datafile”:
$ snfsdefrag -c datafile
List the extents:
$ snfsdefrag -e datafile
Defragment the file “datafile”:
$ snfsdefrag datafile
Defragment the file “datafile” only if it has more than two extents:
$ snfsdefrag -m 2 datafile
Defragment every file in the folder /datafolder/ (or any folder within /datafolder/) that
has more than one extent:
$ snfsdefrag -r datafolder
Recover unused preallocated disk space assigned to every file in folder /datafolder/:
$ snfsdefrag -rp datafolder
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.