Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [automounting]

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

9
votes
2answers
16k views

Unable to mount drive as read-write

I have a 1TB HDD (/dev/sda1, mount point /run/media/<name>/4733A97E4133EADF) that I'm trying to mount as read-write, but I can only get it to mount as read-only. System: $ uname -a Linux <...
3
votes
1answer
529 views

thunar-volman automount and autoplay not longer working DVD/CD only

I'm running Debian Jessie, with xfce4. Problem automount game-DVD. USB-Sticks and USB-HD's are mountet as expected. I use udisks2. lsusb | grep -i media Bus 003 Device 003: ID 0e8d:1806 MediaTek ...
4
votes
2answers
17k views

/etc/fstab: meaning of “nofail” if “noauto” is already specified

From my understanding of /etc/systemd options, noauto means that the device will not be mounted at boot time (or with mount -a). Is there any situation where adding nofail changes the behaviour if ...
12
votes
1answer
3k views

systemd: How do I automount a USB filesystem using /etc/fstab?

I want my USB filesystems to automount when I connect the device. How do I setup automount with systemd via /etc/fstab?
2
votes
1answer
587 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 ...
1
vote
0answers
87 views

CDs will automatically mount, but not DVDs

I need for all devices to be automatically mounted. These discs contain some data files (these are RW discs, for the record). They are successfully mounted and accessed using the same drive on a ...
1
vote
0answers
31 views

Mount ATA drives on directory named after UUID

I need a way to automatically mount ATA and SCSI drive partitions on directories named for their UUIDs (e.g., /media/1234-ABCD) on a Debian jessie system without having to log in. Since the drives ...
0
votes
1answer
583 views

Add a dependency to a systemd automount

I have a esata drive that is connected to a normal sata port. The device is not discovered automatically, but can be scanned for manually by issuing echo "- - -" > /sys/class/scsi_host/host1/scan ...
5
votes
1answer
8k views

Mount error: mount failed: File exists

I am unable to mount my USB: $ mount /dev/sdb1 /mnt mount: mount /dev/sdb1 on /mnt failed: File exists What is the origin of this error and how do I mount my USB? The partition /dev/sdb1 is not in /...
1
vote
0answers
29 views

Proper automount on systemd Linux systems [duplicate]

What is the proper way to do a boot/hot-plug automount for ATA and USB storage devices on Linux systems using systemd without requiring a GUI or a user having to be logged in? It seems that calling ...
1
vote
0answers
771 views

Automount local drives on boot and hot-plug

I am trying to automatically mount all readable internal and external drives on boot and on hot-plug if they are not already mounted, preferably as a non-root user. I cannot use fstab to do this ...
1
vote
1answer
94 views

How does Ubuntu keep persistent access permissions for mount points of automatically per-user mounted devices?

I am trying to figure out how to manage ext4 formatted external hard drives and I have stumbled upon a behaviour that I do not understand. I noticed that if I change access permissions (or ownership) ...
1
vote
2answers
1k views

Fusermount mounting SSHFS directory works manually but not automatically?

My workstations run Debian Jessie and should automatically mount a remote directory over SSHFS when the user logs on to their desktop. We have a script to do so, located on the user's workstation: #!/...
1
vote
1answer
7k views

fstab does not mount automatically a NFS remote folder

I do not manage to get a remote directory automatically mounted during bootstrap. I am using the NFS protocol under Ubuntu 14.04 LTS. The server is 192.168.1.1 and the client is 192.168.1.2 The ...
2
votes
0answers
941 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
310 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
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 ...
5
votes
1answer
338 views

Debian: Automount based on UUID on plugin

I've got an ext4 pen drive whose UUID is bb7522af-2bda-4416-bcca-a076a1cf63a3. I want to be able to connect it after boot and mount it to /home/Shared/Vaderive (All-user shared). Is possible ...
3
votes
3answers
4k views

Tab completion hangs

When I first open a terminal, or open a new one after not having used one for a while, any kind of tab completion in my home directory (for example, ls and Tab) takes several seconds. I have seen this ...
3
votes
1answer
746 views

How do I get my DVD-RW to mount as a writable device instead of ROM?

I am trying to use my laptop (running Debian Jessie) and an external USB DVD reader/writer to burn an ISO to a DVD-RW. However, upon inserting my disk, it appears to have been detected as read-only: ...
2
votes
0answers
639 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 ...
1
vote
0answers
41 views

How to Change Settings To Allow Writing To USB Hard Drive In Debian

I have a external USB hard drive formatted in ext3 that I would like to use with my Debian Jessie system. By default the system will automount a USB hard drive in read-only mode when I plug in the USB ...
0
votes
1answer
537 views

CentOS 7 SSHD and automounted home directories?

Create a home directory export on a separate server. Create a second, local home directory on the test CentOS 7 server. Make sure the local and NFS homedirs have the same UID, GID and permissions. Put ...
1
vote
0answers
747 views

How to auto mount drive after every reboot

I am using centos 7 64 and i have a drive /dev/vdb and i am want to mount it to /home on every reboot. I have tried to do it by add below lines on /etc/fstab /dev/vdb /home auto defaults,nobootwait,...
1
vote
1answer
24 views

External storage devices not listed while init script is running

I have an /etc/init.d script that is supposed to detect an external drive mounted at /dev/sda1, if it's there it mounts it. This works fine on my odroid device with the following specs: pi@odroid64:~$...
2
votes
1answer
458 views

Automount disk connected through USB when the PC is turned on

I have a PC with Linux Mint 18 XFCE with an external drive permanently connected through USB. I never disconnect it. When I turn on my PC, the disk is recognized but it is not mounted. I have to "...
1
vote
1answer
3k views

How to automount sshfs? [duplicate]

I am trying to auto mount a remote resource through sshfs but is not working for me. I have read all of this, this, this and this before ask to see if I can get the solution for my issue but it didn't ...
1
vote
0answers
482 views

fstab automounted device not automatically unmounting [solved] [closed]

the fstab line in use: LABEL=kingston /media auto defaults,noauto,x-systemd.automount,x-systemd.idle-timeout=1min 0 0 which should work, according to the arch linux wiki but it doesn't ...
2
votes
1answer
1k views

How to auto mount an ssh file system on demand with an RSA key

I am trying to auto mount a folder from my raspberry pi (/home/pi/server_folder), to a local folder (/home/my_name/raspberrypi). I can do this with sshfs (auto mount in fstab) when I set up a blank ...
1
vote
1answer
93 views

Conditionally mount Windows partition

Since I'm using dual-boot (Windows 10 / CentOS 7) I want some files to be shared between the two OS, such as music, photos, etc. So I thought that it would be nice to auto-mount my Windows data-...
2
votes
0answers
168 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 ...
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 ...
4
votes
1answer
616 views

How to run script on fstab mount failed and try once more? Like handle exception

I believe the question is clear. But will add some details and history. I have two systems Win10 and Manjaro Linux. After reboot from Windows to Linux, I try to mount NTFS file systems, and mount ...
1
vote
1answer
548 views

Can I mount a SDcard READER in fstab?

I'm new to linux, bought an hp stream 11, and downloaded arch to maximize use of this craptop. I got a sd card for Personal File storage mounted as /home. I wish to use multiple cards that i can ...
2
votes
1answer
81 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
299 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
444 views

Integration of `afuse` with `sshfs` as a (systemd?) user-daemon spawned from login or first shell

To facilitate working with remote files, I setup afuse with sshfs to run from my .bashrc. It works, after bash init all my remote trees from ~/.ssh/config/ are mounted on-demand under ~/scp/, but ...
1
vote
2answers
3k views

Location of automounted USB devices

I am creating a GUI app using tkinter and python. The app calls for a user to plug in a usb flash drive containing video files. I am launching the app with openbox. The USB does not seem to be ...
0
votes
1answer
546 views

Automounting internal partition and usb

I'm running arch Linux with i3 window manager and I'm wondering if there's a way to replicate Ubuntu behavior about auto mounting internal partitions and USB. More precisely: Mount all partitions and ...
2
votes
1answer
1k views

How does Dolphin discover the disks to mount?

After I ran Dolphin, I noticed that two new mounts, like dev/sda1 for windows NTFS and dev/sdd1 have appeared in my system. Where are they defined? It is not surprise that I could not find them in /...
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 ...
1
vote
1answer
568 views

Automount with autofs, encfs and keyring access

I have build myself a nice setup: I have encrypted encfs folders that are mountable with autofs, i.e. when I enter the folders they will be automatically decrypted. I have the encfs password added to ...
1
vote
2answers
1k views

Automatic Mount at Boot For Xubuntu

I'm trying to follow these instruction to mount a second hard drive: https://help.ubuntu.com/community/InstallingANewHardDrive For automatic boot at mount it says I need to enter this into the ...
0
votes
1answer
7k views

Mount an hard drive at start-up

I'm using Fedora 23 with KDE Plasma. I'd like to mount automatically my hard-drive at start-up. Here is a screenshot of my situation : Any idea ? Thanks
0
votes
1answer
319 views

Difference between automount and the use of udev rules and autofs to automatically mount and dismount USBs, CDs and DVDs

Ubuntu 16 (and 14 and 12 and 10) runs fuse-gvfs and does not need any daemons to mount USB drives. What is the difference between automount and the use of udev rules and autofs to automatically mount ...
0
votes
1answer
1k views

Automount USB sticks on fedora 22

I need to automount any USB stick that gets connect to any USB port. I am running Fedora 22. I thought this would be straightforward but it is taking a while for me to set up. The tutorial I find when ...
1
vote
0answers
293 views

Static CDC ACM device binding

I'm using a buildroot linux on IMX6 board. I have 2 CDC ACM device, a reader and a modem. My modem have always been on /dev/ttyACM0 and I want it to stay that way. The problem is that my reader is "...
0
votes
1answer
236 views

How to automount directory as C: in DOSBox and autorun defined application

I know how to install DOSBox but run it always with a defined configuration? install dosbox automount a folder, let's say /home/user/dos/c run a defined application, let's say boovie.exe in ...
1
vote
2answers
433 views

Tolerant file system for a failed automount

(I am running openSUSE 13.2) My current setup I have an external backup drive which I mount at boot with the following line in my /etc/fstab: /dev/mapper/cr_backup /backup ext4 comment=...
1
vote
0answers
96 views

systemd: gracefully fail backup when external disk not plugged in

I have a backup setup where I use systemd timers to do hourly, daily, weekly, and monthly backups. Each timer unit triggers a service that runs the backup script. The backup service units are of the ...