Ext4 data corruption trouble
Ext4 data corruption trouble
Posted Oct 24, 2012 21:36 UTC (Wed) by nix (subscriber, #2304)In reply to: Ext4 data corruption trouble by Cyberax
Parent article: Ext4 data corruption trouble [Updated]
Raw umount(8) does a toposort unmount as well. It is not enough.
Posted Oct 24, 2012 22:00 UTC (Wed)
by tomegun (guest, #56697)
[Link] (3 responses)
In that case systemd will jump back to the initramfs on shutdown, and the initramfs will then try to kill/unmount whatever processe/mounts remains in the rootfs.
Posted Oct 25, 2012 11:16 UTC (Thu)
by nix (subscriber, #2304)
[Link] (2 responses)
Worse yet, what if you have processes in other PID namespaces, holding open filesystems in other filesystem namespaces? The initramfs can't even see them! *No* umount loop can fix that. I hate adding new syscalls, but I really do think we need a new 'unmount the world' syscall which can cross such boundaries :(
Posted Oct 25, 2012 12:50 UTC (Thu)
by rleigh (guest, #14622)
[Link] (1 responses)
Posted Oct 25, 2012 13:31 UTC (Thu)
by nix (subscriber, #2304)
[Link]
Ext4 data corruption trouble
Ext4 data corruption trouble
Ext4 data corruption trouble
Ext4 data corruption trouble