installation de smartmontools sur le rpi .
configuration et test du ssd :
pi@raspberrypi:~ $ sudo smartctl --info /dev/sda -d sat
smartctl 6.6 2016-05-31 r4324 [armv7l-linux-4.19.27-v7+] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: LDLC
Serial Number: 12282218C0571
Firmware Version: R0831B0
User Capacity: 240 057 409 536 bytes [240 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: M.2
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-2 T13/2015-D revision 3
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Fri Mar 29 13:42:30 2019 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
après tests sur le rpi . quelques heures . le ssd fonctionne très bien . chauffe un peu . pas grand chose (tiède) .
/dev/mmcblk0p1: LABEL="boot" UUID="DDAB-3A15" TYPE="vfat" PARTUUID="58e5e353-01"
/dev/mmcblk0p2: LABEL="rootfs" UUID="5fa1ec37-3719-4b25-be14-1f7d29135a13" TYPE="ext4" PARTUUID="58e5e353-02"
/dev/sda1: SEC_TYPE="msdos" LABEL="boot" UUID="DDAB-3A15" TYPE="vfat" PARTUUID="30122a00-01"
/dev/sda2: LABEL="rootfs" UUID="5fa1ec37-3719-4b25-be14-1f7d29135a13" TYPE="ext4" PARTUUID="30122a00-02"
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=30122a00-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait plymouth.ignore-serial-consoles consoleblank=0
proc /proc proc defaults 0 0
PARTUUID=30122a00-01 /boot vfat defaults 0 2
PARTUUID=30122a00-02 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
comme vous le voyez , je divise l'occupation de ma racine par 5 :
je passe de 22 % à 4 %
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
/dev/root 220G 6,7G 202G 4% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 464M 0 464M 0% /dev/shm
tmpfs 464M 6,4M 457M 2% /run
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 464M 0 464M 0% /sys/fs/cgroup
/dev/sda1 44M 23M 22M 51% /boot
tmpfs 93M 4,0K 93M 1% /run/user/1000
/dev/mmcblk0p2 30G 6,1G 22G 22% /media/pi/rootfs
/dev/mmcblk0p1 44M 23M 22M 52% /media/pi/boot
]]>