On 2021/04/08 22:44, Amir Goldstein wrote:
It is generally not allowed to reuse the upper layer and replace the lower layers after overlayfs has been mounted once. If you say you did not change anything, it is not clear what is the benefit of reusing the empty upper layer.
--- I can understand that, the upper layer is an empty fs+work dir with no changes. It was attached to the wrong lower layer, unattached/unmounted. I then made sure both upper+work were both empty and tried again elsewhere. I want to avoid unnecessary steps, so destroying and recreating an empty partition didn't seem logical. How do you disassociate a previous connected state? What needs to be initialized on the unmounted upper and working dir (on the same fs), to reuse the same file system?