Want a fast and temporary file system on linux?
Just use a tmpfs/ramfs and a cron job continously backing up data from this to a non-volatile storage.
mount -t tmpfs -o size=1024m tmpfs /tmp
Generally, I use this for logs on virtual machines, as sometimes the disk is very slow due to multiple VMs running off the same disk. Also, this has the advantage of not wearing out the disk, which might have more important/persistent data.
mount -t tmpfs -o size=1024m tmpfs /tmp
Generally, I use this for logs on virtual machines, as sometimes the disk is very slow due to multiple VMs running off the same disk. Also, this has the advantage of not wearing out the disk, which might have more important/persistent data.
Comments