Questions tagged [automounting]

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

106 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
1k views

No access to symlink folder on NTFS partition

I am using an NTFS parition for storing data I like to access both from Ubuntu and Windows 7. On my Ubuntu HOME partition, I like to link the folder Assets in order to access it from an application ...
5
votes
1answer
3k views

How to deal with freezes caused by autofs after network disconnect

I mount four servers (3 via cifs, 1 via sshfs) using autofs. auto.master /- /etc/auto.all --timeout=60 --ghost auto.all /mnt \ /server1 -fstype=cifs,rw,credentials=/etc/.smbcredentials....
4
votes
0answers
347 views

Linux Mint fails to boot if unable to mount (shared) device listed in fstab

I have a dual-booted system of Mint and Win7, both of which share an external drive storing non-essential files. I listed the drive in /etc/fstab/ UUID=693E145023EB681E /media/External_HDD ntfs-3g ...
4
votes
0answers
1k views

UDEV-Rule to mount USB-Stick / execute script

I have a problem with an udev-rule. i simply want to mount a usb stick when it is plugged in. the rule correctly executes a script which mkdir the mount point and then calls mount. everything seems to ...
3
votes
0answers
52 views

implementation of mounting external hdd and usb stick

Lately I've been interested in knowing how Ubuntu(bionic) and Fedora(27) implement the auto mount features and especially how to change the mount properties (noatime, relatime and other niceties.) ...
3
votes
0answers
179 views

How to stop Wine from assigning drive letters to mounted devices automatically?

Every time I attach a USB drive while or before running a Windows application with Wine, Wine notices it and adds a drive letter for it automatically. I would like to disable this feature in favour of ...
3
votes
1answer
70 views

HDD unique identifier

I would like to automount some hdd on logon, how can I check if connected HDD (via USB) is exactly that HDD which I am thinking of, and that there were no partition changes on it. Above information ...
3
votes
0answers
2k views

Ubuntu 12.04 LTS doesn't auto-mount DVD drive

For some reason, my Ubuntu has ceased to auto-mount DVD media. I can do manually sudo mount /dev/dvdrw /mnt/dvdrw and mounting happens fine and I can access the media. But it doesn't do it ...
3
votes
0answers
2k views

Seagate external hard disk creating problems

I've bought a new hard disk, a Seagate (Backup Plus), but I'm having problems with it. Firstly, it doesn't mounts every time I plug it in. In such cases, I've got to restart the machine to work with ...
3
votes
0answers
1k views

Is autofs the only open-source choice for mounting nfs and/or cifs

I've been using autofs for a number of years and was wondering if there is an alternative to autofs that would handle cifs/smb shares in a more interactive way? When I say more interactive I'm mostly ...
2
votes
1answer
49 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
27 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 ...
2
votes
1answer
41 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 --...
2
votes
0answers
148 views

Why does BTRFS filesystem mount automatically?

So I've made a btrfs filesystem that spans across one logical drive (md1) and a USB drive. its all raid 0. so that: sata\ md1--\ sata/ \ btrfs called "Storage" usb-------...
2
votes
0answers
27 views

Remove spaces from Auto-mount mountpoint

Is it possible to remove spaces from auto-mount mount point label? For example: If insert a thumb drive that has the name "Device Name With Spaces" it should auto-mount to /media/...
2
votes
0answers
125 views

NFS Client Hangs After Inactivity On Mounted Folder

We can mount the export using NFS and use it to our hearts content. However, after roughly five minutes of inactivity on the client side, we can no longer interact with the mounted folder. All ...
2
votes
0answers
45 views

is it possible to modify GUI mount options?

I'm using Fedora 25 with Cinnamon as a DE and I wonder if there is a way to modify mount options that are triggered when clicking on a partition name in the GUI. precisely I want to know: What is ...
2
votes
0answers
292 views

How to automount SSHFS shares for a user upon login?

My question is how to mount SSHFS shares as the user (not root) upon demand or upon user login using only tools that are in my distro's core repos. I'm using Arch. I don't mind writing a small script, ...
2
votes
0answers
715 views

Mounting afp share via fstab crashes boot boot process but works after boot

I just migrated my NFS shares to AFP shares. It looks like it works like it should so I added the records to my fstab: afpfs#afp://username:password@192.168.1.100/Transfer /home/andy/NAS/Transfer ...
2
votes
1answer
1k views

How to execute a script after every systemd automount?

I am trying to setup a system such that a script gets executed everytime any USB storage device is mounted (in this case, automounted by systemd). Based on a few references here, here and here, ...
2
votes
1answer
645 views

systemd: autofs containing autofs does not unmount

I'm trying to set up two directories, each automounted: /mnt/dir /mnt/dir/subdir In my case, these are: /mnt/btrfs-vol/rootfs (read only) /mnt/btrfs-vol/rootfs/btrbk-snap (RW for taking snapshots ...
2
votes
2answers
4k views

How to stop auto mounting of devices in Ubuntu?

I have an Ubuntu 16.04 LTS desktop system that I use to rescue disk drives (using dd or ddrescue). Whenever I plug in a disk drive it is automatically mounted and shown in the file manager. I don't ...
2
votes
0answers
1k views

Automount webdav server on startup with internet

What I am trying to do? making the https://dav.example.com/ automount on startup and without asking user credentials. what steps I've undertaken? I followed official archlinux wiki to setup my ...
2
votes
0answers
315 views

mount.cifs without put user password again

I'm already did the login with user an generate kerberos file: #klist Ticket cache: FILE:/tmp/krb5cc_625342619 Default principal: wecitrixteste@MYDOMAIN.CORPDOMAIN.COM Valid starting Expires ...
2
votes
0answers
654 views

Mount ext4 formatted mircosd on Nvidia Shield TV

I have a rooted Shield TV but I can't figure out how to mount the microsd card. I see that the file system is supported but I don't see where the device is listed. Usually I would look for mmcblk or ...
2
votes
0answers
123 views

Apache: how to access files using the requesting user's credentials?

I have a domain-joined (via samba/sssd) CentOS 7 server, acting as a SFTP server, which has a mountpoint mapped to a Windows' share: SFTP Client -> Linux SFTP Server -> Windows File Server My goal ...
2
votes
1answer
83 views

Register callback for newly inserted disk?

I was wondering if there was a way to register a callback with the system so that when a user attached an external drive my callback is called and I can then proceed to manually mount the disk. What ...
2
votes
1answer
314 views

Why does mounting external harddrive trigger a UFW event?

Today I noticed when I plug in my 2TB external Toshiba hard drive, it triggers a ufw event in my logs: Jul 20 11:24:20 linuxbox kernel: [152873.728277] [UFW BLOCK] IN=inet1 OUT= MAC= SRC=xxxa DST=...
2
votes
0answers
186 views

External HDD won't Mount during Boot

I've got a Cubox-i4Pro running Debian Jessie hooked up to an external USB3/eSATA dual HDD dock (via eSATA). It originally only had one WD Green 2TB drive installed. Via UUID in fstab this auto mounted ...
2
votes
0answers
414 views

How to disable systemctl unit?

I have a home.mount unit that mounts my home directory to a partition different than what I wish. Things I have tried: Using fstab to override it. However, fstab does not mount /home unless I type "...
2
votes
1answer
878 views

USB hard drive doesn't auto mount

I just bought a raspberry pi and want to start using it as a NAS. I'm fairly new to this, but I've gotten this far.. I've got an external hard drive (freshly formatted NTFS) connected with a USB cable ...
2
votes
2answers
1k views

What regulates user privileges for the `mount` command?

My installation of CentOS 6.5 has stopped auto-mounting DVDs in KDE (default) X Window desktop environment (e.g. with all the KDE helper functions). Trying to troubleshoot this unexpected change in DE ...
2
votes
1answer
200 views

encfs automount and authorized_keys

Here's my problem: I have encfs configured in such a way that on login the subfolder ./private is mounted. However, when I use the workstation remotely via ssh, I don't give my password on login, ...
2
votes
0answers
631 views

How can I semi-automatically mount a TrueCrypt volume using built in system tools?

I recently purchased a new external hard drive and encrypted it with TrueCrypt as I want it accessible from both Windows and Linux. However, when I try to access the mount point for it in Linux it ...
2
votes
0answers
509 views

Mount from auto to manual and changing dir gives errors

I just installed Ubuntu 14.04 and am trying to mount my internal HD to a different location in the /home/username dir (auto-mount mounts it to /mnt/{uuid} ) But I ran into a problem. In Disks, when ...
2
votes
0answers
355 views

Issues accessing CIFS share directories

Disclaimer 1: Crossposted from Serverfault because there was no activity over there. Disclaimer 2: This question is similar to Automounting not working correctly for CIFS shares; weird results but ...
2
votes
0answers
852 views

Automount of NTFS USB partitions on Gnome fails if device name is sdb (FAT32 is OK)

When I plug a USB storage device (i.e. USB key) on my computer with Gnome, the filesystems available on the device are automatically mounted (in /media/<partition-label>), and a file explorer (...
1
vote
0answers
24 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 /...
1
vote
0answers
231 views

Alternative to autofs to mount CIFS folders in user home folders in multi-user environment

My use case seems very simple. I want to automount CIFS folder CIFS1 and CIFS2 which exist for all users on my fileserver in each user home during login on this multi-user 18.04 Ubuntu machine. So ...
1
vote
0answers
275 views

Automount LVM logical volume with a udev rule and udisks2

I want to automatically mount an LVM logical volume on an external drive as soon as it is connected to the computer. The solution I choose here is to use udev to detect plug in events and udisks2 to ...
1
vote
1answer
20 views

How do I notify some running app of a drive being mounted by usbmount?

I'm using usbmount to mount / unmount USB drives when they are inserted / removed on my Raspbian machine. A C++ app reading MP3 files from the drive and playing them now needs to get a hint every time ...
1
vote
1answer
255 views

Mounting nested ZFS filesystems exported via NFS

I have a linux (ubuntu) server with a zfs pool containing nested fileystem. E.g.: zfs_pool/root_fs/fs1 zfs_pool/root_fs/fs2 zfs_pool/root_fs/fs3 I have enabled NFS sharing on the root filesystem (...
1
vote
0answers
33 views

How to organize mount points of connecting devices?

When I am connecting my external HDD to my Ubuntu box, it mounts several partitions under /media/<username>/<uuid> When I am connecting my mobile phone, it mounts under /var/run/user/&...
1
vote
0answers
152 views

sshfs with automount failing silently

I am attempting to "permanently" mount a network drive (CentOS 7.4) on my local machine (macOS 10.12 Sierra) using sshfs and automount First off, is this actually the most appropriate tool to use ...
1
vote
1answer
35 views

Dynamic Drive HotSwapping

Setup is simple. I have a rack-mounted server with 24 5" drive bays in the front. The server runs PLEX. Each HDD is NTFS partitioned and contain optional folders in root. Server is running Debian8 (3....
1
vote
1answer
526 views

Auto-remount CIFS share

I have a CIFS mount in fstab which works fine, except when something goes wrong with the network or the remote server and it doesn't recover. I want the share to auto-remount in the event of failure, ...
1
vote
0answers
89 views

autofs mount all devices from specific type

I want to mount ALL USB devices with one autofs entry. I can't mount the device by it's ID, Label or something like that. I need to duplicate it and don't know every single usb device on every single ...
1
vote
0answers
138 views

Trigger script to run when USB drive connected with no user logged on on Ubuntu 18.04

I'm working on a DIY NAS project running on Ubuntu 18.04. I want to implement the following feature: when an external USB disk is connected (could be a specific disk identified by UUID or ...
1
vote
0answers
453 views

NFS shares on a laptop

I need to mount NFS shares on my laptop when I am in the office and plugged into a wired Ethernet connection (via a dock). Is there a reliable way to automatically mount and unmount NFS shares in this ...
1
vote
1answer
49 views

Mounting shared directory at boot in CentOS (VirtualBox)

this seems to be a common question but I still can't find an answer that works. I have two CentOS VMs running under VirtualBox 5.2.6. I've successfully mounted a directory from VM1 onto VM2, and ...