Questions tagged [mount-point]

A mount point is a location (a directory) in a directory structure to which a resource (a directory structure) from another file system (like a data carrier, for example a CD-ROM) is attached (integrated).

170 questions
1
vote
0 answers

Amazon AWS EFS - automount from fstab not working at boot, but runs fine live

I am looking to connect shared EFS mount points to our EC2 development instances. I wrote the mount points in /etc/fstab, and it runs fine when I test it with sudo mount -fav. However, it simply does not mount on reboot. The thing that jumps out at…
1
vote
2 answers

Change default volume mount point for docker rootless?

I saw this post with different solutions for standard docker installation: How to change the default location for "docker create volume" command? At first glance I struggle to repeat the steps to change the default mount point for the rootless…
Fedor Petrov
  • 990
  • 9
  • 19
1
vote
1 answer

LXC using separate HDD/VOLUME

Is there some method how can I define the major device (hdd, volume, ..) for LXC container? I have separated disks for each service/project which I want run inside LXC container. But I couldn't find the way how can I specify storage for all files in…
Petr Klein
  • 797
  • 2
  • 9
  • 23
1
vote
1 answer

docker mounting folder not working for Windows 10 with WSL2

I have tried this example out on a windows 10 box which has WSL2 installed and integrated with the latest Docker version. After following the steps in the example and downloading the code in the linux subsystem, I am able to build the image and run…
user20358
  • 14,182
  • 36
  • 114
  • 186
1
vote
1 answer

test -x in Mounted Filesystem

I'm using QEMU to test Raspberry Pi before putting the image onto an SD card. I'm setting up an automated script to put some files onto the Pi, among other things, so that when I put the SD card into the Pi, it is immediately usable. I think I've…
trysis
  • 8,086
  • 17
  • 51
  • 80
1
vote
0 answers

Is there a way to unfreeze filesystem after it is freezed and program terminates abruptly?

After doing an xfs_freeze -f /mntpoint if the program terminates abruptly, the filesystem will remain in freeze(suspended) state. Is there any way other than manually executing the unfreeze command : xfs_freeze -u /mntpoint to handle it in a better…
1
vote
0 answers

List all mount points in kernel module

I'm trying to list all the mount points in a kernel module. The method in this answer doesn't list all the mount point, and this answer is for older kernel version. I'm working on kernel version 4.15.0. I found this method (iterate_mounts) and wrote…
Mohamed Osama
  • 43
  • 1
  • 6
1
vote
0 answers

stdlib rename api opening new handle when trying to write over network to mounted location

I have a folder present in windows , which i am mounting from mac side using smb. Into this mounted location i'm trying to write a new file over the network. After writing the data into the file , the handle is closed. Now i need to rename the file…
1
vote
1 answer

If there is any script or command that can check which of the NFS mounts are having problems and which aren't?

I have recently been having problems running df -h, where it just hangs? I tried running dmesg and getting the following snipped output: [163075.079660] nfs: server 10.52.88.225 not responding, timed out [163255.559732] nfs: server 10.52.88.225 not…
Manish Narang
  • 87
  • 1
  • 1
  • 10
1
vote
7 answers

Can't mount Google drive folder in colab notebook

I'm trying to mount a directory from https://drive.google.com/drive/folders/my_folder_name for use in a google colab notebook. The instructions for mounting a folder show an example for a directory starting with /content/drive: from google.colab…
Max Power
  • 8,265
  • 13
  • 50
  • 91
1
vote
1 answer

How to display space variation on mac os

I'm looking for a way to display system drives on mac os X in order to use a method that let me show variation of free space in drives due to future file deleting or copying. I explain better: if I would copy a 10 Mb File from an HD to an USB key…
Wallkan
  • 480
  • 1
  • 8
  • 27
1
vote
3 answers

Correctly close file descriptor when opened through network mount

I'm currently trying to figure out how to correctly close a file descriptor when it points to a remote file and the connection is lost. I have a simple example program which opens a file descriptor on a sshfs mount folder and start to write to the…
Arkaik
  • 852
  • 2
  • 19
  • 39
1
vote
1 answer

How to mount azure file share to existing directory on linux vm

I have an existing directory on an Ubuntu 16.04 LTS virtual machine at /etc/elasticsearch. I also have created a file share in azure. I am able to mount file share to the VM successfully when the mount point is a new directory. However, when I…
Joe Berg
  • 774
  • 2
  • 8
  • 21
1
vote
1 answer

Access phone files via .NET

I have a OnePlus attached to a Windows machine via USB. I can see the file system objects on it via File Explorer. The phone is exposed via two locations, the D: drive, which is mounted as a CDFS and contains some OnePlus drivers. The other,…
BanksySan
  • 27,362
  • 33
  • 117
  • 216
1
vote
0 answers

Invoke mount point file path from Java code

I am trying to read file from a mount point in the server where I am deploying the java code. Part of the java code is as below: public static String encodeFileToBase64Binary(String fileName) throws IOException { File file = new…
SharletteMA
  • 85
  • 1
  • 3
  • 13