Skip to main content

Questions tagged [mount]

Attaches a file system to a specified point in an existing filesystem hierarchy

3 votes
3 answers
264 views

NTFS disk is visible in windows but wont mount in Linux

I have a USB storage drive which is using NTFS. It works perfectly in Win10, I can see the drive and the files and read and write without issue. I was previously able to mount this drive on my Arch ...
Neros's user avatar
  • 179
1 vote
2 answers
55 views

XFS mount takes too long at boot

On my backup servers I created XFS LVM volumes for each hosts I backup. The server is a Lenovo running 930-16i hardware RAID adapter with SATA disks. When I reboot the server, it sometimes falls in ...
darxmurf's user avatar
  • 1,188
8 votes
5 answers
968 views

How to clearly indicate a device is not mounted

Is it a good idea to add an empty file, say a file called NOT_MOUNTED, into mountpoint directory when the backup storage device is not mounted? Or will this be confusing? Is a symlink better, that ...
Markus Klyver's user avatar
0 votes
0 answers
32 views

How can we delete the files of big size around 5gb per file in azure pvc csi type?

I am running below code through my java utility method which will delete the data in my mounted voulme which is there in azure pvc azurefile-secured-premium-lrs. We have auto scaling which is trying ...
Rajesh Bhardwaj's user avatar
-1 votes
0 answers
54 views

Docker support for idmap in bind-mounted volumes

I have a Docker container that has access to a certain directory on the host using bind-mount (--volume /host/directory:/shared). On the host, this directory and its contents are owned by UID 1001. On ...
MarSoft's user avatar
  • 282
6 votes
1 answer
197 views

pam_mount results not available in pam_exec

How can a pam_exec script access mounts performed by pam_mount? I have a working auth optional pam_mount.so PAM configuration such that the device is not mounted before entering the passphrase (tested ...
Ross Patterson's user avatar
0 votes
0 answers
34 views

systemd service which only runs when a specific usb drive is mounted

I have a udev rule which looks for a specific usb stick (VID and PID), and then starts a templated systemd service: KERNEL=="sd[a-z][0-9]", ... ACTION=="add", RUN+="/...
kalj's user avatar
  • 111
0 votes
1 answer
58 views

Linux: prevent filesystem remount

Is there on Linux any mount options or anything else (that I can specify in /etc/fstab) that prevent the possibility for a filesystem to be remounted via mount -o remount,... ? For example, let's ...
Morix Dev's user avatar
  • 143
0 votes
0 answers
55 views

Why do NFS-backed files remain visible in a VM after host umount when shared via virtiofs?

I am curious about the behavior of Virtual Machine. Environment There are two computers. 192.168.180.10: NFS Server Rocky Linux 9.6 192.168.160.30: VDSM Host (NFS Client) Rocky Linux 9.6 VDSM ...
TyeolRik's user avatar
  • 101
2 votes
1 answer
412 views

Linux auto-mounting USB with UDev

My task is to have a custom mount point and for the mount itself to happen automatically. that is, the device is connected, a folder with its name is created in some place (/mnt/usb/{name}) and the ...
richstog's user avatar
0 votes
1 answer
53 views

Read-only mount a btrfs image and overwrite UID

The story is that a week ago my local disk faulted, and I dd'd the entire disk device to a full.img file and uploaded it to my OpenMediaVault server. Now I have replaced the disk and reinstalled the ...
Sprite's user avatar
  • 131
0 votes
1 answer
72 views

Cannot mount SanDisk Clip Sport Go

I just picked up this SanDisk Clip Sport Go MP3 player from an auction online. On Linux Mint 20.3 (Una) when I plug it in, after a LONG time (30s maybe? a minute?) I eventually hear the "device ...
Brian Pipa's user avatar
0 votes
0 answers
65 views

Why mount a directory to itself. mark it make-rshared and mount option inside a container

I’m using BTRFS snapshots for my backups with Restic, and with the help of GenAI I created a script to automate the process. I take snapshots of a subvolume called home, which contains three ...
matteo-g's user avatar
  • 103
3 votes
1 answer
146 views

How to view the ID mapping of a mount on Linux?

For a while, Linux has been supporting ID-mapped mounts. The mount(1) manpage tells us that these can be set up using the X-mount.idmap option. But how can we view the ID mapping of an existing mount? ...
F30's user avatar
  • 601
1 vote
1 answer
102 views

Failed to mount partition

This is my fstab file: # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name ...
birdman's user avatar
  • 407

15 30 50 per page
1
2 3 4 5
238