Xsanity Sanity for Apple's Xsan and Final Cut Server.
  
Saturday, May 25 2013 @ 01:45 AM 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: 7
Sponsorship

Xsanity is proudly sponsored by:

Tekserve
The Old Reliable Mac Shop

Finder crashes after xsan finder copy, Apple is stumped
Goto page Previous  1, 2, 3, 4, 5, 6
 
Post new topic   Reply to topic    Xsanity Forums Forum Index -> Troubleshooting
View previous topic :: View next topic  
Author Message
mw10dot1
Xsan Master
Xsan Master


Joined: 06 Dec 2006
Posts: 106

PostPosted: Mon Sep 05, 2011 8:46 am    Post subject: Re:Fragmentation Reply with quote

Hi Tom

We have seen a number of scenarios on 10.6 san's that cause the files to become fragmented. It does not seem to be limited to afp.

Exports from adobe software, pushing(pulling seems fine) files to the san over afp or smb and duplicating a file on the san using ruby all seem to cause fragmentation.


Michael
Back to top
View user's profile Send private message Visit poster's website
jsiegers
Could work for Apple
Could work for Apple


Joined: 21 Oct 2008
Posts: 41

PostPosted: Tue Sep 06, 2011 3:12 am    Post subject: Reply with quote

With us fragmentation is mostly caused when you write a file and it's not sure what the file size would be from the beginning.
So in other terms when an application does not reserve all the blocks it needs at once but keeps requesting more blocks until it's finished.

For example we use an application called AddMovie to make one movie out of many XDCAM clips. This program doesn't preallocate all the blocks it needs but keeps requesting blocks. This is not caused by the application BTW but by the QuickTime framework.
Now when you run AddMovie on at least two sets simulataniously you'll get the situation where both sets keep requesting blocks. So then a set of blocks is given to one set and the next to other, etc.
This is causing some heavy defragmented files in our environment.
Back to top
View user's profile Send private message
tomwelch
Been around the blocks
Been around the blocks


Joined: 30 Sep 2009
Posts: 25

PostPosted: Tue Sep 06, 2011 3:40 am    Post subject: Reply with quote

@mw10dot1 - how did you know it was adobe files? (it usually is though I guess!)

@jsiegers - we're mainly seeing it with psd / psb files, and occasionally quicktimes too, so I wonder if Photoshop requests blocks in the way you mentioned.

In the end, I took lots, and lots! of backups and then ran the 10.6.8 and 2.2.2 updates. A bit of a long night. Everything came back up OK and we've been using the volume for a couple of hours this morning. I'll post back with some updates to let people know how things go.

Tom
Back to top
View user's profile Send private message
jsiegers
Could work for Apple
Could work for Apple


Joined: 21 Oct 2008
Posts: 41

PostPosted: Tue Sep 06, 2011 3:54 am    Post subject: Reply with quote

@tom

Please note that the 2.2.2 update can still create fragmented files.
The 2.2.2 update only makes sure your computer won't crash when it stumbles upon these files.
Back to top
View user's profile Send private message
tomwelch
Been around the blocks
Been around the blocks


Joined: 30 Sep 2009
Posts: 25

PostPosted: Tue Sep 06, 2011 4:18 am    Post subject: Reply with quote

Hi jsiegers

I figured as much Sad Still I guess if apps are not reserving space there is nothing Xsan can do.

I know continually defragmenting a Xsan volume is not a good idea, but I don't really see any other options. If I only defrag fragmented files of say over 100 extends, using your script, on say a biweekly basis do you think that is going to do more harm than good?

We're going to free up some more space and rebuild the volume too, but as its only 3 months old now, this problem is obviously going to come back.

Thanks!

Tom.
Back to top
View user's profile Send private message
jsiegers
Could work for Apple
Could work for Apple


Joined: 21 Oct 2008
Posts: 41

PostPosted: Tue Sep 06, 2011 4:24 am    Post subject: Reply with quote

It's normal for volumes to get fragmented over time.
I'd say leave the files with 100 extents at rest.
I always defray files with more than 1000 extents. And look at the files with more than 500 extents to see what would be best.
For example when I know that people are going to work with a file with around 700 extents I'd defrag only that one. So that they could work without a spinning beach ball. But since Xsan 2.2.2 that might not even be necessary anymore.
Back to top
View user's profile Send private message
tomwelch
Been around the blocks
Been around the blocks


Joined: 30 Sep 2009
Posts: 25

PostPosted: Tue Sep 06, 2011 9:40 am    Post subject: Reply with quote

Thanks jsiegers. It's interesting to get someone else's thoughts on the thresholds of extents Smile
Back to top
View user's profile Send private message
lucasnap
Xsan Master
Xsan Master


Joined: 05 Oct 2006
Posts: 107

PostPosted: Wed Sep 07, 2011 4:41 am    Post subject: Reply with quote

Just installed 2.2.2 in a production environment.

The fragmentation problems are less, but not gone. I had (after a big fragmentation test) a hanging Finder with the same symptoms except that the Mac could restart itself after a while (no hard reset needed).

But overall less hangs and less corrupted files.

I'm not convinced that we can go back to the workflow we had in the old days (ingesting/saving large files on the san volume).
Back to top
View user's profile Send private message Visit poster's website
Starbytes
partially protected
partially protected


Joined: 12 Mar 2008
Posts: 6

PostPosted: Tue Jan 31, 2012 6:07 am    Post subject: Reply with quote

Any news on the subject? We are having the same problems with a customer.. Sad
Back to top
View user's profile Send private message
tomwelch
Been around the blocks
Been around the blocks


Joined: 30 Sep 2009
Posts: 25

PostPosted: Tue Jan 31, 2012 6:12 am    Post subject: Reply with quote

Hi Starbytes

We upgraded to 2.2.2 back in September 2011, and we haven't experienced the problems we were having almost daily since. Fingers crossed, that's it.

Hope this helps


Tom
Back to top
View user's profile Send private message
lucasnap
Xsan Master
Xsan Master


Joined: 05 Oct 2006
Posts: 107

PostPosted: Tue Jan 31, 2012 9:27 am    Post subject: Reply with quote

Hi Starbytes,

need some help? Wink

Lucas
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 -> Troubleshooting All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6
Page 6 of 6

 
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.