| View previous topic :: View next topic |
| Author |
Message |
JonThompson Xsan Master

Joined: 06 Apr 2007 Posts: 123
|
Posted: Wed Dec 03, 2008 4:26 pm Post subject: Spotlight on a Reshare |
|
|
So, I noticed that I was getting errors on my reshares related to spotlight. Turns out, the check boxes on all of my XSan reshare volumes are grayed out.
The question is: What good is spotlight support and all of the business file support that Apple touted if I can't index a reshare? I have spotlight turned on for the XSan Volume, but it won't let me turn on the individual indexes. You would think that Apple could parse out the San's spotlight index to just include a reshare.
Anyhow, if this is a bug, not a feature, please let me know so I can rack my brain as to how to solve it. In the meantime, is there any way to get rid of the mds errors that keep coming up for my reshares? |
|
| Back to top |
|
 |
flyingcactus fully protected

Joined: 02 Jan 2007 Posts: 11
|
Posted: Tue Dec 30, 2008 5:01 pm Post subject: |
|
|
I was having the same issue. It turns out there is a KB article on apples website that corrected this issue for me. (http://support.apple.com/kb/HT1139?locale=en_US) It said:
| Quote: |
Xsan clients cannot search a volume if it was mounted on the client before Spotlight indexing was enabled on the controller.
On affected clients, either reboot the affected Xsan client, or unmount and re-mount it. |
I unmounted and remounted the volume on my AFP server, and now in server admin, the box is still greyed out, but it is checked. I am also getting very fast search results on my clients |
|
| Back to top |
|
 |
rstasel Xsan Master

Joined: 03 Aug 2007 Posts: 120
|
Posted: Tue Dec 30, 2008 6:03 pm Post subject: |
|
|
| by clients, do you mean afp clients? |
|
| Back to top |
|
 |
flyingcactus fully protected

Joined: 02 Jan 2007 Posts: 11
|
Posted: Fri Jan 02, 2009 1:14 pm Post subject: |
|
|
| Yes the AFP clients |
|
| Back to top |
|
 |
r520m JBOD

Joined: 16 Apr 2009 Posts: 3
|
Posted: Thu Apr 16, 2009 3:06 am Post subject: Spotlight dying after MDC failover |
|
|
Anybody got a healthy, fast, reliable Spotlight after the volume failover?
I'm resharing the Xsan volume on two Xsan clients and it seems the Spotlight search is slowly dying over time. |
|
| Back to top |
|
 |
morphenine Xsan Master

Joined: 22 Dec 2008 Posts: 126
|
Posted: Thu Apr 16, 2009 1:05 pm Post subject: |
|
|
I just went through a similar thing with apple enterprise support last week.
I had been having major problems with spotlight and MDS errors. I was also having race conditions to develop in the .Spotlight-V100 folder when AFP users connected, and this would eventually deteriorate into "invalide inode" errors.
After 3 open cases and several hours on the phone I finally reached a senior xsan engineer, who basically told me that the spotlight feature in Xsan 2 "doesn't behave the way that we'd like it to, nor the way it was intended." (but nevertheless the same marketing people who sold us "MultiSAN" got ahold of this and ran with it). For instance it is known that after a failover, the spotlight feature will not work on the other controller (I believe this has something to do with the machine's GUID in the index, but I'm not entirely clear on it myself).
In my case, I had followed the KB article 4 times to rebuild my index, but it just never stayed working for more than a couple hours (http://support.apple.com/kb/HT1134). After working with him for several days, the engineer told me that in order to solve my issue, I would likely have to disable spotlight. Well my issue was solved by turning off spotlight on the volume settings, doing a cvfsck, and deleting the .Spotlight-V100 hidden folder from the volume. I no longer get MDS errors, nor invalid inode errors and everything works great...exept for the fact that spotlight is off, but in my environment thats no big deal.
Another thing you might try (that the xsan engineer suggested) is on your clients (xsan clients, and afp clients) to add the volume to the spotlight privacy list. It looked like I also had some machines that were trying to index the volume via afp and causing other problems.
Other Thoughts: When asked about a maintenance release (2.1.2 or 2.2) he seemed hesitant, and without saying anything directly, it sounded like he was hinting that this "feature" wouldn't be fixed until xsan3 at the earliest...but thats just what I read into it. |
|
| Back to top |
|
 |
abstractrude Xsan Master

Joined: 13 Mar 2008 Posts: 863
|
Posted: Thu Apr 16, 2009 5:02 pm Post subject: |
|
|
I finally reached a senior xsan engineer, who basically told me that the spotlight feature in Xsan 2 "doesn't behave the way that we'd like it to, nor the way it was intended."
BINGO. Apple can suck it on these half ass implementation of new features. I would have bought xsan2 for more stability, why waste our time with new broken code? |
|
| Back to top |
|
 |
JonThompson Xsan Master

Joined: 06 Apr 2007 Posts: 123
|
Posted: Sat Apr 18, 2009 2:41 pm Post subject: |
|
|
| Quote: | | Other Thoughts: When asked about a maintenance release (2.1.2 or 2.2) he seemed hesitant, and without saying anything directly, it sounded like he was hinting that this "feature" wouldn't be fixed until xsan3 at the earliest...but thats just what I read into it. |
I can just see the marketingspeak now- "Finding the right file can be like finding a needle in a haystack, especially when you have terabytes upon terabytes of shared online storage. Xsan 3 leverages the power of Spotlight, making it easy and instantaneous for users to find files on massive SAN volumes — even across terabytes of data — right from the Finder." |
|
| Back to top |
|
 |
r520m JBOD

Joined: 16 Apr 2009 Posts: 3
|
Posted: Mon Apr 20, 2009 4:57 pm Post subject: |
|
|
Very interesting.
I made a test on another Xsan volume with only one MDC and forced the MDC to shutdown using the power button!. After starting it up again I had the following in the system.log:
Apr 20 11:55:12 mdc1 mds[64]: (/.Spotlight-V100/Store-V1/Stores/55D3D56C-789C-452E-80E5-A41E9F3D4A70)(Error) IndexCI in ContentIndexOpenBulk:Unclean shutdown of /.Spotlight-V100/Store-V1/Stores/55D3D56C-789C-452E-80E5-A41E9F3D4A70/live.0.; needs recovery
Spotlight is working und updating the index!
So it looks like the failover from one MDC to another is rendering the Spotlight index unusable. I will mount the Xsan volume on MDC2 read-only and see if this makes a difference to Spotlight when the volume is back on MDC1. |
|
| Back to top |
|
 |
pnerum RAID 5

Joined: 25 May 2009 Posts: 15
|
Posted: Mon May 25, 2009 9:58 am Post subject: |
|
|
I'm curious if there are more successful spotlight enabled reshares.
Up till now I didn't enable Spotlight on my SAN volume, but my users are "almost" screaming for it....
Is this the way to enable it? http://support.apple.com/kb/HT1134
With kind regards,
Patrick |
|
| Back to top |
|
 |
cedge318 Could work for Apple

Joined: 12 Jan 2009 Posts: 47
|
Posted: Tue May 26, 2009 7:16 pm Post subject: Right way |
|
|
| That's the way we've gone about it. In my experience either spotlight works or it doesn't. There's been no in between... |
|
| Back to top |
|
 |
wrstuden Xsan Master

Joined: 04 Jan 2008 Posts: 99
|
Posted: Mon Jun 01, 2009 2:30 pm Post subject: |
|
|
| r520m wrote: |
So it looks like the failover from one MDC to another is rendering the Spotlight index unusable. I will mount the Xsan volume on MDC2 read-only and see if this makes a difference to Spotlight when the volume is back on MDC1. |
For Spotlight to work, the volume must be mounted read-write on all MDCs. I'm not sure if mounting it read-only will make a difference, but you have to have it mounted read-write before you fail back to MDC2.
Since a backup MDC is all about unexpected failover, leave it r/w on the MDCs.  |
|
| Back to top |
|
 |
CitraMalus Been around the blocks

Joined: 19 Mar 2008 Posts: 23
|
Posted: Wed Jun 03, 2009 11:23 pm Post subject: |
|
|
Dont know whether my reply would be of great help.. but have you guys tried out erasing the index and recreate it.?
if not ... then try that once and turn ON the indexing in the specific volumes.
Hope it may work... |
|
| Back to top |
|
 |
mactinosx RAID 5

Joined: 07 Mar 2009 Posts: 18
|
Posted: Thu Sep 03, 2009 8:22 am Post subject: |
|
|
Hi,
I had the same Spotlight problem on my client "re-share" server (this is the server what is re-sharing the Volume to all our network clients). I did the following thing that worked for me;
- Unmount every volume (mdc2 fail-over and the client server) in the Xsan but keep the volume mounted on the mdc host server (mdc1).
- Delete the com.apple.spotlight.plist in your preferences
- go to the Terminal and login as root and re-index Spotlight by typing the following command:
| Code: | | mdutil -i on /Volumes/your_xsan_volume/ |
This takes a while! So be patient!
- When this is ready, restart your mdc1 controller.
- Mount the Volume back on your mdc2 controller and client (re-share) server.
(- Restart the client server)
Bingo!
The volume and the Spotlight stuff works on my mdc1 and on my mdc2 controller, the Xsan Client (re-share)server and on my AFP clients!
 |
|
| Back to top |
|
 |
endast partially protected

Joined: 15 Sep 2009 Posts: 7
|
Posted: Fri Sep 18, 2009 9:19 am Post subject: |
|
|
Hi,
Did you delete the com.apple.spotlight.plist on the mdc host server or the client (or perhaps both)?
| mactinosx wrote: |
- Unmount every volume (mdc2 fail-over and the client server) in the Xsan but keep the volume mounted on the mdc host server (mdc1).
- Delete the com.apple.spotlight.plist in your preferences
- go to the Terminal and login as root and re-index Spotlight by typing the following command:
| Code: | | mdutil -i on /Volumes/your_xsan_volume/ |
This takes a while! So be patient!
|
|
|
| Back to top |
|
 |
|