Below output from tune2fs from Jessie root partition on 16 GB SD card:

Code: Select all

tune2fs 1.42.13 (17-May-2015)
Filesystem volume name:   rootfs
Last mounted on:          /root
Filesystem UUID:          ff313567-e9f1-5a5d-9895-3ba130b4a864
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode filetype needs_recovery extent sparse_super large_file uninit_bg
Filesystem flags:         unsigned_directory_hash
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Remount read-only
Filesystem OS type:       Linux
Inode count:              552960
Block count:              2337024
Reserved block count:     0
Free blocks:              1920584
Free inodes:              489603
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      119
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         7680
Inode blocks per group:   480
Last mount time:          Mon Apr  1 04:04:25 2019
Last write time:          Mon Apr  1 04:04:25 2019
Mount count:              7
Maximum mount count:      10
Last checked:             Tue Mar 26 08:13:38 2019
Check interval:           0 (<none>)
Lifetime writes:          515 GB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   tea
Journal backup:           inode blocks
root@NanoPi-NEO:~# date
pon, 1 kwi 2019, 05:53:36 CEST

This is nanoPi NEO2 with attached SSD USB drive. It works with Domoticz, but whole Domoticz is installed on that attached SSD. Moreover /var/log dir is bind (via fstab) to subdir located on SSD and Domoticz temporary SQLite DB files are placed in /dev/shm (via symlink) to reduce number of write. cycles to SD Card or SSD. Also small ramdisk is created to store temporary semaphore files needed for my apps. Additionally on SSD drive swap partition is created but the system does not swap at all.

Below content of fstab:

Code: Select all

/dev/mmcblk0p1    /boot vfat defaults,ro 0 0
none      /dev/shm        tmpfs   defaults,size=40M
LABEL=DYSK /home/pi/domoticz ext4 defaults,noatime,rw 1 2
/home/pi/domoticz/log /var/log none rw,bind 0 0
UUID=c5b54e63-3744-4ef7-a566-066a95a89311 swap  swap  defaults  0   0
tmpfs /home/pi/ramdisk tmpfs nodev,nosuid,noexec,nodiratime,size=150K,uid=pi,gid=pi 0 0

As shown in first output, Lifetime writes on SD card is 515 GB, after 1 year working of whole system. It is simply impossible because SSD disk has Lifetime writes 36 GB at the same time. And SC card shuld be destroy long time ego.
Comparing it to my desktop PC, it has 319 GB writes on root partition located on SSD (all the rest is installed on "ordinary" HDD including home, but no /var/log for example).
Is it any problem with proper tune2fs readout on SD Card?