On Nov 29, 2011, at 10:45 AM, tovis wrote: tovis:
I am interested in minimizing writes to a boot flash drive as well. I have a Seagate Dockstar (arm5, 128 MB RAM) that boots Debian wheezy from a usb flash drive. It runs rtorrent, sabnzbd, and rsync. These programs operate on files that are on two external usb hard disks, but they also cause lots of writes to the flash drive, and I'm concerned that this will lead to premature flash drive death. > About "my" technology to minimize writes on USB: > 1. In the /etc/rcS.d/ I have put my little script for mounting aufs on > /var immediately after S07checkroot (after checkroot script USB as root is > mounted rw). Instantly I have do the next: > mount -t tmpfs none /mnt/var > tar -xzf /boot/aufs_mnt_var.tar.gz > mount -t aufs -o br:/mnt/var:/var=rw none /var Can you go into a little more detail here? My system has S06checkroot.sh. Do I put the lines mount -t tmpfs none /mnt/var tar -xzf /boot/aufs_mnt_var.tar.gz mount -t aufs -o br:/mnt/var:/var=rw none /var somewhere in the file S06checkroot.sh? Or am I misunderstanding? > 2. In the /etc/fstab I have mount over /tmp tmpfs. I don't quite understand what you're saying here. Can you show me the actual lines from /etc/fstab? Thank you! :) -Bo Parker fbpar...@hiwaay.net ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d