Xsanity Sanity for Apple's Xsan and Final Cut Server.
  
Monday, May 20 2013 @ 01:30 PM EDT
Topics
Storage (39)
People (1)
Xsan (103)
How To (26)
User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User
Who's Online
Guest Users: 18
Sponsorship

Xsanity is proudly sponsored by:

Tekserve
The Old Reliable Mac Shop

How best to search an Xsan?

 
Post new topic   Reply to topic    Xsanity Forums Forum Index -> General Xsan Talk
View previous topic :: View next topic  
Author Message
brandon
Knows DNS is the answer
Knows DNS is the answer


Joined: 21 Mar 2005
Posts: 31

PostPosted: Mon Jan 28, 2008 3:54 pm    Post subject: How best to search an Xsan? Reply with quote

My Xsan exhibits a symptom that today might fall under the category of expected behavior. That symptom is that when I share the Xsan out to AFP clients, those clients have a tough time effectively searching for files on the Xsan.

Here's an example:

My environment -- Xsan 1.4.2, OS X 10.4.11.

At the root level of my Xsan, let's say I have a folder called "AFPShare" that I share out via AFP. And on that share, let's say I have the following path:

AFPShare / Subdirectory1 / Subdirectory2 / Subdirectory3 / Target.doc

Today, if I want to find Target.doc, here's how it goes:

At the AFP client, I Command-F in the Finder and search the location "AFPShare" for items whose name contains "target". I get an indefinitely cranking search window that yields no results.

No good.

So, I drill down and conduct an identical search of the location "Subdirectory1". I get an immediate response of no results.

No good.

So, I drill down and conduct an identical search of the location "Subdirectory2". Finally I find results that include Target.doc.

Now, I know that the above Xsan isn't Spotlight searchable. And I know about very simple third party search utilities like EasyFind. I have some personal success with that, but I'm hesitant to introduce it as a solution company-wide.

Enterprise Support says they're aware of this behavior and have no time frame for a solution.

What are you all doing meanwhile?

Thanks for any advice,

Brandon White
Back to top
View user's profile Send private message
matx
Xsan Master
Xsan Master


Joined: 15 Apr 2005
Posts: 378

PostPosted: Mon Jan 28, 2008 4:54 pm    Post subject: find + Terminal Reply with quote

find /Volumes/Xsan/ -name "*mov*" -print

Not a great solution for end users perhaps. But it works every time.

You could create a little GUI for it, if so inclined.
Back to top
View user's profile Send private message
brandon
Knows DNS is the answer
Knows DNS is the answer


Joined: 21 Mar 2005
Posts: 31

PostPosted: Mon Jan 28, 2008 5:20 pm    Post subject: How best to search an Xsan? Reply with quote

Excellent suggestion, but too power-user for my environment, I'm afraid -- we don't even allow access to Terminal.app by default. Anyone else?
Back to top
View user's profile Send private message
donald
Xsan Master
Xsan Master


Joined: 25 Jun 2007
Posts: 67

PostPosted: Tue Jan 29, 2008 12:26 pm    Post subject: Re: How best to search an Xsan? Reply with quote

brandon wrote:
Excellent suggestion, but too power-user for my environment, I'm afraid -- we don't even allow access to Terminal.app by default. Anyone else?


You can use matx's oneliner and redirect it to a file. You can make this file available through a website. You run this script from a cron/launchd job every night.

So every user can get a clue where a file was this night by searching through a webbpage.
Back to top
View user's profile Send private message Visit poster's website
brandon
Knows DNS is the answer
Knows DNS is the answer


Joined: 21 Mar 2005
Posts: 31

PostPosted: Tue Jan 29, 2008 2:18 pm    Post subject: How best to search an Xsan? Reply with quote

Hmm, also interesting, I'll have to stew on that one for a bit. Can't quite picture it initially, even though your description is pretty straightforward.

Anyone else have a recommendation short of a custom web app as described above, something you have in use today that either just works or adequately suffices?
Back to top
View user's profile Send private message
matx
Xsan Master
Xsan Master


Joined: 15 Apr 2005
Posts: 378

PostPosted: Wed Jan 30, 2008 8:58 pm    Post subject: Redirecting output to a file Reply with quote

Searching with find and redirecting output to a file which is web accessible is something you could do, if you knew what they were looking for.

find /Volumes/XSAN/ -name "mp3" > "/Library/WebServer/Documents/mp3.txt"

Or you could dump the entire directory listing down to a file...

ls -R

but that would be crazy

Smile
Back to top
View user's profile Send private message
brandon
Knows DNS is the answer
Knows DNS is the answer


Joined: 21 Mar 2005
Posts: 31

PostPosted: Thu Jan 31, 2008 7:49 am    Post subject: How best to search an Xsan? Reply with quote

Right -- I have no way of predicting what the end users will search for next, and dumping the entire directory list to a file isn't feasible, either.

Maybe I just have to advise the end users to keep their searches narrow, and to keep their data well organized.

At least until Xsan 2.0 delivers Spotlight integration.
Back to top
View user's profile Send private message
donald
Xsan Master
Xsan Master


Joined: 25 Jun 2007
Posts: 67

PostPosted: Thu Jan 31, 2008 8:16 am    Post subject: Re: How best to search an Xsan? Reply with quote

brandon wrote:
.... dumping the entire directory list to a file isn't feasible, either.


Why not? The user can search through the huge webfile. Any browser has support for that!
Back to top
View user's profile Send private message Visit poster's website
brett
Been around the blocks
Been around the blocks


Joined: 16 Jun 2005
Posts: 24

PostPosted: Thu Jan 31, 2008 9:21 am    Post subject: Reply with quote

@Brandon,

are you disclosing features for an Apple product that has yet to be released sir? I think that is a no-no unless you are just speculating on the feature.
Back to top
View user's profile Send private message
brandon
Knows DNS is the answer
Knows DNS is the answer


Joined: 21 Mar 2005
Posts: 31

PostPosted: Thu Jan 31, 2008 11:02 am    Post subject: How best to search an Xsan? Reply with quote

No worries, I'm not breaking any NDAs, I'm just thinking wishfully (I'm only a customer these days, not affiliated with any service provider or Apple, and not a developer).

AppleInsider did fan the speculation for Spotlight integration a bit, though, in June of last year, easily Googled.

At any rate, using a web browser to scan a miles-long directory listing just doesn't feel to me like a very elegant user experience.

I'd be more inclined to place EasyFind in everyone's Dock instead.

No decisions made yet, though, still open to suggestion.
Back to top
View user's profile Send private message
fritz.
Xsan Master
Xsan Master


Joined: 03 Oct 2007
Posts: 177

PostPosted: Wed Feb 20, 2008 12:07 pm    Post subject: Reply with quote

heh
Back to top
View user's profile Send private message Visit poster's website
fritz.
Xsan Master
Xsan Master


Joined: 03 Oct 2007
Posts: 177

PostPosted: Wed Feb 20, 2008 12:09 pm    Post subject: Reply with quote

oddly enough I've had spotlight able to search Xsan volumes intermittently in versions previous to Xsan 2. I've always dismissed it as a "happy accident" and now at least I have a bargaining chip to tempt clients to upgrade.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Xsanity Forums Forum Index -> General Xsan Talk All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Best Viewed on a Mac | Suggested Browser: Whatever floats yer boat.