1826215 Members
2886 Online
109691 Solutions
New Discussion

/etc/lp

 
kapra
Advisor

/etc/lp

Hi Gurus,

This morning I got an alert on my HP box complaining that /etc/lp is approaching its size. On checking I found that it has grown to 91% !!
Done dusage and found that /etc/lp/interface directory is taking up most of the space.

Any idea of why this problem could have occurred ?

Thanks in Advance.
- Sumeet
5 REPLIES 5
Arunvijai_4
Honored Contributor

Re: /etc/lp

/etc/lp contains information about your printers connected to servers. Check /var/adm/syslog/syslog.log

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
RAC_1
Honored Contributor

Re: /etc/lp

Do you have seperate FS for /etc/lp??
Generally it would not require a seperate FS.

check what dirs are taking the space.

du -kx /etc/lp | sort -n
There is no substitute to HARDWORK
kapra
Advisor

Re: /etc/lp

Thanks Arjunvijal & RAC for your help.

Arjunvijal - could not find anything in the sylog

RAC - /etc/lp/interface/ directory is taking up most space.

Earlier we had few new printers added to the printer queue. Could it be because of that?
Chan 007
Honored Contributor

Re: /etc/lp

Sumeet,

Normally /etc/lp is part of / file system.

Bit rare to see your config /etc/lp as seperate FS.

You are correct if you create an interface it will generate a file in the interface directory, that would have triggered an alert.

Also check once again that /etc/lp is a seperate FS. If not you have to check as /etc is normally on /.

Cheers ....007
kapra
Advisor

Re: /etc/lp

Thanks Chan for your pointer....

Thanks everyone for their help.

We do have a seperate filesystem for /etc/lp due a special requeirement (we have loads of printers on this particular server).

So I coucluce that the the increase in size was quiet natural due to new printers being added. Need to find some space to extend the logical volume now...

- Sumeet.