Checking the integrity of a volume, Repairing a volume – Apple Xsan 1.0 User Manual
Page 56

56
Chapter 3
Managing SAN Storage
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) twice; once to
check the journal and again to check the volume:
$ sudo cvfsck -j volume
$ sudo cvfsck -n volume
where
volume
is the name of an Xsan volume.
For more information on using this command, see the cvfsck man page.
Repairing a Volume
If the
cvfsck
utility reveals problems with a volume, you can use the same command
to repair the volume.
To repair a volume:
1
Stop the volume.
Open Xsan Admin, select the volume, and click Stop Volume.
2
Open Terminal (in /Applications/Utilities).
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).
$ sudo cvfsck volume
For more information on using this command, see the cvfsck man page.
LL0192.book Page 56 Thursday, July 29, 2004 5:20 PM