:: Re: [DNG] [OT] Help on ssd/hdd mixe…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: al3xu5
Datum:  
To: dng
Betreff: Re: [DNG] [OT] Help on ssd/hdd mixed system...
Tue, 20 Jun 2023 01:56:04 -0400 - Steve Litt <slitt@???>:

> >The basic idea is to use the SSD disk for the system, moving the
> >partitions (or directories) on which the most writes take place to the
> >mechanical disk, also by accepting a compromise between speed and
> >duration of the SSD disk.
>
> The preceding paragraph is what I've been doing for years. The root
> partition on an NVMe SSD, and all my changing data on spinning rust.


And this should be to reduce writings on the SSD to extend its lifetime...

But some people (also in this mailing list) say SSD disks now have big
lifespan (400-600x their drive capacity -- the samsung 870 500GB evo I am
going to use has TBW of 400TB and 5y warranty) so that /home, /tmp and /var
could stay on the SSD...

I remain a bit confused...


> Why is /tmp so big?
> >...


Two reasons: 1) need tmp space to build from sources "big" programs (like
icecat), 2) there was enough free space left on the system disk ;-)


> >- using symbolic links: "move" /home/desktop and
> >/home/downloads to /media/DATA (on the sdc mirrored disk)
>
> Do you mean bind mounts?


I meant symlinks

The idea was use either mounts (/etc/fstab) for entire partitions and
symlinks for some directories...


> >The first big question is: is it still appropriate, with current SSD
> >discs, try to reduce writings?
>
> Yes. Not nearly as important as in the past, but still a good idea for
> letting SSDs live a long and happy life.


See above... Still confused...


> Also, SSDs shouldn't, in my opinion, get over 50% full.

Agree.


> >- Does this complexity risk leading to an unstable or fragile system?
>
> It sure hasn't for me. But I use bind mounts, not symlinks.


I don't usually use them (except for a nsf mount in fstab) and I don't
really know about it...

Please can you help me (thanks)?
Bind mounting A->B:
- actual data will be only on B?
- this will avoid writings on A? or it is a sort of mirror?
- I should backup only B? or both A and B?
- which mount options I should use?


Regards
al3xu5

--
Property is theft! (P-J Proudhon) ...today more than ever.
____________________________________________________________________________

Public GPG/PGP key: 8FC2 3121 2803 86E9 F7D8 B624 DA50 835B 2624 A36B