Disk Full problems

Apple products and Mac operating systems. Including discussions on Virtual PC for Mac, Parallels Desktop for Mac, all Apple hardware and everything relating to Mac!
(MacCentre701)

Moderator: Mandrake

Disk Full Problems

Postby trevor2005 » Mon 06 Mar, 2006 10:45 am

Antony

Tried
sudo ls -al /private/var/spool/cups/tmp | sort +4n

Result (last 20 lines)
-rwxrwx--T 1 root lp 120324824 3 Oct 11:34 4341091eb6f73
-rwxrwx--T 1 root lp 132069719 5 Dec 17:00 439471f7c20e1
-rwxrwx--T 1 root lp 139868880 5 Dec 16:43 43946df7ddf55
-rwxrwx--T 1 root lp 147135462 14 Feb 17:47 43f2177b950b6
-rwxrwx--T 1 root lp 149068872 7 Feb 15:44 43e8c0268d99e
-rwxrwx--T 1 root lp 149356999 8 Feb 20:40 43ea56f8e5164
-rwxrwx--T 1 root lp 158063822 14 Feb 16:36 43f206abe85e0
-rwxrwx--T 1 root lp 158593862 27 Sep 17:31 433973990d21c
-rwxrwx--T 1 root lp 164852215 14 Feb 14:13 43f1e542b4de8
-rwxrwx--T 1 root lp 236037595 11 Feb 12:52 43edddcb78871
-rwxrwx--T 1 root lp 274519601 10 Feb 13:21 43ec92f102b68
-rwxrwx--T 1 root lp 349489079 14 Feb 18:39 43f2237dcafe7
-rwxrwx--T 1 root lp 349489079 14 Feb 21:22 43f2497c34d0d
-rwxrwx--T 1 root lp 349489079 14 Feb 22:23 43f257ddae29f
-rwxrwx--T 1 root lp 542133732 14 Feb 17:18 43f20f9459bc3
-rwxrwx--T 1 root lp 542133748 15 Feb 13:32 43f32c5625b27
-rwxrwx--T 1 root lp 578193584 11 Oct 16:02 434bd29aa9305
-rwxrwx--T 1 root lp 593536225 2 Oct 23:28 43405d384a4f5
-rwxrwx--T 1 root lp 1133935324 27 Sep 21:56 4339ae7f4bea8
-rwxrwx--T 1 root lp 1585566056 27 Sep 19:02 4339855da3b37

Trevor
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
trevor2005
senior member
senior member
 
Posts: 83
Joined: Sun 22 May, 2005 12:38 pm

Postby Antony » Mon 06 Mar, 2006 11:11 am

Try
Code: Select all
sudo rm /private/var/spool/cups/tmp/4339855da3b37

Then,
Code: Select all
sudo ls -l /private/var/spool/cups/tmp/4339855da3b37

and tell me what happens, I want to see if you can remove sticky file without changing the mode (permission).
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.8
User avatar
Antony
diamond member
diamond member
 
Posts: 14509
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Disk Full Problems

Postby trevor2005 » Mon 06 Mar, 2006 11:15 am

Antony

Tried
sudo rm /private/var/spool/cups/tmp/4339855da3b37
Result
(nothing just my computer name)

Tried
sudo ls -l /private/var/spool/cups/tmp/4339855da3b37
Result
No such file or directory

Trevor
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
trevor2005
senior member
senior member
 
Posts: 83
Joined: Sun 22 May, 2005 12:38 pm

Re: Disk Full Problems

Postby Antony » Mon 06 Mar, 2006 7:14 pm

Now, there must be some files that giving you problem to use * (wildcard) for deleting.

The partial fix now is to
Code: Select all
sudo rm /private/var/spool/cups/tmp/4339ae7f4bea8
sudo rm /private/var/spool/cups/tmp/43405d384a4f5
sudo rm /private/var/spool/cups/tmp/434bd29aa9305
sudo rm /private/var/spool/cups/tmp/43f32c5625b27
sudo rm /private/var/spool/cups/tmp/43f20f9459bc3
sudo rm /private/var/spool/cups/tmp/43f257ddae29f
sudo rm /private/var/spool/cups/tmp/43f2497c34d0d
sudo rm /private/var/spool/cups/tmp/43f2237dcafe7
sudo rm /private/var/spool/cups/tmp/43ec92f102b68
sudo rm /private/var/spool/cups/tmp/43edddcb78871
sudo rm /private/var/spool/cups/tmp/43f1e542b4de8
sudo rm /private/var/spool/cups/tmp/433973990d21c
sudo rm /private/var/spool/cups/tmp/43f206abe85e0
sudo rm /private/var/spool/cups/tmp/43ea56f8e5164
sudo rm /private/var/spool/cups/tmp/43e8c0268d99e
sudo rm /private/var/spool/cups/tmp/43f2177b950b6
sudo rm /private/var/spool/cups/tmp/43946df7ddf55
sudo rm /private/var/spool/cups/tmp/439471f7c20e1
sudo rm /private/var/spool/cups/tmp/4341091eb6f73


That should save you about 7.5GB of space.
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.8
User avatar
Antony
diamond member
diamond member
 
Posts: 14509
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Disk Full Problems

Postby trevor2005 » Tue 07 Mar, 2006 5:02 am

Antony

IT WORKED, BRILLIANT!

You are a star–I am so happy (you should have a pay rise).

You were correct, I saved about 7.5GB Terminal still indicates there is almost 4GB still retained.

Can I ask what is causing my computer to do this? It feels like I am treating the effects of a problem rather than dealing with the problem itself.

Thanks again, I really do appreciate all your help.

Trevor
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
trevor2005
senior member
senior member
 
Posts: 83
Joined: Sun 22 May, 2005 12:38 pm

Re: Disk Full Problems

Postby Antony » Tue 07 Mar, 2006 7:52 am

trevor2005 wrote:Can I ask what is causing my computer to do this? It feels like I am treating the effects of a problem rather than dealing with the problem itself.
One (or more) of your software did not delete the temporary files after using it.

However, one of more files/folders or any special types of files in that folder has some strange settings, and cannot be deleted by [tt]*[/tt].
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.8
User avatar
Antony
diamond member
diamond member
 
Posts: 14509
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Disk Full Problems

Postby trevor2005 » Tue 07 Mar, 2006 8:09 am

Antony

I really do appreciate your helpand I am sorry I was a bit of a pain in all this, I just got so frustrated.

Had a thought.

Can I use the code
sudo ls -al /private/var/spool/cups/tmp | sort +4n
and then take from the list of lines it displays the last part and use it with the code
sudo rm /private/var/spool/cups/tmp/434138ea9c219
to delete the files?

For example
Use this code to display the list of files in Terminal
sudo ls -al /private/var/spool/cups/tmp | sort +4n

Result (example)
-rwxrwx--T 1 root lp 120280026 3 Oct 14:58 434138ea9c219

Take the last part
434138ea9c219

Use it in this code to delate the files
sudo rm /private/var/spool/cups/tmp/434138ea9c219

Can I do this with all the lines Terminal lists and safely delete the files and gain back the GB or will I do any damage?

Trevor
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
trevor2005
senior member
senior member
 
Posts: 83
Joined: Sun 22 May, 2005 12:38 pm

Re: Disk Full Problems

Postby Antony » Tue 07 Mar, 2006 8:41 am

trevor2005 wrote:Can I do this with all the lines Terminal lists and safely delete the files and gain back the GB or will I do any damage?
You can do that, but that would be a waste of time. If you really want to do that, starting with the last line (since the command I gave you sort by the filesize.)

However, it's very painful to do that manually, you will need a script to do it or figure out why you can't use [tt]*[/tt].
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.8
User avatar
Antony
diamond member
diamond member
 
Posts: 14509
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Disk Full Problem

Postby trevor2005 » Thu 09 Mar, 2006 4:45 pm

Antony

Thought you might be interested to know, I contacted the company that supplies my printer RIP software iProof Power RIP X to see if they knew why my printer was keeping print files.

This is their reply:

Hello Trevor,

It is not us doing this it is CUPS.
CUPS stands for Common Unix Printing System. It does thos on some users Macs, not all. Apple and CUPS are doing this not us. Upgrade your Mac to a newer OSX version other than 10.2 or 10.3 thsi might help. Get the latest version of PowerRIP X anyway as 7.14 is old. There is shareware out there for OSX 10.2, 10.3 and 10.4 from www.fixamac.net This will allow you to remove all printer queus and printers. The only issue is after they are gone you must re-add them in the Printer Setup Utility. No need to reactivate PowerRIP.

Ted


Trevor
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
trevor2005
senior member
senior member
 
Posts: 83
Joined: Sun 22 May, 2005 12:38 pm

Previous

Return to Mac OS and Apple

Who is online

Registered users: Google [Bot]