| Re: Flash drive as disk cache Hi Davorin,
>> is there any linux driver that makes it possible to use an flash drive
>> like
>> an USB stick as cache for the disks?
>
> This is not the healthiest of options for your usb stick (FLASH) which
> has a max writes limit.
i know ... but never heard about an usb stick that really crashed because of
too many writes ...
.... and with currently 8 Euro per GB i could buy a new after one or two
years ...
> Perhaps we could help you in some other way if you explained what you wish
> to accomplish.
i'm running an old desktop as small server at home. Apps running are LAMP,
IMAP, Postfix and Samba.
There are 2 disks inside as softraid 1. Works well ...
But 99% of time the server is doing nothing ... expect logging cronjobs to
/var/log/messages and writing some weather-data to the mysql-database ... i
think 1 or 2 GB flash storage could cache all files the server needs over
the day (read and write cache) ...
The disks could go to powersave and start again when data is not in flash or
the write back cache of the flash is full ... saving energy, noise and
lifetime of the disks ...
.... that about my plans ;-)
Installing the linux root partition on usb-stick isn't an option, i think
.... i would become problems to install all apps to a 16 GB SSD (which isn't
a cheap solution ;-)
Thank you for suggestions,
AD |