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
20 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
66 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
14 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
68 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
19 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
38 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
34 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
28 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
17 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
21 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 ...
0
votes
0answers
23 views

CentOS 8 - Adding extra drive, after reboot extra hdd was unmount

https://www.techotopia.com/index.php/Adding_a_New_Disk_Drive_to_a_RHEL_System I mount the new ssd using the tutorial from this page but successful mount the hdd as /dev/sdb1 but after reboot is gone?...
1
vote
0answers
35 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
48 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 ...
4
votes
2answers
316 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
28 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
83 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
104 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
18 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
90 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
19 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
26 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
108 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
65 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
63 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
235 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
29 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 ...
0
votes
0answers
19 views

Auto mount partition when attempting to `cd` (kind of lazy mounting)

I don't want to mount drive on boot, but I'd like to auto mount them when I attempt to cd in a given directory. For instance, say that i usually mount sda2 at /mnt/data. Then I would like the mount ...
0
votes
2answers
1k 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
60 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 ...
0
votes
0answers
20 views

How to inhibit auto-mounting a USB device? [duplicate]

I have a (probably vfat-formatted, but I don't think it matters) USB stick that I would like to not mount for security reasons (I will just dump the device image). However on any relatively modern ...
0
votes
0answers
88 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=...
0
votes
0answers
29 views

Solaris automount hanging after hostname change

Having spent most of my time on Linux boxes over the years, I found myself inadvertently changing the name of a Solaris 10 zone by issuing a hostname -f command. In Linux, this is "show me the host ...
1
vote
0answers
104 views

Automount with fstab and systemd

I added an automount rule to /etc/fstab for a USB drive in my board as follows: /dev/sda1 /media vfat noauto,nofail,x-systemd.automount,x-systemd.idle-timeout=2,x-systemd.device-timeout=2 .. I ...
1
vote
0answers
27 views

Can't automount smartphone in LXDE anymore

I used to plug in my smartphone into my laptop to access the internal storage as well as SD-card storage. Since some recent updates it stopped working. I unfortuntaly cannot narrow it down to a ...
1
vote
1answer
61 views

How could I mount a non-encrypted partition before crypttab starts?

I have an ARM server that I want to have booted with (not booting FROM) a USB flash drive containing a LUKS keyfile, that's needed to decrypt a hard drive I have connected to the drive. So in order to ...
0
votes
0answers
50 views

how to gracefully handle rsync failing, sometimes, to correctly read a directory?

Running Ubuntu 16.04 LTS fully updated on remote webserver Running rsync 3.1.1 on remote webserver I have a fairly simple setup where I allow some users to manage a set of publicly accessible files. ...
2
votes
1answer
160 views

pam_mount to mount ecryptfs-encrypted folder at login

My system has encrypted home by using ecryptfs-utils. I try to use pam_mount to mount a second encrypted folder, which has the same password, at login. After installing pam-mount package from ...
2
votes
0answers
48 views

Why do USB drives automount in /media/pi/?

I have a Raspberry Pi 3B+. At system installation of Raspbian stretch, user (sudoer) pi is created by default, belonging to these groups: pi adm dialout cdrom sudo audio video plugdev games users ...
0
votes
1answer
53 views

How can i check if a folder auto mounted on NFS share?

There are a folder /collect, i want to determine if this folder are auto mounted on NFS share. I got a method or tips like: "ls /collect" use "mount" to check if /collect on h%svcnfs1:/export/shared/...
0
votes
1answer
97 views

How to add fuse filesystems to the mount command?

I have used linux distributions in the past where the "mount" command could auto-detect the filesystem on a drive and mount it without having to use the "-t" parameter. Now, I am building my own ...
0
votes
0answers
100 views

USB automount on Armbian: what package am I missing?

I have just installed Armbian (Debian 9) on an SBC, and installed lxde, udisks2 and pmount. I would like USB sticks to be automatically mounted, but that isn't happening. udisksctl monitor correctly ...
0
votes
1answer
83 views

/etc/fstab is mounted too late, causing some daemon fail

I wrote some entries in /etc/fstab, for example mounting on /tmp. It seems systemd mounts /etc/fstab entries too late, after some daemon already started, for example Xorg. Xorg creates .X11-unix in ...
1
vote
1answer
281 views

Ubuntu Virtual Machine File Sharing — Mounting

I am running Windows 10 as my host OS, using Oracle VM VirtualBox Manager 6.0.8 as my virtual machine software, and Ubuntu 18.04.2 is my guest OS. I am trying to set up folder and file sharing. I ...
0
votes
0answers
124 views

Mount Windows share after Linux Login over OpenLDAP

Can anyone suggest a process that will allow a user to have their Windows network share mounted to a Linux directory after they are logged into the Linux machine via OpenLDAP? The current options I've ...
0
votes
1answer
72 views

Undetermined status for the set-user-ID and set-group-ID bits (suid vs nosuid options) on a mounted filesystem?

The man page for mount indicates: suid Allow set-user-ID or set-group-ID bits to take effect. nosuid Do not allow set-user-ID or set-group-ID bits to take effect. but no indication that one or ...
0
votes
1answer
397 views

Kerberos key fails with AutoFS

Our Kubuntu computers are configured to automatically connect to their network drive via AutoFS. When we upgrade machines to Kubuntu 18.04 LTS this AutoFS connection no longer works. It is still ...
0
votes
2answers
155 views

is it possible mount automatically if from some reason mount folder isn't mounted

we create the following mount point and nfsshare folder as share folder on all our linux client machines ( total 1872 machines - redhat 7.2 ) master1:/nfs 41932800 6563840 35368960 16% /...
1
vote
0answers
62 views

Allow all users full read/write access to CIFS share with automount/autofs

How can I configure autofs/automount so that every single user has full access to an auto-mounted CIFS share? More information This is what I currently have configured: /etc/auto.master /mnt /...
2
votes
1answer
132 views

Understanding Autofs mounting

So my auto.master looks like this, the server I am concerned with is server4-vn01.cifs. /- /etc/server.cifs --timeout=400 --ghost /- /etc/server2.cifs --timeout=400 --ghost /- /etc/server3.cifs --...
1
vote
1answer
359 views

reduce or delete existing root partition and install new distro

I would like to delete my existing Mint root partition which is on /dev/sda2 as its is very large space for root and I am out of space on the /home partition which is on /dev/sda4 I read online that ...

1
2 3 4 5
8