If what you plan needs a new partioning, do it before starting the installation of Mageia because it is not sure DrakDisk will create aligned partitions.
In forum topic Hadware questions (Intel HD 2000 and 4k sectors of HDD's doktor5000 claims: "diskdrake (and hence the Mageia installer) supports 4k disks and SSDs since quite some time, no need to use gparted or other external tools or expert mode ..."
There is no contradiction there, diskdrake really supports 4k sectors and SSDs, and can create partitions on it. But, if you want aligned partitions (that is better), you need Gparted.
lebarhon 16:30, 15 October 2012 (UTC)
--doktor5000 (talk) 22:07, 11 January 2022 (UTC) Sorry, but you don't need that. diskdrake will align partitions just fine, it will basically do the same thing as gparted et al and start the partition at 1MB alignment boundaries, check https://bugs.mageia.org/show_bug.cgi?id=1215 and also https://bugs.mageia.org/show_bug.cgi?id=2037
Also the recommendations regarding logs in /var and putting /home not on the SSD should really not be recommended for the average user. That only applies if you have first generation SSDs with a bad firmware/controller, which would now be already nearly 10 years old and are probably already broken regardless if you would have done that or not. For current SSDs something like that should not be recommended, the only thng worth recommended is probably not using swap at all.
Same with trim. Also the description for trim is wrong, no need to run trim - any SSD will automatically clear blocks that it wants to write to, that is regular operation. I've basically never used trim with multiple generations of SSDs and they're working just fine even with heavy usage.
Also the discard option in fstab is not required for trim, and should also not be used, it's not enabled by default from the kernel and considered unsafe for a reason.
Trim with LVM or dm-crpyt/LUKS
issue_discards=1 in /etc/lvm/lvm.conf
allow-discards in /etc/crypttab
append :allow-discards to kernel parameter
Is this correct? --joeshmoe 17:27, 21 November 2012 (UTC)
Trim
Hello David, You said
- As per http://www.howtogeek.com/176978/ubuntu-doesnt-trim-ssds-by-default-why-not-and-how-to-enable-it-yourself/ it is no longer recommended to use the discard option in /etc/fstab entries, as it slows down every file delete. The only exception, is if a swap partition is on an ssd drive (as swap partitions do not have a mount point). Using your favourite text editor, add the discard option to the entry for the swap, and only for the swap.
It would be more simple to say to not use Trim, because it is confusing, the page says:
- use trim
- do not use the discard option
- to activate Trim, use the discard option !!
lebarhon 10:14, 28 April 2014 (UTC)