Questions tagged [bind-mount]
The bind-mount tag has no summary.
145 questions
0
votes
0
answers
28
views
How do I bind multiple read-only directories to a mounted directory to make them writable?
I have a root file system (/) that is read-only on a partition in an eMMC (/dev/mmcblk0p3). There are a variety of directories that I want to be writable and persist. I have a partition available on ...
5
votes
2
answers
90
views
mv affected by bind mounts (feels like a bug)
Originally, mv(1) was a rename operation; it updated names in filesystems and did not copy files. More recently, a convenience feature was added, whereby if the source and target were on different ...
0
votes
0
answers
176
views
Accessing Docker Unix Socket from a Podman Container on a Remote Server (SSH)
I'm trying to access a Docker Unix socket on a remote server from within a Podman container (offen/docker-volume-backup).
I've (root-)mounted the entire root filesystem of the remote server using ...
0
votes
2
answers
97
views
nfs v4 export is adding additional options not specified in /etc/exports
This seems trivial but I've lost too much time searching and reading manuals.
RHEL 7.9 server.
I have a simple directory being exported on nfs v4, using /etc/exports, with specific options.
[ ~]# cat /...
1
vote
0
answers
26
views
Selective rw access on read-only mounted partition
I have read-only root file system, protected with dm-verity and clean read-write user data storage.
Nevertheless, I need to make a tiny set of files on rootfs which require persistent storage ...
1
vote
0
answers
105
views
Right way to recursively share a path (like a symlink) and proper way to unmount/remount without messing with other mount points
Bind mounts seem to be hard. I am looking for the right way to use a bind mount to mount a given directory to another one pretty much like a symlink (but I can't use a symlink because my application ...
0
votes
0
answers
41
views
shared vs private mountpoints in parent/child mount namespaces
As per explicit request, I opened this question to ask the following:
on Ubuntu linux systems initial (aka root or default) mount namespace has options for mounted filesystems that are different from ...
0
votes
1
answer
184
views
Are there any implications of using a symbolic link or bind mount vs having the real files there?
I have an indirect wildcard autofs mount on home but would like a few local folders to remain in there. Thus I moved those local folders elsewhere and created a bind mount. As a backup, incase ...
1
vote
1
answer
465
views
How to mount a local folder with autofs? bind doesnt seem to work
I want all the users to automount from a NFS server except for a few accounts that should use the local home folder. Thus each client computer (and the nfs server) has a few folders in /home, the ...
0
votes
0
answers
389
views
Docker Compose not synchronising file changes in volume
Reposting from here as I don't quite understand how the "solution" works.
Symptom:
As reported here:
I mount my local files into the container for development. My docker-compose.yml file is ...
1
vote
1
answer
99
views
Unreliable bind-mounts
On a RHEL8-based virtual machine running systemd 239, I have the following bind-mount setup:
a filesystem (identified via UUID) mounted to a "source" mount-point (/path/to/sourcemnt)
...
0
votes
1
answer
530
views
Do bind mounts from NFS path create additional connections to the underlying NFS server?
I am designing the following setup:
NFSv3 server
Centos7 Client
The client mounts an NFS share from the server to /mnt/nfs_share
Now I want to create many read only bind mounts from that mount to ...
0
votes
0
answers
215
views
Immediately after 'fusermount -u; umount' sporadically fails with Target is Busy
I've a script
pre-condition: lsof /dir1 clear
#/bin/bash
...
fusermount -u /dir1/dir2 # unbind dir2
umount /dir1 # sporadically fails with 'Target is Busy'
...
Why do I get ...
0
votes
1
answer
79
views
Mount bind point to incorrect NVMe device after power off/on device
I am developing an all-flash storage application. I found that mount bind has strange behavior on NVMe device power off/on.
Distro: SUSE Linux Enterprise Server 15 SP4 5.14.21-150400.24.46-default
...
1
vote
0
answers
276
views
Differences between overloay and underlay in Apptainer
I'm trying to understand the differences between the two ways of bindings filesystems in Apptainer configuration. The documentation can be found here, but here are the confusing parts:
enable overlay:...