Saturday, May 4, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1437  / 3 Years ago, sun, november 7, 2021, 4:29:08

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.


More From » installation

 Answers
3

sorry, have totally overseen your comment. sometimes I am blind.



I don't know what you are using in your home-directory. But I would then put any folder resp. Partition on to your ssd and then put /home onto your normal hard-disk-partitions.
for example it is good when /tmp-folder has a size not smaller than 4.7 GB, because then burning dvds has no trouble with sizes like 4.3 or 4.7 GB - discs.
swap-partition too on your ssd.



I myself have all partitions on 120 GB - ssd and I don't use loads of graphics, games or music files in my home-folder - so there is still space for about 30 Gibi left. But 120 GB would be too small if you plan to install windows too.


[#31285] Sunday, November 7, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
hamostic

Total Points: 403
Total Questions: 142
Total Answers: 112

Location: Iceland
Member since Sat, Sep 17, 2022
2 Years ago
;