Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can't write on disk, gives error code -50

I have started seeing this strange problem that sometimes my Macbook Pro can't write anything/delete anything on the hard drive. Even browser can't open new tabs because it probably needs to write some cache on disk. I get the error below. It seems as if hard drive has been blocked for making changes but I could still read stuff on it. The system gets back to normal when restarted. It has been very annoying lately because it happens very randomly. I am running Mountain Lion latest version.

User uploaded file

MacBook Pro, OS X Mountain Lion (10.8.2)

Posted on Jan 23, 2013 5:11 PM

Reply
9 replies

Jan 23, 2013 10:32 PM in response to ziaulhasan

The next time you have the problem, note the exact time: hour, minute, second.


If you have more than one user account, these instructions must be carried out as an administrator.


Launch the Console application in any of the following ways:


☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


☞ Open LaunchPad. Click Utilities, then Console in the icon grid.


Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.


Scroll back in the log to the time you noted above. Select any messages timestamped then. Copy them (command-C) to the Clipboard. Paste (command-V) into a reply to this message.

When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.

Please do not indiscriminately dump thousands of lines from the log into this discussion.


Important: Some private information, such as your name, may appear in the log. Anonymize before posting.


Also, launch the Terminal application in the same way you launched Console. In the Terminal window, type the word "mount" (without the quotes) and press return. Post any lines of output that appear below what you entered.

Jan 23, 2013 10:55 PM in response to ziaulhasan

Do you have the hardware test built in to your computer? That would be my next spot along with what Linc has requested above. The disk utility's hard drive test is pretty crappy, its really just checking the OS, the scan it does on the actual drive is really brief.


If you do have the hardware test, I would try that. It would give you a good idea on the hard drive. Start computer up and immediately hold the D key.


http://support.apple.com/kb/HT1509


Also, how long does it take for this to occur? If fairly quick, you could try a safeboot and see if theres some sort of application thats hanging the OS up. Its a stretch but will give us a good idea of where to go from here.

May 30, 2016 1:47 PM in response to ziaulhasan

I have this problem too. I thought my HDD is broken, because this problem started after my Mac fell from my bed on the floor. I replaced HDD with brand new SSD and reinstalled system copletely (clean copy of OS X El Capitan), problem persists. I reinstalled OS X like 10x, still the same. I ran the disk utility, no problems found. Seems like some HW problem.


Please help.


Thank you.

John

_______________________________________

Macbook Pro 13,3" Mid-2009

4 GB RAM

240 GB Kingston SSD / 750 GB HDD

OS X El Capitan

Can't write on disk, gives error code -50

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.