I know this might seem a strange question and I know I should buy a good UPS but I already had had two of them and none of them did a good job. I'm living in a house where many power outages occur (please, don't ask me why...) so data loss risk is very high. I bought a new SSD but I'm planning to keep my old HDDs, so I thought about this configuration:
/ on SSD (ext4 of course) /var on HDD /tmp on HDD /swap on HDD (swappiness set to 1 since I have 4 GB of RAM) scheduler = deadline or noop (can you point me a good way to do this permanently?) journaling = enabled (due to the power losses I can't just disable it but is it possibile to store the journal on another HDD? If yes, how?) discard and noatime in fstab
What do you think about that?
The SSD I bought is a Samsung 120 GB 840 series and my mainboard supports SATA2. Is it really needed to put var, tmp and cache on another HDD? What if I just install the whole system on my SSD, how many time do you think it will last?
Thank you so much and sorry for the odd question.