Thread View: news.software.nntp
1 messages
1 total messages
Started by Sven-Ingvar Jonsson
Wed, 18 Nov 1998 00:00
history file on another file system
Author: Sven-Ingvar Jonsson
Date: Wed, 18 Nov 1998 00:00
Date: Wed, 18 Nov 1998 00:00
39 lines
2010 bytes
2010 bytes
We are using INN 1.5.1 and have problem with disk space for the history
files. So I we tried to move the history files to another file system and
make symbolic links from /usr/local/news
We read in a README file that we have to define:
EXPDIR="/the/new/directory"
in news.daily and this works, but only for _one_ run of news.daily,
after that the expired history files are back in /usr/local/news !
We then modified the three "mv" commands after the "Actual expire"
paragraph in news.daily:
mv -f ${HISTORY} ${HISTORY}.old
mv -f ${HISTORY}.dir ${HISTORY}.dir.old
mv -f ${HISTORY}.pag ${HISTORY}.pag.old
mv -f ${EXPDIR}/history.n ${EXPDIR}/history
mv -f ${EXPDIR}/history.n.dir ${EXPDIR}/history.dir
mv -f ${EXPDIR}/history.n.pag ${EXPDIR}/history.pag
rm -f ${EXPDIR}/history.n.done
ln -s ${EXPDIR}/history ${HISTORY}
ln -s ${EXPDIR}/history.dir ${HISTORY}.dir
ln -s ${EXPDIR}/history.pag ${HISTORY}.pag
This works to some extent, but after news.daily is completed innd is still
paused. Also, fastrm reports "No files to remove" and "Renumbering active
file" complains about innd being "Already paused" for "Wrong reason".
Is there a better way to do this?
Thanks in advance,
Sven Ingvar
--
Sven Ingvar Jonsson | E-mail: sijon@lin.foa.se
FOA, Linkoping, Sweden |
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads