I am using a Mac Mini (with 2tb of ext disk) as a file server for home. It has several SMB shares. It's quiet, draws little power, and it's backed up to the cloud with BackBlaze. I've been very happy with it, and it has tons of files (movies, office docs, program installs, etc).

I recently began sync'ing my laptop to it, to make sure I have all of those files backed up. I found that I am not able to copy any Powershell scripts (.PS1 files) to the mac from either Windows 7 or Windows XP. I have also seen this error with a few VBscript (.VBS) files - although it doesn't happen on every VBS file.

No matter how I try to copy the file (drag & drop, command line, sync program like robocopy or allsync)), I always get an error similar to "There is not enough space on the disk".

I have verified that there is plenty of free space, permissions are set up correctly. I am able to copy every other type of file (whether it is large or small or other extension- PDF, ZIP, EXE, DOC, XLS, etc, etc, etc)

I have been searching to find a cause; but have thus far come up short.

Has anyone else seen this type of issue?

Thx

link|improve this question
Is there any realime antivirus software in the mix? – Miles Erickson Sep 28 '10 at 14:36
I've replicated the issue on on two different laptops, one with avast running, and the other has Symantec. The Mac has no A/V running – Cybersylum Sep 29 '10 at 12:01
Home gear is off topic, per the faq – MDMarra Feb 26 at 12:53
feedback

closed as off topic by MDMarra, Iain Feb 26 at 13:00

Questions on Server Fault are expected to generally relate to servers, networking, or desktop infrastructure, within the scope defined in the faq.

3 Answers

check the file name. are there any 'suspicious' characters? non-ascii, colon, slashes, spaces at the beginning or end... i've found that name-related rejections are sometimes reported as space errors.

link|improve this answer
That's a good idea. I have filenames all over the map; but some [which still fail] are pretty simple ("cores.ps1" for instance). I wonder if the files are encoded in some way that might be causing issues. Have been using the powershell_ise - and I know that when I open the files in Notepad, they look odd. I will check into that tonite... – Cybersylum Sep 28 '10 at 16:52
If you create a filename like a.ps1 can you copy it from your PC to your mac and then back again? – Scott Warren Sep 29 '10 at 12:54
feedback

Is it possible that some of the files have alternate data streams attached to them? These may or may not be handled by the Mac server, and (as Javier said) the error you get may be misleading. I haven't used it, but Frank Heyne's LADS seems to be the standard tool for detecting alternate streams.

link|improve this answer
thanks! I will give it a try! – Cybersylum Sep 28 '10 at 22:45
Link to a discussion on another forum that also suggests Samba on the Mac may have trouble with ADS: macosx.com/forums/archive/t-298314.html ... good luck! – James Sneeringer Jan 25 at 17:11
feedback

I had the same problem some months ago, but with MP3 files. My Server is Windows 2003 Server and my clients, Windows XP. If I renamed the MP3s to some other extension, they would upload fine. But any file with an .mp3 extension would trigger that memory error. I solved it by unsharing the shared folder on the server, moving all it's contents to another folder, and sharing the new folder. What happened, who knows.

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.