* Re: Changes to underlying filesystems in overlayfs
@ 2015-11-07 12:59 Arseny Sher
0 siblings, 0 replies; 3+ messages in thread
From: Arseny Sher @ 2015-11-07 12:59 UTC (permalink / raw)
To: linux-kernel
Sorry, I've sent the message to the wrong mailing list. Please delete
the thread.
--
Arseny Sher
^ permalink raw reply [flat|nested] 3+ messages in thread
* Changes to underlying filesystems in overlayfs
@ 2015-11-07 17:04 Arseny Sher
0 siblings, 0 replies; 3+ messages in thread
From: Arseny Sher @ 2015-11-07 17:04 UTC (permalink / raw)
To: linux-unionfs
Hi all,
I have some questions regarding making changes to underlying filesystems in
overlayfs. From the documentation:
"Changes to the underlying filesystems while part of a mounted overlay filesystem are
not allowed. If the underlying filesystem is changed, the behavior of the overlay is
undefined, though it will not result in a crash or deadlock."
Could you tell me, is it safe to
- freeze the merged mountpoint, remounting it as ro to prevent any external changes
- directly make changes to lowerdir or upperdir
- immediate reboot
I hope the rebooting will clean the cache and thus manipulating underlying filesystems
in this way can be considered safe. Am I right?
There is a project overlayroot developed for mounting / as an overlay filesystem:
http://blog.dustinkirkland.com/2012/08/introducing-overlayroot-overlayfs.html
It provides utility overlayroot-chroot which lets to modify lowerdir partition while
overlayfs on / is mounted. It does this by adding proc, run, sys mounts inside
lowerdir, than remounting it as rw and finally chrootting into it. It is mainly used for
modyfing overlayroot config, so the next action after exiting chroot is usually reboot.
The utility even doesn't freezes / while doing this, as far as I know. Is this allowed?
P.S. I know that this mail list is for unionfs'es development, not for users.
Unfortunately, I couldn't find more appropriate place for such questions. I'd be happy
if someone would tell me the right place.
--
Arseny Sher
^ permalink raw reply [flat|nested] 3+ messages in thread
* Changes to underlying filesystems in overlayfs
@ 2015-11-07 14:28 Arseny Sher
0 siblings, 0 replies; 3+ messages in thread
From: Arseny Sher @ 2015-11-07 14:28 UTC (permalink / raw)
To: linux-kernel
Hi all,
I have some questions regarding making changes to underlying filesystems in overlayfs. From the documentation:
"Changes to the underlying filesystems while part of a mounted overlay filesystem are not allowed. If the underlying filesystem is changed, the behavior of the overlay is undefined, though it will not result in a crash or deadlock."
Could you tell me, is it safe to
- freeze the merged mountpoint, remounting it as ro to prevent any external changes
- directly make changes to lowerdir or upperdir
- immediate reboot
I hope the rebooting will clean the cache and thus manipulating underlying filesystems in this way can be considered safe. Am I right?
There is a project overlayroot developed for mounting / as an overlay filesystem:
http://blog.dustinkirkland.com/2012/08/introducing-overlayroot-overlayfs.html
It provides utility overlayroot-chroot which lets to modify lowerdir partition while overlayfs on / is mounted. It does this by adding proc, run, sys mounts inside lowerdir, than remounting it as rw and finally chrootting into it. It is mainly used for modyfing overlayroot config, so the next action after exiting chroot is usually reboot. The utility even doesn't freezes / while doing this, as far as I know. Is this allowed?
P.S. I know that this mail list is for unionfs'es development, not for users. Unfortunately, I couldn't find more appropriate place for such questions. I'd be happy if someone would tell me the right place.
--
Arseny Sher
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-07 17:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-07 12:59 Changes to underlying filesystems in overlayfs Arseny Sher
2015-11-07 14:28 Arseny Sher
2015-11-07 17:04 Arseny Sher
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.