Re: mdadm-grow-continue service crashing (similiar to "raid5 reshape is stuck" thread from May)
From: Wols Lists <hidden>
Date: 2015-07-13 18:37:32
From: Wols Lists <hidden>
Date: 2015-07-13 18:37:32
On 12/07/15 20:24, Edward Kuns wrote:
quoted
quoted
many modern distros delete /tmp on reboot and/or play games with namespaces to isolate different users' /tmp spaces.
So if the machine crashes during a rebuild, you may lose that backup file, depending on the distro. OK.
Please note that this is the DEFINED behaviour of /tmp, so it has a very high probability of happening. If you want temporary data to survive a reboot, put it in /var/tmp. Oh - and if SeLinux only lets you put it in /tmp, what happens if you don't have a separate /tmp partition? You can't put the backup file on the partition you are rebuilding, and SeLinux won't let you put it anywhere else? That's a big disaster in the making ... Cheers, Wol