All of lore.kernel.org
 help / color / mirror / Atom feed
From: L A Walsh <lkml@tlinx.org>
To: Amir Goldstein <amir73il@gmail.com>
Cc: overlayfs <linux-unionfs@vger.kernel.org>
Subject: Re: odd error: why: mount: /home2: mount(2) system call failed: Stale file handle
Date: Sat, 10 Apr 2021 12:34:56 -0700	[thread overview]
Message-ID: <6071FDE0.2070009@tlinx.org> (raw)
In-Reply-To: <CAOQ4uxj4bdzcdcy7jpkRCZTNv=4b8BPVVP+1L_3OLWFwMnV-kQ@mail.gmail.com>

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?




  reply	other threads:[~2021-04-10 19:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-08 18:58 odd error: why: mount: /home2: mount(2) system call failed: Stale file handle L. A. Walsh
2021-04-09  5:44 ` Amir Goldstein
2021-04-10 19:34   ` L A Walsh [this message]
2021-04-11  4:45     ` Amir Goldstein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6071FDE0.2070009@tlinx.org \
    --to=lkml@tlinx.org \
    --cc=amir73il@gmail.com \
    --cc=linux-unionfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.