Live Chat Software by UCS eSupport
Knowledgebase: Mac OS X
Xsan: How to repair the filesystem
Posted by UCS IT Support 4 on 30 April 2015 08:03 PM

Xsan: How to repair the filesystem - Apple Support





Xsan: How to repair the filesystem

Learn how to repair Xsan filesystems using cvfsck.

How to determine if an Xsan filesystem is damaged

Note: Unmount and stop your Xsan filesystem before checking or repairing it. Running cvfsck on filesystems that are mounted may result in incorrect indications that the filesystem is corrupted.

Use these commands in Terminal:

sudo cvfsck -j VolumeName 


sudo cvfsck -nv VolumeName

Replace VolumeName with the actual name of the Xsan volume.

While cvfsck is running, it will produce verbose statistics about the state of the filesystem. After the statistics, there may be an alert that the filesystem has been modified. Such an alert does not mean that the filesystem has been repaired, but rather that it will need to be repaired. In this case, you should continue with the next set of steps, in accordance with the version of Xsan you're using.

If you are concerned that the filesystem status is reported as "Clean" or "Dirty", please see this article.

How to repair a damaged Xsan filesystem

Note: See the section below if you are using Xsan 1.2 or earlier.

  1. Use Xsan Admin to unmount the volume from the Metadata Controllers and from the Xsan client units.
  2. In Xsan Admin, stop the Xsan volume.
  3. On a Metadata Controller, open Terminal.
  4. Execute the following command, and authenticate when prompted:
    sudo cvfsck -wv VolumeName

    When cvfsck exits, it will report that the filesystem was modified.

  5. Run the following command to ensure that the repair process was complete:
    sudo cvfsck -nv VolumeName

    At this point, if cvfsck reports that the filesystem was modified or would have been modified, you should contact Apple support.



(0 vote(s))
Not helpful

Comments (0)