Xsan 2 Administrator Guide - Checking Volume Fragmentation

background image

Checking Volume Fragmentation

When you create a file, Xsan divides the file into pieces and distributes these pieces
efficiently over the LUNs that make up one of the volume’s storage pools. Over time, as
the file is modified, its pieces become scattered in less efficient arrangements. You can
use the

cvfsck

utility to check the state of file fragmentation on your volumes.

To check volume fragmentation:

1

Open Terminal (in /Applications/Utilities/).

2

If you aren’t working at the SAN controller computer, use SSH to log in to the controller

remotely:

$ ssh user@computer

Replace

user

with the name of an administrator user on the controller computer and

computer

with the controller’s name or IP address.

3

Run the

cvfsck

command-line utility with the

-f

option:

$ sudo cvfsck -f volume

For more information, see the

cvfsck

man page.