[opensuse] File locations with SSD
I have a new SSD as the main drive and three 1.5TB sata drives for non-system files. My question is: Should the /tmp and /run files be moved from the SSD to the data drives to reduce writes on the SSD? If not, why? Thanks, Tom -- It is curious that physical courage should be so common in the world, and moral courage so rare. - Mark Twain ^^ --... ...-- / -.- --. --... -.-. ..-. -.-. ^^^^ Tom Taylor - retired penguin - KG7CFC AMD Phenom II x4 955 -- 4GB RAM -- 2x1.5TB sata2 openSUSE 13.1_RC2-x86_64 KDE 4.11.12, FF 24.0, claws-mail 3.9.2 registered linux user 263467 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am Mittwoch, 19. März 2014, 23:07:18 schrieb Thomas Taylor:
[...] My question is: Should the /tmp and /run files be moved from the SSD to the data drives to reduce writes on the SSD? If not, why?
Or, you could move /tmp to tmpfs (i.e., RAM). This is the systemd upstream default but overridden by openSUSE. I followed these steps that Cristian Rodríguez recommended last year: # mkdir -p /etc/systemd/system/local-fs.target.wants # ln -s /usr/lib/systemd/system/tmp.mount /etc/systemd/system/local-fs.target.wants/tmp.mount # reboot Gruß Jan -- Digital circuits are made from analog parts. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 20 Mar 2014 10:41:18 +0100 Jan Ritzerfeld <suse@mailinglists.jan.ritzerfeld.org> wrote:
Am Mittwoch, 19. März 2014, 23:07:18 schrieb Thomas Taylor:
[...] My question is: Should the /tmp and /run files be moved from the SSD to the data drives to reduce writes on the SSD? If not, why?
Or, you could move /tmp to tmpfs (i.e., RAM). This is the systemd upstream default but overridden by openSUSE. I followed these steps that Cristian Rodríguez recommended last year: # mkdir -p /etc/systemd/system/local-fs.target.wants # ln -s /usr/lib/systemd/system/tmp.mount /etc/systemd/system/local-fs.target.wants/tmp.mount
# reboot
Gruß Jan
Thanks to all for the replies. Especially to Carlos and Jan for the explanations. Thanks & Gruß, Tom -- It is curious that physical courage should be so common in the world, and moral courage so rare. - Mark Twain ^^ --... ...-- / -.- --. --... -.-. ..-. -.-. ^^^^ Tom Taylor - retired penguin - KG7CFC AMD Phenom II x4 955 -- 4GB RAM -- 3x1.5TB sata2 -- 128GB-SSD openSUSE 13.1_x86_64 KDE 4.11.2, FF 25.0, claws-mail 3.9.2 registered linux user 263467 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-03-20 07:07, Thomas Taylor wrote:
I have a new SSD as the main drive and three 1.5TB sata drives for non-system files.
My question is: Should the /tmp and /run files be moved from the SSD to the data drives to reduce writes on the SSD? If not, why?
Some people do. And /var/log. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
participants (3)
-
Carlos E. R.
-
Jan Ritzerfeld
-
Thomas Taylor