Closed mibolin closed 4 years ago
As Ubuntu 20.04 gets updates I re-tested again. The problem is still reproducible. The written files are not there after a reboot. If my testing is wrong - please tell me.
Currently used versions: `root@fileserver:/home/michael# uname -a Linux fileserver 5.4.0-25-generic #29-Ubuntu SMP Fri Apr 17 15:06:57 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
root@fileserver:/home/michael# modinfo zfs | grep -iw version version: 0.8.3-1ubuntu11
root@fileserver:/home/michael# modinfo spl | grep -iw version version: 0.8.3-1ubuntu11 `
I suspect your encrypted datasets are just not mounted. Check the output of df -h /mnt/daten2020/enc256ccm_2
, mountpoint /mnt/daten2020/enc256ccm_2
or even a simple mount | grep /mnt/daten2020/enc256ccm_2
.
If the post-reboot terminal session you posted is complete, that's unsurprising; after loading the keys with zfs load-key -a
, you never mount anything. Try a zfs mount -a
after loading the keys?
Thank you very much.
I didn't know that I have to mount the datasets after zfs load-key -a
. I thought this is done automatically.
With zfs mount -a
the "old" files are still there.
Sorry for the noise. This issue was not a ZFS issue. Closed.
System information
Describe the problem you're observing
For benchmarking I create encrypted datasets and write a file with
dd
on it. Aftershutdown -h now
and restarting the computer I have to manually import the pool and load the encryption keys. But, my benchmark file is not there anymore. It happened to me first on 2020/04/13 but I could reproduce it today (had no time before).Describe how to reproduce the problem
Some comments about my setup. It's my old AM2 fileserver with an Athlon X2 cpu and ECC DDR2 memory. Before upgrading to a new ZFS mirror on SATA drives I connected 2xWD Elements 10TB external harddisks to the USB3 PCIe card. My / is on EXT4 on an old ssd.
So, the benchmark files were there. Then I
shutdown -h now
and restarted this morning.So, the benchmark files in /mnt/daten2020/enc256ccm_2/ and /mnt/daten2020/enc256gcm_2/ are gone. Why?
Include any warning/errors/backtraces from the system logs
I haven't seen warnings/errors. Please ask for more details.