Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
IPCop
Edit
PageHistory
Diff
Info
LikePages
A FireWall-centric LinuxDistribution with a web-based configuration interface. !! How to fix the scarcity of [Inode]s on <tt>/var</tt> Since having <tt>/var/log</tt> mounted is not essential for continued running, this is easy as long as you have another machine to copy everything to. # rsync(1) is not included with [IPCop] by default, so [SCP] it from another machine: <verbatim> scp -P 222 /usr/bin/rsync ipcop:/usr/bin/rsync </verbatim> # Make a temporary directory on the backup machine and change into it. Make sure it's on a [Partition] with enough room. # On the backup machine: <verbatim> rsync -vaz -e 'ssh -p 222' ipcop:/var/log/\* . </verbatim> This recursively copies the directory contents, preserving file attributes, using compression. The <tt>-e</tt> switch tells rsync(1) how to invoke ssh(1). It is necessary because the [IPCop] [SSH] daemon runs on port 222. # Now on the [IPCop] machine, make a new file system with approx 4 times as many [Inode]s as before: <verbatim> umount /var/log mke2fs -j -N 65536 /dev/harddisk3 mount /var/log </verbatim> # And now copy the whole thing back: <verbatim> rsync -avz -e 'ssh -p 222' . ipcop:/var/log </verbatim> # Check that everything looks right on the [IPCop] machine and (for good measure) reboot it. ----- CategoryDistribution
One page links to
IPCop
:
FreeNode