Help with "Could not save XXX because of a disk error"

AC
Posted By
Andrew_Certain
Aug 10, 2004
Views
2133
Replies
47
Status
Closed
I am running Photoshop CS on OS-X 10.3. Frequently after Photoshop has been running for a while, when I try to save my files to the main disk (where the files live), I get "Could not save <filename> because of a disk error." If I quit photoshop and restart, the problem goes away for a while. Fortunately, I have a Firewire disk that Photoshop will happily save to, so I don’t lose my work (at least so far), but this is very troubling.

I search the online technical documents, but the only reference to this error is for network or removable disks, and I’m having this problem with the main system disk.

Can anybody help?

Thanks.

Andrew

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

R
Ram
Aug 10, 2004
Andrew,

The error message most likely means what it says; you have disk problems. Provided you don’t have any non-UNIX characters in the name of anything in the path (files, folders, drives), you should check your hard drive. Boot from the install CD and Repair Disk with Apple’s Disk Utility. Then Repair Permissions. You can (and should) repair permissions with Disk Utility while booted from your main drive, but Repair Disk is only available when booted from a different disk, like the CD.

I would also run DiskWarrior.

Try Repairing Permissions (with Apple’s Disk Utility) BEFORE and AFTER any system upgrade as well as BEFORE and AFTER installing any software that uses an installer.

I know it sounds like OS X voodoo, and it is; but it fixes and prevents a bunch of problems.

Additionally, if your machine does not run 24/7 so that it runs the daily, weekly and monthly Cron Scripts in the middle of the night as intended, run Cocktail (shareware) as well.
C
chazcron
Aug 11, 2004
I, too, encountered this issue on my dual 2ghz G5. But it only occured after it stayed on a screensaver over 3 day weekends (for me, that’s every weekend)

I shut down for the weekend now.
CG
Christopher_Gentry
Aug 11, 2004
I have seen this on two different machines. Neither of which have bad hard drives. I have no solution. Just wanted to chime in and state that it has happened to me as well. Never seen this before photoshop CS.
AS
Ann_Shelbourne
Aug 11, 2004
…<< Neither of which have bad hard drives. >>

As far as you know.

But they could be dying. Or you could have a bad internal ribbon cable or a CPU which is going south……

Several possibilities—and all of them likely to be expensive.

Just make sure that ALL of your data is fully backed-up.
J
jonf
Aug 11, 2004
Never seen this before photoshop CS

Ann and Ramon are correct — suspect a problem with your hardware and take appropriate action to protect your data and troubleshoot the source.

But it’s understandably suspicious that the problem only seems to occur in PS. Can any of the experts (who know more than me on that subject) help them understand why a problem like this only occurs in a single application? Can we absolutely rule out the possibility that PS might be damaging the file and reading it as a bad disk?
R
Ram
Aug 11, 2004
Jonf,

It has been discussed ad nauseam here. Photoshop drives the hardware and software to its limits, harder than any other application. Even bad RAM that can survive hours of testing with RAM testing hardware is often unmasked in Photoshop for the first time.

As to your last question, no possibility can or should ever be ruled out.
GB
g_ballard
Aug 11, 2004
I would suspect bad disk just as readily as bad ram, as bad install…

First try pulling the ram
install a new OS and PS to an EMPTY volume
ZeroWriting all HDs…and starting from scratch

<http://www.gballard.net/psd/troubleshootpurgepsd.html>
J
jonf
Aug 11, 2004
Photoshop drives the hardware and software to its limits

I know that’s the reason, but I don’t have the technical background to explain it. Intuitively, if there’s a bad sector on a disk it would seem that it would show up any time any application tried to write to that sector. E.g., a bad floppy disk will give you disk errors no matter what you try to save to it. I’ve never been clear why PS can reveal disk errors that don’t show up even when running other system-intensive software… although I’ll admit that it does. My *guess* is that PS is constrained to save certain data to sequential sectors and sometimes is forced by a combination of virtual memory requirements and remaining available sectors to write to bad sectors, where other software is able to skip those sectors. But I’m probably *way* off on that, so I was hoping an expert could clarify.
R
Ram
Aug 12, 2004
jonf,

The difference between errors on a floppy and a hard drive malfunction, is that the read/write heads of the hard drive could be misbehaving erratically when pushed to the max. I’m not saying this is the expert answer you want, just something to think about other than bad sectors.
NK
Neil_Keller
Aug 12, 2004
I’ve never been clear why PS can reveal disk errors that don’t show up even when running other system-intensive software…

Such as…? Most of us don’t use apps much tougher on a system than Photoshop. Think: extensive use of RAM, scratch discs, CPU processing power, hard drive seeks/read/writes, and everything that holds it all together. Any shortcoming of your system is likely to be revealed with Photoshop.

Neil
J
jonf
Aug 12, 2004
Such as…?

Such as music or video editing software. These can easily be 200 Mb files (and larger) and require huge amounts of RAM and virtual memory space.

And yes, they also result in errors that don’t show up with less demanding software. For some peculiar reason though, it seems like they often appear to be *different* errors than those that show up in PS. Maybe caused by the same hardware problems, but the error messages or symptoms are different enough that it can be tempting to suspect the software first.
B
Buko
Aug 12, 2004
Chris Cox has stated many times that Photoshop is much more demanding than music and video editing software.
P
progress
Aug 12, 2004
we have had 2 g5 motherboards that were screwed pass that both apple’s user hardware tests and the engineer hardware tests supplied by apple.

Quite frankly its pathetic in this day an age for a machine to pass these tests that cant save a PS file properley or cant burn a dvd or whose ram amount varies from slot to slot.

The long and the short of it…apples hardware tests are CRAP! you may as well use divining rods…

check cables, reseat ram, format reinstall…if it still does it throw the POS back to apple.
R
Ram
Aug 12, 2004
apples hardware tests are CRAP!

That sums it up pretty well.

Also, mismatched RAM can also cause problems, even if the individual RAM sticks are fine.
NK
Neil_Keller
Aug 12, 2004
One mistake that many people do is spend thousands on their new computers, and then decide to skimp with bargain, generic RAM. Spend a few (just a few) bucks more and be sure that you get RAM matched to your SPECIFIC Macintosh model, and matched to each other. Be particulary wary of dealers offering "free" RAM upgrades. Unless you know that what they’re giving you is major brand RAM specified for YOUR computer, skip the freebie, and see if they’ll give you another offer, such as a free spindle or two or three of major brand CD or DVD blanks. Or a scanner or printer. You get the idea.

And then buy the good RAM you need elsewhere. If you need sources and brands, we can offer recommendations.

Neil
AC
Andrew_Certain
Aug 12, 2004
Thanks for all the replies, but so far I’m having a hard time buying the explanations. First, if I quit Photoshop and restart, it will happily save to the files it complained about 30 seconds previously. It’s not that I get errors intermittantly (which I could believe was an impending disk failure), but that after PS has been running for a while, it happens consistently. Then if I restart PS, it’s happy to save to that file.

Also, knowing a fair amount about UNIX internals, Photoshop shouldn’t be more demanding when saving a file than any other application. It should just be making a system call that does all the work. It may be that any other application would display this same behavior but that I don’t run most applications for days on end.

My wild-ass guess is that Photoshop keeps the file open the whole time it’s open in Photoshop and then tries to write back to the same file handle. If some cron job has done something to the file, the write might fail. When you restart Photoshop, it forces it to re-open the file, so everything is OK.

I did run fix disk and fix permissions, though, as suggested by the first responder. If I don’t get any more problems, I’ll bow down to the OS-X voodoo gods….

Andrew
CC
Chris_Cox
Aug 12, 2004
Photoshop does not keep the file open.

Photoshop does a safe-save, so it can’t write back to the same file.

If Photoshop says there is a disk error, then there probably IS a disk error.
NK
Neil_Keller
Aug 13, 2004
Try working from and saving to another drive and see if you still get the same error message.

Neil
AC
Andrew_Certain
Aug 13, 2004
If Photoshop says there is a disk error, then there probably IS a disk error.

I’m just having a hard time believing that. It just happened again. Photoshop was running for a long time. I opened a new file, made an edit and tried to save. I got the error. Quit Photoshop; reopened the file; made the edit; saved no problem. How does restarting Photoshop get rid of the disk error? How is it that no other program has trouble saving files?

Andrew
EG
Ed_Gerson
Aug 13, 2004
Goes away when booting and running Norton Utilities defrag and optimize functions.

Often a restart is enough. Occasionally reinstall PS CS, bingo.

These work for me.

Ed
EG
Ed_Gerson
Aug 13, 2004
Clarification: change Preferences > Start Up Disk > Norton Utilities CD

Node B in the directory was the most recent problem.

Once "Fixed" the problem usually goes away until the next time.

Its usually a fragmented directory on my G4 PB.

PS CS is a gorilla.

Thanks – Ed
P
progress
Aug 13, 2004
Andrew…what you describe exactly replicates when one of our motherboards when tits up.

We could save all day long, 0 problems, then one day we got one, a month passed, another, then a week passed, another, then a day would pass, then every hour…the longer we ran PS for, the more we filled up the drive, the more it would corrupt files.

NOT ONE APPLE TEST REVEALED THE PROBLEM ! but as we got it consistantly failing under test conditions it went back.

cable & hardware check, format, reinstall…run…if it still falls over send it back or be prepared to keep losing data and people losing interest because you wont take people’s advice 😉

A fragged drive shouldnt cause disk errors on a good system, it just slows things down.

After having several machines go south in the last decade of using apples and PS, i know that ps’s hardware error messages are 99.99% accurate….from bad scsi connections, bad blocks, loose cables, dicky PSU’s, bad ram, bad mb’s…its picked them all up on an otherwise running fine system
R
Ram
Aug 13, 2004
Andrew,

I’m just having a hard time believing that

Well, you’ll have an even harder time fixing your problems until you go after the HD.
J
jonf
Aug 13, 2004
Quitting and restarting PS can force it to save to a new section of your disk, since as you run PS it’s constantly using HD space for virtual memory. So if there’s a bad sector or block it might show up after running PS for a while, then seem to go away after a re-start.
NK
Neil_Keller
Aug 13, 2004
Andrew —

Once more: Tell us what happens if you save to another drive.

Neil
R
Ram
Aug 13, 2004
Neil,

Andrew seems too busy having a hard time believing us to provide such details. 🙂
J
jonf
Aug 13, 2004
It’s a natural tendency to disbelieve the solution that’s likely to cost you the most money and create the biggest bother. It may be worth exploring other possibilities, but when important data is at stake ultimately the cheapest solution is the one that actually fixes the problem before disaster strikes.
P
progress
Aug 13, 2004
its generally a PIA when hardware goes south…if its your first time, then its a real PIA, especially when the paperwork needs to be found.

Apple need to get on board with on site warranties that dont affect the price a la dell.
HT
harry_teasley
Aug 14, 2004
I get this error infrequently, but I get it as well. It happens in Windows, too. My guess is that something happens to PS’s disk cache, because it usually happens when PS has been open for a very long time (like days).
NK
Neil_Keller
Aug 14, 2004
harry,

Your experience tells us little as you’ve told us nothing about your OS, software versions, system environment, etc., etc.

[…days…?]

Neil
B
Buko
Aug 14, 2004
I let Photoshop run for weeks at a time and I’ve never had this problem.
R
Ram
Aug 14, 2004
Never had the problem either; not even on the old Frankenmac.
HT
harry_teasley
Aug 14, 2004
Neil. I wasn’t asking for anyone to solve my problem, so I didn’t see the need to post specs. I run Panther on a dual-G5 with 2gig RAM, no haxies or other non-Apple OS goodies, and on a 1.25 G4 iMac with 1gig, and on a Dell P4 3.0 with 2gig RAM and XP Pro. I get this bug most freqently on the iMac, but the frequency is very, very low, perhaps once every other month.

With Windows, the error comes up as "Photoshop could not save the file because an error occurred." It happens only after a long time of PS being open, days or weeks, with screensavers and such having been on and off, and other apps opened and closed. It hasn’t been a bother to me all that much, but I would say that all the "your computer is dying", "it’s bad hardware", or "you don’t do enough system maintenance" sorts of responses are a bit too self-assured. Given other apps that don’t lose the ability to save files even when open for days or weeks, and given that PS is one of the few apps that maintains its own virtual memory instead of having the OS handle it, and given the sort of disk activity that constantly occurs, especially under OS X, then I don’t see much controversial about the idea that common circumstance can cause this error, and it not being the fault of hardware operating outside of spec, or the user. There’s nothing particularly stunning about a bug that manifests once in tens of thousands of hours of use: don’t feel like anyone’s attacking PS over it.
AS
Ann_Shelbourne
Aug 14, 2004
I have definitely seen this.

Last Fall, my HD died.
Then it’s replacement died.
Then the replacement’s replacement died.

So I gave up and bought a new G5.

I suspect that your road is probably leading in the same direction….

[I haven’t had the problem on the new machine but I do shut-down every night and I do run Cocktail regularly too.]
P
progress
Aug 14, 2004
harry, chill…no-one’s getting on your back, we’re offering advice based on probably at least 50 years experience of PS here.

Like several have said, PS hammers machines (or can) to quite some degree, AE does as well…in fact quite a few apps can really drive a system bloody hard. PS is by no means the only app to have its own VM system, that hammers drives or sometimes has a spaz fit after being open for a while.

I suspect you may have some hardware problem, could be a bad block, could be a fridge on your wiring circuit spiking your power supply, could be voodoo on a small island in the middle of the atlantic causing static…but there’s 1000’s of users going through here and if it was PS banging out errors like that i think this thread would be just a weeny bit bigger. 10’s of 1000’s of hours is nothing in what PS’s hours are across the world every week.

PS is a wet dream compared to some of the raggedy stuff that tries to pass itself off as applications i use (and cheaper!)

My suggestion, ignore what you like, dont run PS for days…problem solved. 🙂

Or when you have 1/2 day, check everythings still in one piece, nuke the disk from orbit…reinstall…see if it comes back. If it does, see how many more people have complained about it here and make your own mind up.
HT
harry_teasley
Aug 14, 2004
I have over a decade of professional PS experience myself, thanks for asking. I don’t often run PS for days, but sometimes it happens: left on over the weekend, or whatever. I have no idea if people often leave images open in PS for days, but your supposition that the hours of PS use around the world are a counter argument isn’t really germane unless you have an idea of how many of those users leave PS open for extremely long periods. If the majority of folks shut down PS at the end of the day, then they aren’t really testing PS for the presence of a bug that manifests in that fashion.

But I’m not bent out of shape about this: I was merely pointing out that several other posters have experienced this problem, and the advice coming from many here is very extreme. Fresh OS install after zero-writing a hard drive? Sending them off on the "you can’t prove a negative proposition" RAM exchange? That there’s very likely one of several expensive problems as the cause?

At least three other posters have said they observe this behavior, one remarking that it happens on two different systems, and I’ve seen it on three, with both Windows and OS X. I run Maya on the same G5 and Dell machines that I run PS on, and Maya never has a problem saving a file: my instincts tell me Maya is harder on a system than PS.

I’m just saying: sufficiently complicated software has bugs. More than one person experiences this problem with PS. I would not be surprised to find that the problem lay with the software. That’s all.
GB
g_ballard
Aug 15, 2004
I was merely pointing out that several other posters have experienced
this problem, and the advice coming from many here is very extreme.

I’ve seen Disk Errors myself and have had bad hard drives, bad cables, bad installs, bad firmware, and bad ram.
Resetting the logic board has also fixed similar flaky disk behavior…

My experience – with pointing to software (bugs) – is that we would see dozens, hundreds or thousands of people here with the same problem – so I would be surprised if the problem was OS/Photoshop.

Sorry for your problem, but you have a hard nut to crack…after the normal stuff: <http://www.gballard.net/psd/troubleshootpurgepsd.html>

I would proceed with the extreme:
<http://www.gballard.net/macrant/meltdown.html>
P
progress
Aug 15, 2004
I run stuff like Max and Maya as well on pc’s…maya’s processor intensive, but it doesn’t push ram and inevitably hardrives anywhere near as PS does day after day. In fact Maya tends to get a bit fluffy around the high ram marks as well, but you can get under the bonnet an sort that. But AFAIK maya doesn’t talk to drives in the way that PS does.

Back in the old scsi days with async plugins etc it was PS that threw up hardware errors, but then they were hardware errors not just bad programming, every hardware error i have has been the same. I had a machine that would only error on PS files once in a blue moon…but after changing the ram, the mb, the drive, the case! the processor…nothing changed…until the PSU was changed and it went away permanently. Thats extreme yes, but the PSU wasnt giving up enough power to the drive when the machine was under load (not necessarily hot)..the tests didnt find it because the tests didnt put the machine under load like PS was.

Now lots of people experienced the "your file hass be corrupted" blah blah, but I actually went to the lengths to nail the thing. I’ve seen the error on different machines as well, and different things caused it.
TH
tom_holland
Aug 16, 2004
Same thing Here, I have a New Powerbook, 1.5 gig cpu and two gigs of ram. Everything is fine if I don’t stress the system….like work on one image at a time.

Butttt……

If for example, I open 12 images that are 50 or 60 megs, for comparison and evaluation, I find that dragging the lasoo tool becomes slow but I also find that I can only save to my external firewire drive, because saving to the Powerbook HD comes up with a message….can’t save because of disc error.

My powerbook is less than two weeks old, Am I just asking to much of it, or do I need to get a replacement??
NK
Neil_Keller
Aug 16, 2004
tom,

Your post is off-topic for the current discussion. For greater reader response, you should have started a new topic. Thanks.

Neil
R
Ram
Aug 16, 2004
Neil,

Actually, Tom’s problem is the very issue described in the title of the original post:

tom holland writes: I can only save to my external firewire drive, because saving to the Powerbook HD comes up with a message….can’t save because of disc error.

🙂
AC
Andrew_Certain
Aug 22, 2004
Sorry for being so silent for a while; I was on vacation. I may not have 50 years of experience with PS, but I do have about 20 years of experience writing software for computers, from microcode to applications. I understand that hardware can fail and fail in strange ways, but Occam’s Razor says the simplest solution is usually correct. It seems to me much more likely that there is a bug in PS than that no other application or diagnostic finds an error with any hardware, but PS does. I’m not saying it’s impossible, but it doesn’t seem the most likely.

Let me again recap the symptoms:

– If Photoshop is open for a long time, it refuses to save to the main HD, with the error "Could not save <filename> because of a disk error."
– It does not matter if the file in question has been open a long time or recently opened. – If I try to save to another drive, it works fine.
– No files are ever corrupted.

For those of you that insist it’s a hardware problem, what should I do? If no diagnostic shows an issue, I can’t get any warranty support, right? Are you suggesting that I should pay to start swaping components and see if this problem goes away? That’s just too radical a solution. I’ll certainly keep running diagnostics, but until I have proof, it’s just much more believable that PS has a bug.

I’m not totally ingoring your advice. I’m super paranoid about losing data. All my unrecoverable data is backup up regularly (and even rotated off site weekly). I even store the MD5 hash of each file and check it weekly, so that I can detect bad sectors and other subtle failures. None of the files has even been found to be corrupted.

I’ve gotten part of what I wanted out of this exchange, which is that other people see the same thing. Since there’s an easy work-around: save to the other disk then re-start PS, I guess I’ll just ignore it for now. Re-installing the OS is no easier now that if the disk fails catastrophically, and since I don’t believe that will get rid of the problem, I’ll choose to make that investment only when it becomes clear that it is necessary.

If my hard drive does indeed fail soon, I’ll be happy to eat crow here.

Andrew

PS to Tom Holland: I doubt that you’d be able to get Apple to believe it’s a hardware problem, but if you do, please let me know.
P
progress
Aug 22, 2004
Andrew…if your feeling adventurous…swap the drives…copy everything from one to the other and vice versa…if it gives the error on the new drive but saves to the old then that would indicate a bug/error…if it still wont save on the old, then that would indicate a HW fault to me.

No-one is saying PS is bug proof, what we’re saying is that thoughout everyones experience here, when PS complains of a hardware error or a file system error it seems to have spoken the truth in every case.

Perhaps this is a new bug, only if someone that has it tests it will we find out.
P
progress
Aug 22, 2004
Not being daft, but your HD’s aren’t set to sleep/power down are they?
AC
Andrew_Certain
Aug 22, 2004
Not being daft, but your HD’s aren’t set to sleep/power down are they?

Well, in fact, they are. I unchecked that option and will let everybody know if that’s the problem.

Andrew
TH
tom_holland
Aug 22, 2004
I did an archive and install and then reinstalled photoshop and have not had any problems after lots of PS use…..So far so good.
P
progress
Aug 23, 2004
Andrew,

Ah, that may make sense…

This is what i think is happening:

PS and the machine are open for a while, perhaps doing nothing…then you tell it to save, but the disks have gone for a snooze…PS cant save to the 1st disk because its still waking up so it throws up an error, but by the time you baulk at the error and save to another disk the other disk has woken up.

This may tie in with the laptop problem as well because laptops tend to have more agressive sleep times especially when running off the battery (this is true on PC laptops, i expect Mac laptops may be the same)

Let us know what happens 🙂

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

Related Discussion Topics

Nice and short text about related topics in discussion sections