[opensuse] Btrfs on SSD
Hi All, Having an SSD in my machine, I usually have /var, /srv, and /tmp mounted on spinning drives to preserve the life of the SSD. I noticed when doing a trial install of 13.2 in a VM that (parts of) these directories seem to be mounted as separate subvolumes, even though in that installation they are all on the same (virtual) partition. /home, of course, is not a problem as it's a separate FS for different reasons. How should I go about getting these subvolumes on a separate drive as required. Basically, which parts of the documentation and which commands would be most useful to read to achieve this, or would it be better/easier to simply mount them as separate FSs as I do now? Cheers Dylan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 06/11/14 a las 11:44, Dylan escribió:
Hi All,
Having an SSD in my machine, I usually have /var, /srv, and /tmp mounted on spinning drives to preserve the life of the SSD.
With current'ish SSD drives this is no longer a problem and therefore it needs no workaround. The only change I suggest you could do is mounting /tmp as tmpfs. 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 Tnis unless you are running a system with little RAM. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/11/14 15:05, Cristian Rodríguez wrote:
El 06/11/14 a las 11:44, Dylan escribió:
Hi All,
Having an SSD in my machine, I usually have /var, /srv, and /tmp mounted on spinning drives to preserve the life of the SSD.
With current'ish SSD drives this is no longer a problem and therefore it needs no workaround.
I'll have to investigate this more.
The only change I suggest you could do is mounting /tmp as tmpfs.
I can't do that - I use 3d physics and rendering software which generates a huge number of fairly large temporary/intermediate files while processing which would swamp a tmpfs very quickly. Dx -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 06/11/14 a las 12:11, Dylan escribió:
I can't do that - I use 3d physics and rendering software which generates a huge number of fairly large temporary/intermediate files while processing which would swamp a tmpfs very quickly.
If it writes them to /tmp then the program is buggy.. large temporary files should be written to /var/tmp instead. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 06/11/2014 15:44, Dylan a écrit :
How should I go about getting these subvolumes on a separate drive as required. Basically, which parts of the documentation and which commands would be most useful to read to achieve this, or would it be better/easier to simply mount them as separate FSs as I do now?
do nothing, the disk will last long enough. Make frequent backups. When the disdk fail, you will be happy to have a reason to use the cheap brand new Xtb ssd :-). flash memory price drop is unbeleivable :-) jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Cristian Rodríguez
-
Dylan
-
jdd