Thread View: news.software.nntp
1 messages
1 total messages
Started by Jerry Aguirre
Mon, 17 Nov 1997 00:00
Re: symlinking vs mounting into the spool
Author: Jerry Aguirre
Date: Mon, 17 Nov 1997 00:00
Date: Mon, 17 Nov 1997 00:00
32 lines
2189 bytes
2189 bytes
In article <64jabq$nv9$4@newsource.ihug.co.nz>, Nick Kean - IHUG Staff <nick.kean@ihug.co.nz> wrote: > I've been having a debate with myself[1] over whether it's better to >mount a drive in, say, /disk2 and make /var/news/spool/articles/alt a symlink >to it or just mount the drive at /var/news/spool/articles/alt. At the moment >I'm mounting into the spool. Mounting is more efficient than using a symbolic link. It avoids the overhead of traversing the symbolic link. This is probably a minor point. If you mount using symbolic links then you need to modify expirerm to remove the "-u" flag to fastrm. This tells fastrm that it is not safe to do a "cd ../group" to move around in the spool. Obviously with directories that are symbolic links the "cd .." doesn't always return to the same place in the directory tree. Again this causes another minor performance hit. The biggest problem with multiple filesystems seems to be ballancing the space and IO load. For one obvious example the alt/binaries tree uses a lot of disk space but relativly little IO. Unix is just more efficient at accessing a few large files than a lot of small ones. Also the space usage will shift over time. I have seen changes of 30% in a few days. Thus first news/alt will be full then a few days later news/talk will be full. You either live with the wasted space or spend your time shifting groups around to try and ballance it. If your going to try and ballance the space by moving heirarchies around then using the symbolic links, say to /news2/group.name, is probably a cleaner approach.
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