I'm going to install Linux on Lenovo B5400, which contains:
- 500GB Hybrid SSHD with a 8 GB SSD and 500 GB HDD
Designing partitions for my 2 Linux distros was quite easy before, when I had only HDD. I always had:
- 10GB for Linux distro (mounted as "/")
- 10GB for another distro (again "/"; for another distro; for testing purposes or to assure continuity when switching distros)
- 2GB for swap (used for both distros; no need to separate)
- 300GB+ for "/home" (used for both distros; different usernames eliminates possible conflicts)
It's simple, isn't it? I would like to keep this approach, but I know that SSD has its own specificity - it prefers to be read, continuous writing may affect its life span. I don't want to kill SSD in a year, so I would like to move some system partitions to HDD in order to protect SSD. As far as I know /tmp is one of often read&written locations. How much space it needs? What else should be placed on HDD?
Or: how to design partitions to achieve exactly the same effect and to keep SSD as safe as possible?
I'd be grateful for your help.
/var
is another locations with lots of change and transient data. In my setup I have/
,/boot
,/usr
, and swap space on SSD,/tmp
on a tmpfs, and/var
and/home
on HDD.