Checking the integrity of a volume – Apple Xsan 1.4 User Manual

Page 103

Advertising
background image

Chapter 3

Managing SAN Storage

103

Checking the Integrity of a Volume

If SAN users are having trouble accessing files, you can use the

cvfsck

command to

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

To check a volume:

1

Open Terminal (in /Applications/Utilities/).

2

If you are not working at the SAN controller computer, use SSH to log in to the

controller remotely:

$ ssh user@computer

where

user

is an administrator user on the controller computer and

computer

is 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

where

volume

is the name of an Xsan 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.

Advertising