How to move directories and mount points from SSD to tmpfs or HDD?

Hi,

I have installed openSUSE 13.2 on a SSD drive by following this procedure.

  1. Moving things to RAM

As explained in the step create TMPFS filesystems I moved successfully the /tmp to a tmpfs by using the instructions given for openSUSE 12.2

Considering that my /home is on HDD and / is on SSD I suppose it would be relevant to move to tmpfs also:

  • /var/tmp
  • /var/cache
  • would you suggest any others?

Unfortunately the guide doesn’t explain how to move other directories to tmpfs, only /tmp. My problem is that I am totally unfamiliar with the systemd way of mounting described there. E.g. I don’t know if I should add the other entries in the same tmp.mount file or in separate ones. I suppose it is more relevant to do it the systemd-way (as the docs show this method)?

Could you please help me with how to do this properly? My goal is to save the SSD from writing of temporary files, caches and logs.

  1. Moving things to HDD

After thinking about the previous step I thought it might also be relevant to move /var/log to HDD. However I didn’t leave space on the HDD during install for making a partition for /var/log. The questions here are:

  • Is it safe to shrink /home
    (>300Gb, fairly emtpy ATM) with GParted? - What size would you suggest for the new partition and how do I make the actual move?
  • Should I do it also the systemd-way and if yes - how?
  • Are there any other directories which should better be moved to HDD partitions too?

I really hope it is possible to do all this without reinstalling as I have already tuned a lot of the programs I use and don’t want to start from scratch. I case that matters: I am using UEFI/GPT. The machine is aimed to be used for desktop, CG and some development (running Apache, MySQL, etc)

Ignore. I will reinstall.

(mods please feel free to delete the thread)