Re: disco SSD e fstab
Il 27/09/2015 09:43, Davide Prina ha scritto:
> On 26/09/2015 20:02, Mario wrote:
>
>> come da oggetto vi chiedo un consiglio sulle impostazioni in fstab.
>
> non ho mai avuto un disco SSD, ma visto che nessuno ti risponde ti
> suggerisco una strada...
>
Oltre a quanto suggerito, io ho un SSD ed un HD sullo stesso pc (uso
dektop), però ho eliminato la swap in fase di installazione durante il
partizionamento, la directory /tmp è spostata sulla ram, avendone 8 GB
posso permettermelo ti posto il mio fstab se ti può essere utile e tolgo
ovviamente per privacy alcuni riferimenti (pazienta anche per la
formattazione che qui imposto nelle email a 80 caratteri):
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxx / ext4
discard,rw,async,auto,noatime,commit=600,errors=remount-ro 0 1
# /xxxxxxxxxxx was on /dev/sdb5 during installation
UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxx /xxxxxxxxx ext4 defaults
0 2
# xxxxxxxxx was on /dev/sdb6 during installation
UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxx /xxxxxxxxx ext4 defaults
0 2
# /home was on /dev/sda5 during installation
UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxx /home ext4
discard,rw,async,auto,noatime,commit=600 0 2
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
## temp e log su RAM
tmpfs /tmp tmpfs defaults,noatime 0 0
tmpfs /var/tmp tmpfs defaults,noatime 0 0
tmpfs /var/log tmpfs defaults,noatime 0 0
I riferimenti principali li ho trovati qui:
https://www.debian.org/doc/manuals/debian-reference/ch09.it.html#_optimization_of_solid_state_drive
https://wiki.archlinux.org/index.php/Solid_State_Drives
--
Simone Girardelli
_|_|_|_|_|_|_|_|_|_
|_|_|_|_|_|_|_|_|_|_|
Reply to: