Lion Server - XSan 2.3 Reattach(ReInstall) client to San
Lion Server now comes with xsan installed by default. The problem with this, is there is no way to uninstall xsan 2 if for some reason the xsan becomes corrupt. Here is a little trick if you are trying to add a system back into XSan and the XSan controller is reporting back that the server is already attached to another San.
Open a terminal and remove the following files with the following commands:
sudo rm -rf /Library/Preferences/Xsan/.auth_secret
sudo rm -rf /Library/Preferences/Xsan/*.plist
sudo rm -rf /Library/Preferences/Xsan/fsnameservers
sudo rm -rf /Library/Preferences/Xsan/.auth_secret
Now run a listing of the XSan directory. The only file left should be uuid
ls /Library/Preferences/Xsan
Now open System Preferences and enable Xsan. Then add the client back to the Xsan.
Open a terminal and remove the following files with the following commands:
sudo rm -rf /Library/Preferences/Xsan/.auth_secret
sudo rm -rf /Library/Preferences/Xsan/*.plist
sudo rm -rf /Library/Preferences/Xsan/fsnameservers
sudo rm -rf /Library/Preferences/Xsan/.auth_secret
Now run a listing of the XSan directory. The only file left should be uuid
ls /Library/Preferences/Xsan
Now open System Preferences and enable Xsan. Then add the client back to the Xsan.

Thank you! I've been looking for a solution to this problem. Yours worked perfectly. Cheers!
ReplyDelete