Xsan 2 Administrator Guide - Checking the Integrity of a Volume

background image

Checking the Integrity of a Volume

If SAN users have trouble accessing files, use the

cvfsck

command to check the

integrity of a volume, its metadata, and its files.

To check a volume:

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 (in /Library/Filesystems/Xsan/bin/) to check the

volume without making repairs:

$ sudo cvfsck -vn volume

You’ll see a warning that the journal is active; this is normal.

For more information about this command, see the

cvfsck

man page.