Is there a way to dismount a volume (with open files on it) or cause kernel panic if IO error occurs on underlying disk? OS is Linux. This is needed to prevent data corruption in case of storage availability problems.
Is there a way to dismount a volume (with open files on it) or cause kernel panic if IO error occurs on underlying disk? OS is Linux. This is needed to prevent data corruption in case of storage availability problems.
Set the appropriate
errors
mount option, e.g. in/etc/fstab
. See themount(8)
man page.For example: