Repairing a volume – Apple Xsan 1.4 User Manual

Page 104

Advertising
background image

104

Chapter 3

Managing SAN Storage

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/) to replay the

journal:

$ sudo cvfsck -j volume

4

Check the volume to see if additional repairs are required:

$ sudo cvfsck -vn volume

5

If the report generated in the previous step lists additional problems, type the

following command to perform a full check and repair of the volume:

$ sudo cvfsck -v volume

For more information about this command, see the

cvfsck

man page.

Advertising