Questions tagged [automounting]

Automounting is the process where mounting and unmounting of certain filesystems is done automatically by a daemon.

Filter by
Sorted by
Tagged with
0
votes
1answer
13 views

autofs shall mount depending on network/address

when I use my notebook not in my office network, the auto mounter should not try to mount my /etc/auto.share entries. Is there a setting avoiding the mount depending on the network/address? The big ...
0
votes
0answers
7 views

VirtualBox `shared folder` not automounting

I've set up a Shared Folder in VirtualBox marked as Read-Only, Automount and Make Permanent as a Machine Folder, but whenever I move into the vm and use my previous tried-and-true approach (from older ...
0
votes
0answers
21 views

Problems using autofs to mount an LDAP user's home directory

Goal: When an LDAP user logs in from a remote server, the home user created in the LDAP server is automounted. I need to do this with autofs. OS: Centos 7.7 Setup: The LDAP server, labipa.dthacker....
0
votes
2answers
32 views

rclone mount webdav whenever a certain application is started

I'd like to automatically mount a nextcloud directory (webdav) with my keepass-database in it using rclone whenever I start KeepassXC and unmount it after closing Keepass. Is there any way to do this (...
1
vote
0answers
61 views

Conditional mounts with systemd

I wish to utilize several conditions to either do a bind mount or an NFS mount as described below. I have seen (limited) discussion on simple conditional mounts, but I have not seen any examples for ...
0
votes
0answers
12 views

I have no attempts to query a password when using a crypttab

I want to auto-mount my encrypted(veracrypt) partition at system boot time. According to the documentation, I have three attempts, but after the first wrong attempt, the system boots and I get an ...
0
votes
0answers
77 views

RHEL - Mounting CIFS Permission Denied (Error code - 13)

I understand that a lot of people have posted on this issue, I have read through a whole lot of them before I try to post this question. I have tried the many of the provided solution, none have works ...
0
votes
0answers
31 views

Automount zfs on login, auto unmount on logoff

What I want I want to login (ssh, gdm, or any other way) and have my zfs datasets mounted with my login password. I don't want to have to type in my password a second time. When I log off I want the ...
1
vote
2answers
115 views

Mount ext4 with UUID in /etc/fstab

I'm trying to mount USB thumb drive to my router. My USB thumb drive is 32GB,divided to two partitions : 16GB NTFS and 16GB ext4 . The 16GB NTFS partition will be automatically detected in router as ...
0
votes
0answers
70 views

How to mount Nikon Z6 as mass storage device?

When I plug in my Nikon Z6 in via USB it mounts with a weird URL: gphoto2://[usb:005,004]/ I can access the videos/photos on the card, but it is mounted as root and I cannot delete them (which is ...
1
vote
1answer
177 views

Manjaro linux error: Failed to start Remount Root and Kernel File Systems

I am using Manjaro Linux with 5.7.9-1-MANJARO kernel. The system boots, but with an error Failed to start Remount Root and Kernel File Systems. I took a look at the Manjaro Forums as well as the ...
0
votes
1answer
29 views

Linux not mounting flash drive when flash's LED fades in and out

My flash drive, a Transcend 16GB USB 3.1, with a built-in LED, has a new lighting pattern that correlates with Fedora 32 Linux, kept evergreen, on my Dell Latitude E6400 laptop, failing to automount ...
0
votes
0answers
106 views

CentOS 8 is not auto mounting my APFS partition

I have a USB External SSD with 4 disk partitions. The file system of partitions are APFS ExFAT ext4 NTFS I'm using kernel version $ uname -r 4.18.0-193.6.3.el8_2.x86_64 checking ls -al /dev/sd*... ...
0
votes
1answer
24 views

Why is automounting not working for this program?

systemd's automounts are generally working very well here. There is one exception: The VDR program fails to start after a reboot because it can't access its data directory, which is mounted via ...
1
vote
1answer
41 views

2 SSDs, different mount points

I have 3 disks: 1TB HDD with 2 partitions. This is where my Ubuntu is installed. uuid: 4bed12f2-c8be-4cb8-943b-7a92b810322d 240 GB SSD. uuid: 0f2bd77d-5c9b-412f-be15-a18eabe1a62d 250 GB SSD. uuid: ...
0
votes
0answers
36 views

simple bash script mount drive

I want to, after a short delay, mount one or two drives labeled achive1 and archive2 respectively. /dev/sdb1,/mnt/cee17e82-ab0d-424a-988c-70abe8f30f91 /dev/sdc1,/mnt/6c5d1f6c-3113-4cb9-b64e-...
0
votes
1answer
15 views

Duplicated root mount point

I'm using a dual boot computer with Mint and Arch Linux, both sharing some home sub-directories via symbolic link, the link was point to /mnt/shared where I mounted a partition. Everything was working ...
0
votes
0answers
116 views

Auto-mount disk at start-up on Fedora 32 Linux

I can't get a disk to auto-mount at start-up since I upgraded to Fedora 32 (from Fedora 31, with clean install). Although if I issue a sudo mount -a after boot, the disk mounts immediately. I didn't ...
0
votes
0answers
33 views

Run a script as root to map and then mount a LUKS volume, at user login?

I have a LUKS volume (cryptsetup) which I want to mount each time I boot: not automatically (e.g. with keyfile), but by entering the "passphrase" in a Terminal. My first approach was to try an @...
0
votes
1answer
22 views

Is it practically possible to make an encrypted partition be auto-mounted without entering a passphrase?

I've just discovered the joys of encryptsetup. I'm now wondering about the possibility of auto-mounting a partition which is encryptsetup ("LUKS") formatted. I found this article, which talks about ...
0
votes
0answers
95 views

VeraCrypt and crypttab: cannot automount 2 VeraCrypt volumes

I have 2 partitions, /dev/sda1 named as data1 in /etc/crypttab, and /dev/sdb1 named as data2, that I have encrypted using VeraCrypt, and more precisely I have encrypted them as hidden volumes. I would ...
0
votes
1answer
31 views

unable to mount device

Im trying to use two atapi devices at the same type one EIDE and one SATA, reported by dmesg | egrep -i --color 'cdrom|dvd|cd/rw|writer' as [ 23.551700] pktcdvd: pktcdvd0: writer mapped to sr1 [ ...
0
votes
1answer
39 views

How to have a luks-protected LVM volume mounted at boot

I have my primary Ubuntu install on one disk, and a secondary install (for offline backups of the primary) on another disk. For convenience, I would like the root volume of the second install mounted ...
4
votes
1answer
262 views

How to allow non-root users to mount bitlocker encrypted external drives?

As a non-root user I would like to be able to mount external hard drives which have been encrypted with microsoft bitlocker. The admin (with root access) can set something up if I can tell him how to ...
0
votes
0answers
92 views

Odd and inconsistent behavior of gnome polkit authentication agent upon mounting USB drive

System: xfce4 on Debian 10 with lightdm and polkit-gnome-authentication-agent1 I'm having a baffling problem where in some sessions I get the authentication prompt upon mounting a USB drive and get ...
0
votes
1answer
351 views

Mount vs automount systemd units: which one to use for what?

After doing some research about systemd units, I found two different kinds of mount unit: the .mount and the .automount. At first, it seemed logical to me that the automount unit would mount a mount ...
0
votes
0answers
95 views

ext4 partition from remote computer shared on network not mounting on linux via fstab

The first one works the second mount doesn't. The first mount disk D is ntfs attached via USB on a windows computer and H is attached via USB2 on same windows computer . /etc/fstab //192.168.5.167/D ...
2
votes
2answers
57 views

Is a systemd automount point mounted or not?

mountpoint reports a mountpoint even if a systemd automount is not mounted: % mountpoint /media/ssd /media/ssd is a mountpoint % mount | grep /media/ssd systemd-1 on /media/ssd type autofs (rw,...
0
votes
1answer
180 views

USB drive device name missing partition number

How does Linux determine the partition number on USB drives (/dev/sdX**#**)? There is a brand of USB drives that when inserted into Linux don't install with a partition number. For example, they ...
0
votes
1answer
55 views

Why does default mount point of removable media contains username?

I'm using Manjaro Linux. When I plug new removable devices like USB, it is auto mounted on /run/media/<username>/<label>. Why does this path contains username? I mean, it is plugged to ...
3
votes
1answer
21 views

Find out what is mounting my external HD and change ownership?

OS: Linux Mint 18.3. I have an NTFS-formatted external HD which just gets automounted when I boot up. I'm just trying to find out what actually does that, and whether it's possible to set the ...
0
votes
1answer
35 views

Can’t mount mapper device at boot on Debian

My /etc/fstab file is the following: proc /proc proc defaults 0 0 /dev/root / ext4 rw,errors=remount-ro 0 1 tmpfs /dev/shm tmpfs mode=0777 ...
1
vote
0answers
38 views

Which services/daemons/etc are responsible for (auto)mounting on Linux?

I have a Makefile (source here) which uses Raspberry Pi 4 Arch Linux .tar.gz image and generates /boot FAT and / (root) EXT4 partition images to be used later for generating SD card or for further ...
0
votes
0answers
100 views

Trying to automatically mount a backup device on plugin and run a script

I am currently trying to automate backups for my laptop and while doing so fell down some rabbit holes by using old and no longer working solutions. Now I'd like to ask for some advice to improve upon ...
5
votes
2answers
2k views

How do I automount usb drives in Linux (Debian)?

With every new release the way to automount USB drives in Linux seems to change (fortunately I'm using Debian, so I'm only losing a few days on this every 2 years). We used to have usbmount, udisks, ...
0
votes
0answers
29 views

Mount a partition when accessing a file in it or cd into it

I'd like a partition on a hard-disk to be mounted when I try to access it. For example, if /dev/sda2 has label SDA2, when I cd /media/root/SDA2 /dev/sda2 will be mounted on /media/root/SDA2. I ...
0
votes
2answers
232 views

Auto-mount cryfs on startup

cryfs requires a password/passphrase entry for mounting a filesystem. I want to automatically mount a FS at startup (like calling a script from inside of rc.local to do the job). (the encrypted ...
0
votes
1answer
177 views

Drive mounts with mount, but not autofs automount

Second day on this, so I'm definitely doing something wrong. Can mount a spare drive to user's home subdirectory mount point, with correct permissions for user to use it. Doing that with just simple ...
1
vote
0answers
19 views

On systemd-based systems how can I control mount options based on properties of the volume to be mounted?

In particular I would like to be able to control umask/dmask based on properties such as the file system type being mounted. Is there a way to control mount options based on the file system type with ...
0
votes
0answers
330 views

NFS4 “Stale file handle” after server reboot

I've researched a lot on this and have concluded that this is actually a bug of Linux NFS, as all similar questions don't have satisfying answers, like, Stale file handle after server reboot "...
1
vote
0answers
28 views

How to setup a “typical” USB auto mounting on Gnome?

On arch-linux, when gnome is installed - it doesn't setup a USB auto mounter by default. While the wiki has examples of different auto-mounters, how would I setup a typical auto-mounter (what gnome ...
0
votes
0answers
36 views

Drive mounted multiple times

I am running Kubuntu, installed on my computer's SSD. I have an HDD, which used to be mounted as DATA. Then I ran a Docker container that mapped one of its volumes to a directory in DATA. I'm not ...
2
votes
2answers
172 views

Struggles with udev

I want to automount my SD-Card on Ubuntu. I tried the following rules using udevadm (or /lib/systemd/systemd-udevd). KERNEL!="sd[a-z][0-9]", GOTO="media_by_label_auto_mount_end" # Import FS infos ...
0
votes
1answer
220 views

Automatically mount all USB drives under certain folder

I'm trying to make Raspbian automatically mount all available paritions on USB devices under a certain folder. I heard of fstab rules but those seem to require knowing the UUID of all devices meaning ...
1
vote
2answers
140 views

unmount SD card makes file checksum change

I have an SD card mounted by Lubuntu at /media/$USERNAME/COREELEC/ I need to copy a file from one directory to another and rename it. However if I check the md5sum (or sha512sum) after I unmount it ...
0
votes
2answers
657 views

unable to chmod inside shared folder of virtualbox

I have shared a folder from Windows on to my virtual machine. The shared folder is being mounted correctly, and I am able to read write within the folder, but unable to change permissions of any file ...
0
votes
0answers
49 views

Is there a place / way to automatically mount an NFS share at boot that is not fstab?

I have an NFS share that I want to mount at boot, but cannot mount from fstab because it appears to cause blocking boot problems (centOS 7) (not yet sure exactly why, all I know is that rooting in in ...
1
vote
2answers
3k views

(Ubuntu 19.04) NFS share won't automount at boot: 'mount.nfs: Network is unreachable'

I cannot figure out how to mount an NFS share at boot. I've tried a couple different things (listed below) and nothing has worked. In both instances, they require network-online.target, yet they don'...
1
vote
1answer
73 views

mount /dev/sdc1 /media works but fstab fails to mount

I'm running archlinux and have an ext3 10Tb internal harddrive that is failing to mount on boot through the fstab entry. If I use mount /dev/sdc1 /media, the mount succeeds however attempting to do a ...
1
vote
1answer
180 views

Cleanly unmount a usb drive with systemd

I configured an automount for a USB drive by adding an extra rule to /etc/fstab as belows /dev/sda1 /media vfat noauto,nofail,x-systemd.automount,x-systemd.idle-timeout=2,x-systemd.device-timeout=...

1
2 3 4 5
8