Closed crawfxrd closed 6 years ago
The system is probably not completely unmounting the root filesystem before shutting down. This doesn't look to be a driver bug so I'm closing the issue.
dbdctl setup-snapshot /dev/dm-0 /cow 0
dbdctl transition-to-incremental 0
sync
halt
On Fedora 28, the last output printed is:
[1317]: Failed to remount '/' read-only: Device or resource busy
systemd-shutdown[1]: Remounting '/' failed abnormally, child process 1317 aborted or exited non-zero.
[1318]: Failed to remount '/' read-only: Device or resource busy
dracut Warning: Cannot umount /oldroot
Kerenel not configured for semaphores (System V IPC). Not using udev synchronisation code.
device-mapper: remove ioctl on fedora-root failed: Device or resource busy
Command failed
Halting.
On Ubuntu 18.04, the last output printed is:
datto: device still mounted after umounting cow file's file-system. entering error state: -5
Seen on Fedora 24, Fedora 25. On reboot, dattobd fails to reload the incremental state for the root volume when remounted as R/W. Other volumes work as expected.
Reload script that gets run:
dmesg:
/proc/datto-info
: