1 |
Am Mittwoch, 18. März 2020, 16:56:52 CET schrieb antlists: |
2 |
> On 17/03/2020 05:59, tuxic@××××××.de wrote: |
3 |
> > Hi, |
4 |
> > |
5 |
> > currentlu I am setting up a new PC for my 12-years old one, |
6 |
> > which has reached the limits of its "computational power" :) |
7 |
> > |
8 |
> > SSDs are a common replacement for HDs nowaday -- but I still trust my |
9 |
> > HDs more than this "flashy" things...call me retro or oldschool, but |
10 |
> > it my current "Bauchgefühl" (gut feeling). |
11 |
|
12 |
It really is an art to know when to trust your gut feeling :-) . Thankfully |
13 |
in this case we have data! |
14 |
|
15 |
> Can't remember where it was - some mag ran a stress-test on a bunch of |
16 |
> SSDs and they massively outlived their rated lives ... I think even the |
17 |
> first to fail survived about 18months of continuous hammering - and I |
18 |
> mean hammering! |
19 |
|
20 |
The German c't magazine did a similar test of various SSDs from different |
21 |
price categories, and they all showed the same result (I think some exceeded |
22 |
their lifetime by more than a factor of two, and the minimum was something |
23 |
like 1.5). |
24 |
|
25 |
> > To reduce write cycles to the SSD, which are quite a lot when using |
26 |
> > UNIX/Limux (logging etc) and especially GENTOO (compiling sources |
27 |
> > instead of using binary packages -- which is GOOD!), I am planning |
28 |
> > the following setup: |
29 |
> > |
30 |
> > The sustem will boot from SSD. |
31 |
> > |
32 |
> > The HD will contain the whole system including the complete root |
33 |
> > filesustem. Updateing, installing via Gentoo tools will run using |
34 |
> > the HD. If that process has ended, I will rsync the HD based root |
35 |
> > fileystem to the SSD. |
36 |
> |
37 |
> Whatever for? |
38 |
|
39 |
Yeah, I did the $PORTAGE_TMPDIR on tmpfs thing for a while, but I don't feel |
40 |
like "wasting" the RAM of my Gentoo systems in that way anymore. And guess |
41 |
what: |
42 |
|
43 |
# smartctl -x /dev/sda | grep -i lifetime_remain |
44 |
202 Percent_Lifetime_Remain ----CK 092 092 001 - 8 |
45 |
|
46 |
This is for an SSD (Crucial MX500) that I've been using for about 1.5 years |
47 |
(since early November 2018), and which hosts the entirety of / (including /var |
48 |
and /home), only my media FS resides on HDDs. The Crucial SSD I used before |
49 |
that (128 GB) was at 95 % last I checked, and I had been using that for about |
50 |
four years (it's laying on a shelf now for installation in my home server when |
51 |
I find the time for that). (Oh, and everything is on BTRFS.) |
52 |
|
53 |
> > Folders, which will be written to by the sustem while running will |
54 |
> > be symlinked to the HD. |
55 |
> > |
56 |
> > This should work...? |
57 |
> > |
58 |
> > Or is there another idea to setup a system which will benefit from |
59 |
> > the advantages of a SSD by avoiding its disadvantages? |
60 |
> |
61 |
> If you've got both an SSD and an HD, just use the HD for swap, /tmp, |
62 |
> /var/tmp/portage (possibly the whole of /var/tmp), and any other area |
63 |
> where you consider files to be temporary. |
64 |
|
65 |
As I mentioned above, I'm not even doing that. I did until about 2017, but |
66 |
stopped because it increased the load on my desktop too much for it to be |
67 |
usable during upgrades (poor old thing). |
68 |
|
69 |
> > Background: I am normally using a PC a long time and try to avoid |
70 |
> > buying things for reasons like being more modern or being newer. |
71 |
|
72 |
Keep in mind we're talking about technology that is pretty old by now. IIUC, |
73 |
what's new now is mainly that it's not niche anymore (see https:// |
74 |
en.wikipedia.org/wiki/Solid-state_drive#Development_and_history). |
75 |
|
76 |
> > Any idea to setup such a sustem is heardly welcone -- thank you |
77 |
> > very much in advance! |
78 |
> |
79 |
> Why waste time and effort for a complex setup when it's going to gain |
80 |
> you bugger all. |
81 |
|
82 |
I agree, I don't think a complicated setup like that is worth the effort. I |
83 |
was really glad about being able to put the whole / on my SSD after I got a |
84 |
bigger one, just because of how it simplified things. |
85 |
|
86 |
> The only thing I would really advise for is that (a) you think about |
87 |
> some form of journalling - LVM or btrfs - for your root file-system to |
88 |
> protect against a messed up upgrade - take a snapshot, upgrade, and if |
89 |
> anything goes wrong it's an easy roll-back. |
90 |
> |
91 |
> Likewise, do the same for the rotating rust, and use that to back up |
92 |
> /home - you can use some option to rsync that only over-writes what's |
93 |
> changed, so you do a "snapshot then back up" and have loads of backups |
94 |
> going back however far ... |
95 |
|
96 |
Backups are something you should be doing anyway. Even a local backup is |
97 |
better than no backup at all. You won't miss your data until it's gone, and |
98 |
then you'll *really* miss it. |
99 |
|
100 |
> Cheers, |
101 |
> Wol |
102 |
|
103 |
Greetings |
104 |
-- |
105 |
Marc Joliet |
106 |
-- |
107 |
"People who think they know everything really annoy those of us who know we |
108 |
don't" - Bjarne Stroustrup |