• Mac OS X,  Mac OS X Server,  Mass Deployment

    Apple Remote Desktop Issues + Xsan

    The build_hd_index process is spiking! What to do?!?! In an Xsan environment where you have a number of clients and Apple Remote Desktop is running on an administrative computer, the Application Usage Data and User Accounting Data collectors can cause the build_hd_index process to run more often than is needed (okay so spiking is a bit extreme but a dropped frame once every couple of days is the end of the world to some people), especially in cases where you don’t actually use the collected data for business intelligence. If you do a Get Info on a computer in Remote Desktop you can uncheck Collect Application Usage Data and Collect User…

  • Mac OS X,  Mac OS X Server,  Mac Security,  Xsan

    Hey Spotlight, Skip This Folder…

    Whether it’s an Xsan with a wacky mdworker thread, a regular old box trying to scan a whole bunch of files you want it to skip or even a directory that you want to keep private, you can tell Spotlight not to scan a specified folder on your system. Simply use the following command, with the working directory of the shell as whatever directory you want skipped: touch .metadata_never_index In other words, create a file called .metadata_never_index in a folder and Spotlight will skip it. This isn’t to say it skips subfolders…

  • Windows Server,  Windows XP,  Xsan

    New Windows Keystroke and Xsan Keys

    OK, probably not new but oddly enough, this one is new to me.  Control-Alt-Escape launches the Task Manager instead of using the ole’ three finger salute to fire up the screen to get to the Task Manager.  I was on a KVM, switched between a Mac and PC accidentally, hit the same keystroke (funny keyboard map) and bam, there it was… Also, in Xsan.  You can click on the Command key plus a number to cycle through the various options in the list along the left hand side of the screen.  For example, the overview page when you first log in is Command-1 whereas the next one down in the…

  • Windows Server,  Windows XP,  Xsan

    Debug Logging in StorNext

    If you create a folder in c:Program FilesStorNext called debug then after you restart the FSS StorNext will create a file called c:Program FilesStorNextdebugnssdebug.out, which contains very verbose logs from the perspective of the StorNext system. This can be useful, for example, in debugging connectivity issues with other StorNext systems and/or Xsan.

  • Windows Server,  Windows XP,  Xsan

    StorNext Command Line for Windows

    StorNext for Windows comes with many of the same commands that are available with Xsan on Mac OS X. Located by default in the c:Program FilesStorNextbin directory, you can use the cv* commands in much the same way as on a Mac. This can help with regards to troubleshooting. For example, if you are having problems getting a volume to mount, even though it shows up when you go to map the drive in Client Configuration, you can use cvlabel -l (assuming your working directory is the StorNext bin directory) to see the LUNs that are accessible by your host. If you cannot see your LUNs then you also cannot…

  • Xsan

    Dealing with Xsan Latency

    In Xsan, the PIO HiPriWr shows you how latent the connection to your LUNs is. If the connection to any of your LUNs is too high then it can cause instability and worse, potential volume integrity issues. If you run into issues with this kind of latency then you should fix it. But if you can’t, then you can deal with it programatically using the Buffer Cache Size. Increasing the buffer will allow for more caching, which will in turn allow for more latent LUNs to have less effect on the overall performance, health and viability of the SAN. Additionally, the iNode Cache should be increased for the same purpose…

  • Mac OS X Server,  Xsan

    Xsan: Small Files & AFP

    Xsan can be used as the back end storage to provide front end network file share services for a Mac OS X environment. This isn’t to say that it will work like a charm without some fine tuning though. One of the most important tools you have in performance tuning any Xsan volume is the block size. As I’ve mentioned in the past, the stripe breadth multiplied by the block size should total out to about 1MB total. The stripe breadth on the storage pools is therefore going to need to be customized any time you change the block sizes for the volume. If you are using Xsan as a…

  • Mac OS X,  Mac OS X Server,  Mass Deployment,  Ubuntu,  Unix,  Xsan

    Disable and Remove .DS_Store Files

    In a number of environments, where SMB, AFP and other file sharing protocols are used with Mac OS X, Windows and Linux clients, there are a number of hidden files that Mac OS X leaves behind. For anyone who has managed an environment like this you’re likely to notice the .DS_Store files and potentially even have tried taking measures to get rid of them. However, try as you might they’re likely to have come back repeatedly. But you don’t have to live with them. You can tell your Windows clients not to show hidden files.  From Windows XP, open an explorer.exe window (Windows Explorer, also accessible by browsing any folder…