|
|
#1 |
|
Prospect
Join Date: Jun 2003
Posts: 5
|
OS X thinks Disk Full - ?
I'm hoping this is an easy one. Out of the blue on a restart from Classic, OS X seems to think my disk is full. I cannot copy files and apps that write a file on startup all 'unexpectedly quit'. I have plenty of free disk space and have tried logging in as a different user - no luck.
Any ideas? Thanks. |
|
|
|
|
|
#2 |
|
Triple-A Player
Join Date: May 2003
Location: PA
Posts: 91
|
Are you possibly out of inodes? Do a "df -i" and look at iused and ifree. This is hopefully not the case since you should have millions of inodes (depending on the size of your disk), but it's wortht a check...
- G!mpy |
|
|
|
|
|
#3 | |||||||||||||||||||
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
|
Before getting to the original poster's problem, I'd like to note that 'df -i' does not do what you think it does. Inodes as they are usually understood in traditional UNIX filesystems do not exist in HFS+ (OS X's default filesystem). See my posting titled "'df -i' output understood" on this thread: http://forums.macosxhints.com/showth...threadid=11940 Now back to the problem. The use of the 'df' command (without the -i) would indeed give us more info. Please copy and paste back here the results of executing the following command in Terminal: df / It might also be a good idea to startup in single-user mode (hold Command + S while restarting) and type 'fsck' at the prompt. Repeat until it says the disk appears to be okay and then type 'reboot'. This checks your disk for problems and fixes them just as Disk Utility does. |
|||||||||||||||||||
|
|
|
|
|
#4 |
|
Prospect
Join Date: Jun 2003
Posts: 5
|
ok - I solved the problem. I checked the inodes and whatnot. df / reported that I had no available space. I actualy had about 200 megs. I dumped another 400 megs of stuff and now everything is fine - df / reports available space. This does not make much sense to me but at least I can launch my apps again.
Thanks for the help. |
|
|
|
|
|
#5 | |||||||||||||||||||
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
|
10% buffer
How did you determine that you had 200 MB free disk space? I guess you are calculating this from the total size of the disk and the amount you have used. But it is not possible to use 100% of a disk's capacity as explained below. Note that 'df' subtracts off a 10% buffer zone before reporting "available" space. E.g. if your disk holds 100 GB, and you have used 90 GB, 'df' will report zero space available. I believe the kernel does not let normal (non-root) users use up more than 90% of the disk. This is a safety measure as the OS needs considerable disk space for its own operations and if the disk were to actually get too full, it would be unrecoverable. So 'df' is just reporting what is truely available for your use. Beyond the safety issue, disks get increasingly slow as they get filled up. It is unwise to use more than 90% of the disk in OS 9 as well. But I guess the OS 9 system does not prevent you from doing that. |
|||||||||||||||||||
|
|
|
|
|
#6 |
|
League Commissioner
Join Date: Jan 2002
Posts: 5,536
|
uh, you might want to reconsider your "everything's okay" position.
you are definitely on the precipice of more problems. one should try to keep about 10-20% free space on one's boot partition. breathing room for this OS that is alive until it runs out of, er, breathing room. then all sorts of nasty, monstrous things can happen. of course, 10-20% of 6GB and 60GB is a wide gap, but obviously, 200MB free begins to approach failure. [edit: what hayne said. thanx, hayne! -mt] Last edited by mervTormel; 06-25-2003 at 05:50 PM. |
|
|
|
|
|
#7 |
|
All Star
Join Date: Feb 2002
Location: peteyville
Posts: 794
|
from what i understand...
#1 using an HFS+ partition under any OS with less than 15% free space runs the risk of unrecoverable file system damage. #2 on a totally different subject, OS X generates swap files. the "Disk Full" message is about the OS worrying it won't have room to write more swap. you can fill a non-boot partition more than 99% full without getting "Disk Full" errors. Last edited by petey; 06-25-2003 at 06:05 PM. |
|
|
|
|
|
#8 |
|
Prospect
Join Date: Jun 2003
Posts: 5
|
wow - I had no idea of any of this. I guess it is time for some summer cleaning...
|
|
|
|
|
|
#9 | |||||||||||||||||||
|
All Star
Join Date: Feb 2002
Location: peteyville
Posts: 794
|
i'd say you should keep 10-20% free, PLUS whatever room is taken up by swap at peak usage. |
|||||||||||||||||||
|
|
|
|
|
#10 |
|
MVP
Join Date: Apr 2002
Location: UK
Posts: 1,212
|
It's also worth bearing in mind that the OS X virtual memory system generates swap files which are 76.2MB in size, ... each! My machine has been up for just over two days and I currently have three; i.e. 228.6MB. On occasions, when I've been doing a lot of memory intensive tasks, this has jumped to around 15 to 20 swapfiles; i.e. around 1GB to 1.5GB. In other words, 600MB is hardly any free space at all and 200MB is a miniscule amount - both are, as Merv and hayne indicate, dangerously low amounts. If possible you should seriously consider either replacing your drive or backing some stuff up and deleting it from your drive.
__________________
chromasia G4/800, OS 10.3.x, 1.25GB RAM, 2x80GB HD, 60GB firewire, Geforce4MX, Iiyama VMpro 455+413 Goldtouch keyboard, Cirque EasyCat trackpad, D-Link DSL-604+ |
|
|
|
|
|
#11 | |||||||||||||||||||
|
League Commissioner
Join Date: Jan 2002
Posts: 5,536
|
implied ![]() but, as i said, a percentage of a large partition is larger than said percentage of a smaller partition. so, the percentage is just a rule of thumb, and true mgt of the issue comes in knowing the characteristics of one's work habits and monitoring RAM and disk space and other metrics while doing heavy lifting. in fact, it also requires knowing when you're doing heavy lifting. use some kind of monitor on the desktop and get into the habit of eyeballing it while you work so you can get a feel for these metrics and the operations that trigger them. |
|||||||||||||||||||
|
|
|
|
|
#12 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
|
humorous note
I get email notifications about additions to this thread and I have Entourage set up to use a text-to-speech AppleScript to announce the sender & subject of incoming email messages when Entourage is in the background.
I have been reading other postings and coming back to this thread to read activity here. Meanwhile I've noted that Entourage has vocally reported messages about "OS X thinks this cool". I didn't remember a thread of that title and went back to the forums "show new" page and didn't see anything there. It took me a minute before I realized that the vocal announcement were referring to this thread! |
|
|
|
|
|
#13 | |||||||||||||||||||
|
MVP
Join Date: Apr 2002
Location: UK
Posts: 1,212
|
I'd vote for iPulse which gives good visual feedback on RAM usage and page-in/outs (amongst other things).
__________________
chromasia G4/800, OS 10.3.x, 1.25GB RAM, 2x80GB HD, 60GB firewire, Geforce4MX, Iiyama VMpro 455+413 Goldtouch keyboard, Cirque EasyCat trackpad, D-Link DSL-604+ |
|||||||||||||||||||
|
|
|
|
|
#14 | |||||||||||||||||||
|
MVP
Join Date: Apr 2002
Location: UK
Posts: 1,212
|
Re: humorous note
Hi hayne, could I snag a copy of your script?
__________________
chromasia G4/800, OS 10.3.x, 1.25GB RAM, 2x80GB HD, 60GB firewire, Geforce4MX, Iiyama VMpro 455+413 Goldtouch keyboard, Cirque EasyCat trackpad, D-Link DSL-604+ |
|||||||||||||||||||
|
|
|
|
|
#15 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
|
(off topic) AppleScript to announce email messages
As requested, here is my AppleScript for Entourage that announces new email messages:
Code:
tell application "Entourage" if frontmost then return -- don't announce if Entourage is frontmost set selectedMessages to current messages repeat with theMessage in selectedMessages set theSender to the display name of sender of theMessage set theSubject to subject of theMessage say "new message from '" & theSender & "'" say "Subject: " & theSubject end repeat end tell |
|
|
|
|
|
#16 | |||||||||||||||||||
|
MVP
Join Date: Apr 2002
Location: UK
Posts: 1,212
|
Re: (off topic) AppleScript to announce email messages
Thank you.
__________________
chromasia G4/800, OS 10.3.x, 1.25GB RAM, 2x80GB HD, 60GB firewire, Geforce4MX, Iiyama VMpro 455+413 Goldtouch keyboard, Cirque EasyCat trackpad, D-Link DSL-604+ |
|||||||||||||||||||
|
|
|
|
|
#17 | |||||||||||||||||||
|
League Commissioner
Join Date: Jan 2002
Posts: 5,536
|
iPulse was to modern and blinky/flashy/busy for me. i use Flame, over top of Memory Monitor, over top of Load Monitor in a 128x128 stamp in the bottom right corner, translucent so the metrics shine thru. it's been a real handy and delightful meter that catches yer eye when the rig starts to grunt. they've been NSUIelement'd to 1 so they take no dock slots
|
|||||||||||||||||||
|
|
|
|
|
#18 | |||||||||||||||||||
|
MVP
Join Date: Apr 2002
Location: UK
Posts: 1,212
|
Thanks for those Merv. Incidentally, the site for Load Monitor seems to have dissapeared.
__________________
chromasia G4/800, OS 10.3.x, 1.25GB RAM, 2x80GB HD, 60GB firewire, Geforce4MX, Iiyama VMpro 455+413 Goldtouch keyboard, Cirque EasyCat trackpad, D-Link DSL-604+ |
|||||||||||||||||||
|
|
|
|
|
#19 |
|
League Commissioner
Join Date: Jan 2002
Posts: 5,536
|
flame, too.
if you want them, i'll zip 'em up and post them. |
|
|
|
|
|
#20 |
|
MVP
Join Date: Apr 2002
Location: UK
Posts: 1,212
|
I managed to get Flame from here (a few minutes ago):
http://www.matthewdrayton.com/flame/index.html ... but I would like to try Load Monitor if you don't mind posting it.
__________________
chromasia G4/800, OS 10.3.x, 1.25GB RAM, 2x80GB HD, 60GB firewire, Geforce4MX, Iiyama VMpro 455+413 Goldtouch keyboard, Cirque EasyCat trackpad, D-Link DSL-604+ |
|
|
|
![]() |
|
|