If I disable the journaling function of an EXT4-filesystem using the command tune2fs -O ^has_journal /dev/sda and enable it after the next start, will the data saved on the harddisk remain unaffected or are they lost ?
(Ubuntu 16.04 LTS)
1 Answer
As already told tools like atop, iotop, htop, iostat haven't been were helpful.
blktrace -d /dev/sda -o - | blkparse -i - showed me that parted, smartctl and one other process (udevd ?) accessed the disc.
Strangely enough no config-file had smartctl enabled....
auditd finally helped me to track down the troublemaker, revealing the correlation between the start of smartctl and webmin. webmin checks periodically the temperature of the harddisks, this option can be disabled in Webmin --> Webmin --> Configuration --> Background Status Collection. One should also disable the options Collect system status in background and Collect available package updates.
hd-idlestill show unexplained read and write accesses when your disk is plugged in but unmounted?root@ubuntu:~# hd-idle -i 0 -a sda -i 300 -a sdb -i 300 -a sdc -i 300 -a sdd -i 300 -dprobing sda: reads: 183794, writes: 242probing sdb: reads: 163945, writes: 242probing sdc: reads: 146075, writes: 80probing sdd: reads: 144003, writes: 80probing sda: reads: 183794, writes: 242probing sdb: reads: 163945, writes: 242probing sdc: reads: 146075, writes: 80probing sdd: reads: 144003, writes: 80probing sda: reads: 183794, writes: 242probing sdb: reads: 163945, writes: 242probing sdc: rea...