SUMMARY[2]:Print and spool partition fills up..

From: G. Dimitoglou (
Date: Thu Sep 02 1999 - 15:44:58 CDT

Hi -
Thanks to all from the "second batch" that responded to my query. The
solutions are all valid. For our case I will symlink the spool area to
an emptier filesystem...


"Balfour, Scott (Eurosoft)" <>
"Gowda, Sanjay" <>
gabriel rosenkoetter <> (Kevin Sheehan {Consulting Poster Child})
Edwards Philip M Ctr AFRL/SNRR <>
Matt Reynolds <>
Anderson de Oliveira <>

I usually put /var on its own partition.This saves me some headaches that
root filling up causes.You might want
to point that users spool to /tmp.

"Gowda, Sanjay" <>
IF you have any any other filesystems or disks mounted
on your system, have you thought about linking /var/spool
directory to a directory on another partition other than /

Hope that helps.

- Sanjay

PS: Just a suggestion. A good practice is to keep the
/var and /tmp partition separate because these are the
directories to which users and programs write to and hence
tend to fill up. Like I said, it is just a suggestion and
since I have been burnt with the above problem that is what
I have been doing ever since :-)

gabriel rosenkoetter <>

Keeping /var on the same partition as / is a generally bad idea on a
system with a lot of users.

Logs go there too, lots of stuff that can fill up in a hurry.

You *could* implement quotas for /var/spool/print, I suppose... but
having it on a partition away from the vital stuff on / is probably a
better idea. (Kevin Sheehan {Consulting Poster Child})


Edwards Philip M Ctr AFRL/SNRR <>

What is the user using to perform the printing? Recent versions of Solaris
(using the lp subsystem) by default create symlinks to the target files,
instead of copying them, for precisely this reason.

Other printing commands take an argument to specify symlinks; I believe lpr
takes a -s option.

Matt Reynolds <>
Yes -
Find a mounted disk with alot of space (more than sufficient for this job
and others), then do the following (as root):
1. /etc/init.d/lp stop (stop the lp spooler and scheduler)
2. cd /var
3. tar cvf /tmp/l ./spool (create a tar file of the spool directory)
4. cd /<big file system> (change to the big file system directory)
5. tar xvf /tmp/l (untar the spool directory)
6. cd /var
7. rm -r spool (remove the old spool directory)
8. ln -s /<big file system>/spool (link the new directory into /var)
9. /etc/init.d/lp start (restart spooler)

This should do it.

Anderson de Oliveira <>
You can create a link to another spool area but, if the user is using
lpr, he can try "lpr -s -P<printer> <file>". This command doesn't
copy the huge file into the spool area, but just makes a symbolic
link. It works.

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:25 CDT