I've used Pi's since as soon as I could buy them but I've never run one
24/7 before so I'd like to ensure I've done sufficient to maximise SD
Card life.
All this PI does is sit accepting SSH connections and acts as a gateway
to allow tunnelling or SOCKS5 proxying. It also lets me send WOL magic
packets to other local computers to wake them up so I don't need to
leave those computers running 24/7. That's all working fine.
However, I'd like to maximise the SC Card life where possible so I have
mounted a few places onto tmpfs to minimise writes to the card. I have a
couple of cron jobs running that tickle the dynamic DNS provider and
another that reboots the Pi every 24 hours as a crude and simple way of
ensuring not the tmpfs log space doesn't fill.
The following are mounted onto tmpfs:
tmpfs on /tmp type tmpfs (rw,nosuid,noatime,size=102400k)
tmpfs on /var/spool/mqueue type tmpfs
(rw,nosuid,noatime,size=30720k,mode=700,gid=12)
tmpfs on /var/tmp type tmpfs (rw,nosuid,noatime,size=30720k)
tmpfs on /var/log type tmpfs (rw,nosuid,noatime,size=102400k,mode=755)
There is no swap running as all this does is SSH connection handling.
I have plenty of old small (8Gb) SD Cards to replace the one in use but
I don't want to have to be copying a new one more often than needed.
Is there anything else that really needs doing or is this sufficient?
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|