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.

0
votes
0answers
21 views

AutoFS for mouting Samba share with Kerberos Ticket

I've setup a Samba AD on Debian Stretch. Another stretch client node is able to authenticate using AD credentials. The domain user has limited rights on the client node, meaning he can't mount ...
1
vote
1answer
15 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 ...
0
votes
1answer
26 views

Gallium OS cannot mount an sd card

I'm working on an HP Chromebook kip When I first installed the sd card, it read as mounted, but I couldn't transfer files to it. In trying to fix that problem, I managed to unmount it (or so I ...
0
votes
1answer
17 views

Setting disk ownership when Nemo mounts a hot-plugged USB block-device?

How does one control automount ownership, i.e. the mount 'seat' ownership? In Nemo's left pane, under Devices, manually clicking on a plugged-in, but not yet mounted, USB memory device, cause it to ...
2
votes
0answers
74 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-------...
0
votes
2answers
68 views

Disable automounting with commands in Xubuntu 18.04

I run a number of Xubuntu 18.04 machines, and set up more from time to time. I want to be able to turn off automounting of USB sticks with commands, so that it becomes an automatic part of my setup. ...
0
votes
1answer
60 views

Fedora tries to mount deleted swap partition which is not in fstab or systemd

When creating a new swap partition in Fedora 29 to enlarge it I removed the old one using GParted and removed their respective entries in /etc/fstab. I created new entries for the new swap partitions ...
1
vote
1answer
104 views

Unable to edit auto_master under macOS Mojave [closed]

I'm running macOS since several years and I have an auto_master file that contains my mounts config. On a new Macbook, I cannot edit this file which is in the /etc folder and I have the following ...
0
votes
1answer
34 views

Centos 7.5 autofs posix acl support

On centos 7.5 I have mounted NFS share(from isilon server) via autofs service. Now when I run setfacl -d -m g::rwx /path/to/share/location it gives error setfacl: /path/to/share/location Operation ...
0
votes
1answer
34 views

nosuid doesn't prevent chmod u+s

I follow a tutorial to secure my /etc/fstab file. This is a certain part about /var and /tmp UUID=XXXX-XXXX-XXXX /var ext4 defaults,nodev,nosuid,noexec 1 2 UUID=ZZZZ-ZZZZ-ZZZZ /tmp ext4 defaults,...
0
votes
0answers
14 views

Confused with the term mounting in terms of devices [duplicate]

When I plug a device such as an SD card into my Ubuntu computer, I understand that Linux automatically mounts the device. So when I run fdisk -l , the device will appear as for example /dev/sdb . Does ...
0
votes
1answer
60 views

why does a partition marked as noauto still mount on boot?

I just installed Ubuntu 18.04 and I didn't use the default partition structure (ugh.. whole disk in one partition?). My partition table looks like this: /dev/sda1 - /boot/efi /dev/sda2 - swap /dev/...
3
votes
2answers
151 views

Check if CD or DVD is blank

I cannot mount a DVD, most probably because it is blank, so it contains no filesystem. Is there a way to be sure that the disk is blank?
1
vote
1answer
47 views

How to reserve a frequently used mount point?

I have a drive that I'd like to always automount at a convenient path, say /mnt/my_drive. However, how do I know some other program won't try to use this mountpoint in the future, either preventing my ...
0
votes
0answers
18 views

How is automount behaviour determined?

On a Debian 9.4, a certain external disk, full of Windows partitions (ntfs for 3 of them, UEFI for another one) makes automount don't mount the same partition depending on the usb - disk enclosure ...
1
vote
1answer
101 views

How do I control whether ZFS arrays show in the devices pane in Ubuntu?

I am using Ubuntu Bionic 18.04 with XFCE as my DE. I have mounted a zfs array 'big-tank' to /media/big-tank, however, it does not show up in the devices pane. Additionally, the leftover space from a ...
1
vote
1answer
69 views

Can autofs be used for a computation cluster? [closed]

I am planning to build a small computation cluster at home. I need share /usr/local and /opt directory on server machine to several computation nodes. There are compiled computation programs and ...
1
vote
1answer
134 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 (...
2
votes
0answers
25 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/...
0
votes
1answer
602 views

How to Automount NTFS partition and make it avaiable without clicking drive in file manager?

I'm running Linux Mint 19, Cinnamon. This particular issue has existed on mint 18 as well as Mate and Cinnamon desktop environments The problem is this: I have a single drive partitioned into ...
0
votes
2answers
65 views

Can not access manually mounted hard drive from command line

I am trying to manually install a USB hard drive from the command line on my Raspberry Pi. I am following the usual steps: Create a directory in /media, mount the drive,... However I can not access ...
2
votes
0answers
69 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 ...
1
vote
1answer
581 views

Udev rule to automount media devices stopped working after systemd was updated to version 239

For some time I had a working udev rule to automount media devices. /etc/udev/rules.d/61-mount_media_by_label.rules # # To propagate udev's mountpoint to the user space, MountFlags must have a ...
1
vote
1answer
776 views

Automatically remount boostfs drive

I'm working with the DataDomain server in our Commvault solutions. Anytime this server is rebooted the network disk in use for the solution does not remount. Right now this means we need to stop some ...
1
vote
0answers
30 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
3answers
829 views

How to mount USB drive in udev rule?

I setup a rule in udev to run a script in background to automount the USB drive. It managed to run the script fine, but the mounting is failing for some reason. RULE: ACTION=="add", KERNEL=="sd[a-z]*...
1
vote
0answers
70 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
30 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....
0
votes
0answers
38 views

Udev inhibits auto mount [duplicate]

I have been running Ubuntu 14.04 until I installed 18.04. On 14.04 I successfully created a udev rule that upon certain USB stick insertion it run a script AND the system used to auto-mount the stick (...
3
votes
0answers
41 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.) ...
1
vote
1answer
195 views

How to tell systemd to create a bind mount when plugging in an automounted drive?

I have the following mount and automount units enabled for my external USB drive. Mount Unit: [Unit] Description=Time Machine Drive Mount Service [Mount] What=/dev/disk/by-uuid/some-uuid Where=/...
0
votes
0answers
15 views

Fedora automount external hdd where can I change the mount options [duplicate]

I've been pulling my hair to know where I configure the auto mount configurations for when I plug in my external harddrive. As I really don't want to have atime changed when I have my external hdd. I'...
0
votes
0answers
363 views

Automount LDAP home folders in client machines

I have created couple of users on my ldap, and setup a couple of ubuntu ldap client machines, where users can login with their accounts. I now want to share their home folders and make it centralised ...
4
votes
2answers
1k views

Unable to access/(auto)-mount SD card on Fedora 28

I am trying to access SD cards on Fedora 28, but do not have any success. System info is as follows: $ lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:...
0
votes
1answer
405 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
58 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 ...
3
votes
2answers
558 views

No entry in fstab but partition is mounted at bootup

I am using ubuntu (ubuntu 16.04.4 LTS with a 4.4.113 kernel) on an embedded device and i see only one entry in fstab /dev/mmcblk0p7 / ext4 errors=remount-ro,noatime,nodiratime 0 1 when i ...
0
votes
1answer
71 views

automount USB stick ext4 on Fedora XFCE

I have USB stick with two partitions VFAT and ext4. When I plug in stick, VFAT partition is RW automounted but ext4 partition is RO for user because is mounted under root:root # df -T /dev/sdc5 ext4 ...
1
vote
0answers
108 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 ...
0
votes
1answer
32 views

Understanding USB message logs to troubleshoot USB automounting

I am trying to troubleshoot an issue where on one server my USB automounts whereas on another server it isn't. Comparing the logs for both instances, I am trying to understand what each line means. ...
5
votes
1answer
953 views

Wait to start Transmission daemon until after USB drive has mounted?

I'm running transmission-daemon as a systemd service on OSMC. When opening its remote control web interface after a reboot all transfers are almost always halted with the message "Error: No data found!...
1
vote
1answer
1k views

Debian 9: Which package is required to automount USB-drives?

I successfully installed Debian 9 (Stretch) together with desktop environment LXQt. To keep the system minimal and clean I disabled auto-installation of all recommended and suggested packages via APT:...
4
votes
1answer
68 views

Does mounting a USB device automatically modify it?

Most popular desktop Linux distributions automatically mount USB storage devices when the devices are connected or at least provide an easy way to mount them from the GUI. Does mounting a USB storage ...
3
votes
0answers
43 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 ...
0
votes
1answer
161 views

systemd automount files system as read write, not working as expected (read only)

My problem is systemd automount is mounting my ntfs filesystem as read only dispite me setting the options=rw Following some online reference sites on setting up systemd with automount I created two ...
1
vote
1answer
136 views

Identical fstab options end up with different permission

I recently attached a SSD to my system, with the old HDD in the DVD drive bay I set up the file mount option in the /etc/fstab file. The permissions are as follows for SSD: /dev/sda2 /home/arun/...
1
vote
0answers
310 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 ...
2
votes
1answer
684 views

Is parted auto mounting new partitions?

There appears to be an undesired side effect to parted creating a new partition, if the partition previously existed it will be automatically mounted, even before it has been formatted. This is ...
1
vote
1answer
241 views

fstab mount nested folders in order

I have a partition mounted to /home and want to mount another partition as $HOME/Steam. The /home partition is encrypted and only mounted at login (not by fstab btw), while the Steam partition is not ...
1
vote
3answers
1k views

Automount windows shared folder on Linux

I have a shared folder on windows and I usually mount it like this mkdir /media/somedir sudo mount -t cifs //servername/sharename /media/somedir The problem is that once I restart the machine the ...