HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increasing /var/spool/lp
Operating System - HP-UX
1833799
Members
3339
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2007 03:32 PM
06-17-2007 03:32 PM
Hi All,
last Friday, I had a problem in our Billing Server where we were not able to login to the server. All communication to that server was stopped including database connection. We had to restart the server and then it was OK again.
Before that I wanted to mount a 4GB lun to /var/spool/lp directory. I renamed the directory and then after sometime no activity was possible in the server including login. I am not sure whether the problem occurred because of renaming the /var/spool/lp directory or not. But it should not happen as /var/spool/lp directory is only used for storing printing related files.
Another problem is that /var becomes full sometimes while our bill printing is going on. It happens because the printing requests are queued in /var/spool/lp folder. So I want to mount 4GB lun to /var/spool/lp. Is it possible?
Please help.
Best regards,
Rana
last Friday, I had a problem in our Billing Server where we were not able to login to the server. All communication to that server was stopped including database connection. We had to restart the server and then it was OK again.
Before that I wanted to mount a 4GB lun to /var/spool/lp directory. I renamed the directory and then after sometime no activity was possible in the server including login. I am not sure whether the problem occurred because of renaming the /var/spool/lp directory or not. But it should not happen as /var/spool/lp directory is only used for storing printing related files.
Another problem is that /var becomes full sometimes while our bill printing is going on. It happens because the printing requests are queued in /var/spool/lp folder. So I want to mount 4GB lun to /var/spool/lp. Is it possible?
Please help.
Best regards,
Rana
Walker_dhk
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2007 08:28 PM
06-17-2007 08:28 PM
Solution
Hi Rana
Its actually very easy to do this.
Firstly create the new logical volume with the following command
lvcreate -L 4096 vg00 (assuming vg00)
mkfs -F vxfs -o largefiles /dev/vg00/rlvolYY
Thereafter stop the scheduler with lpshut. I would also as a precaution stop any apps that will try to print at them time or set all your printers to reject new jobs.
then run:
mkdir -p /tmp/spool/lp
mount /dev/vg00/lvolYY /tmp/spool/lp
mv /var/spool/lp/* /tmp/spool/lp/
umount /tmp/spool/lp
Add an entry for /var/spool/lp into the /etc/fstab file
mount /var/spool/lp
then restart the scheduler with lpsched.
If you changed all the printers to reject then change them to accept requests again.
HTH
Andrew Y
Its actually very easy to do this.
Firstly create the new logical volume with the following command
lvcreate -L 4096 vg00 (assuming vg00)
mkfs -F vxfs -o largefiles /dev/vg00/rlvolYY
Thereafter stop the scheduler with lpshut. I would also as a precaution stop any apps that will try to print at them time or set all your printers to reject new jobs.
then run:
mkdir -p /tmp/spool/lp
mount /dev/vg00/lvolYY /tmp/spool/lp
mv /var/spool/lp/* /tmp/spool/lp/
umount /tmp/spool/lp
Add an entry for /var/spool/lp into the /etc/fstab file
mount /var/spool/lp
then restart the scheduler with lpsched.
If you changed all the printers to reject then change them to accept requests again.
HTH
Andrew Y
Si hoc legere scis, nimis eruditionis habes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2007 11:20 PM
06-22-2007 11:20 PM
Re: Increasing /var/spool/lp
Its ok.
Walker_dhk
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP