How to repair the Xsan filesystem

Determine if an Xsan file system needs repair

Use these commands in Terminal, which work for all versions of Xsan:

cd /Library/Filesystems/Xsan/bin
sudo ./cvfsck -j <Volume_Name>
sudo ./cvfsck -nv

 

Replace <Volume_Name> with the actual name of the target Xsan Volume. 

 

The file system status is reported as "Clean" or "Dirty".

 

Xsan 1.3 or later

 

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 commands one at a time, and authenticate when prompted:

sudo cvfsck -wv


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



  1. 6. Run the following command to ensure that the repair process was complete:




  1. sudo cvfsck -nv <Volume_Name>

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

Tags

  • Apple
  • Macbook
  • SSD
  • Linux

Categories

  • Hints 210