:: [DNG] [OT] Help on ssd/hdd mixed sy…
Kezdőlap
Delete this message
Reply to this message
Szerző: al3xu5
Dátum:  
Címzett: dng@lists.dyne.org
Tárgy: [DNG] [OT] Help on ssd/hdd mixed system...
Hi all

I apologize if I'm OT... but I would like advice from you.

My current system derives from a migration from Debian to Devuan carried
out since the "origins", even before Jessie, then updated over the years
to Chimaera.

The system is installed on a WD Velociraptor 250GB 10000rpm,
with Power_On_Hours of over 10000 Hours. Other info: LXDE Desktop, RAM
32GB.

I am considering replacing the system disk with an SSD SATA SAMSUNG 870EVO
500GB (1.5 Million Hours MTBF) on which to proceed with a fresh
installation of Daedalus.

There is also a second mechanical disk (MDM RAID: 2x 1TB mirrored) whose
partitions are mounted on /media.

I also have an external backup of the WHOLE system ;-)

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.

For this I would like to know your opinions and suggestions.

Currently:

$ lsblk
NAME    MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda       8:0    0 232,9G  0 disk  
├─sda1    8:1    0  46,6G  0 part  /
├─sda2    8:2    0  93,1G  0 part  /home
├─sda3    8:3    0     1K  0 part  
├─sda5    8:5    0  55,9G  0 part  /tmp
├─sda6    8:6    0  18,6G  0 part  /var
└─sda7    8:7    0  14,9G  0 part  [SWAP]
...
sdc       8:32   0 932G  0 disk  
├─sdc1    8:33   0 233G  0 part  
│ └─md1   9:1    0 233G  0 raid1 /media/DATA
├─sdc2    8:34   0 275G  0 part  
│ └─md2   9:2    0 275G  0 raid1 /media/MISC
├─sdc3    8:35   0 275G  0 part  
│ └─md3   9:3    0 275G  0 raid1 /media/SOFTWARE
└─sdc4    8:36   0 138G  0 part  
  └─md4   9:4    0 138G  0 raid1 /media/VM


My hypothesis is:

- system disk (SSD 500GB):
TYPE    SIZE    MOUNTPOINT
part     50G    /       
part     50G    /home   
part    200G    /media/VM <-- moved from sdc disk
        200G    [unused]
- other mechanical disk
TYPE    SIZE    MOUNTPOINT
...
part     60G    /tmp  
part     20G    /var
part     16G    [SWAP]
...
- using symbolic links: "move" /home/desktop and
/home/downloads to /media/DATA (on the sdc mirrored disk)



The first big question is: is it still appropriate, with current SSD
discs, try to reduce writings?

And then: which mechanical disk should be used for /tmp, /var, swap
etc...? Better reuse the "old" non-raid system disk (WD 10000rpm), or the
actual mirrored sdc disk (see above)?

Other doubts are:
- Is it worth bringing with symbolic links /home/desktop and
/home/downloads on the mechanical mirrored disk (sdc)?
- About /var: could I limit myself to "move" using symbolic links only
/var/log, /var/mail, /var/spool, /var/tmp?
- Does this complexity risk leading to an unstable or fragile system?
- Is this complexity justified compared to the longer duration of the SSD
disc?
- What else I'm not considering and/or evaluating?

Thanks in advance for your opinions and suggestions.
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
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBGA33HkBEADFmx3R2dWhG3Zf2/jwNiUZBtxAJ96bX+JDIdDUHlbmyPVPvi6T
hIFPD7AA1m6h3ydA2WkbrwhchJJ/xi3LJF8eWE8mUu2HiVXsn3cC9NwRo7tSlq2Z
LqsLrsnBWHNk3Q4cRHolq8/gQvZJ8Z4dd7olhzajNY8sTRB4EXe7vQQ1KI5erEQe
S1a6PY1cq8jiNcAQYwl5JrkKQYf3r3ZjCeswx3Fu8D6QU2IZTTBRt0iyZ85wEgiu
EgvOfdidmX7EEZ/H1jxMoJH/irNvO6u9iRNuJWzIUR7VLcagckdl60htAgfPvyqJ
q/B7BsAs6UmWs0dZ+fX4f69w3L1MQjf0U6KVmjcHwr7pUvNfzN6z/qtVYc0ZH3KI
JFMMhlDMu8xXnsM0Xu9tnXa2KT+Mjj9njKkTUb1YLi8OEqHvF05XkK+P9C1EgNW3
PKrPrZDbgs1adXWmqf67Ndxcu9l6aXp3Lcm4ImdOztLVcN09H6z1elD+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