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
1answer
13 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
0answers
31 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
61 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% /...
0
votes
0answers
15 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
28 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 --...
0
votes
1answer
72 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
vote
0answers
101 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 ...
0
votes
1answer
45 views

umask not applied when mounting from udev

I have a udev rule which automatically mounts usb device when connected The rule is the following one : # cat /etc/udev/rules.d/10-usbdetectd.rules KERNEL!="sd[a-z]*", GOTO="...
1
vote
0answers
139 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 ...
0
votes
1answer
54 views

How to set fstab to be able to umount my external HDDs under normal user account?

System: Linux Mint 19.1 Cinnamon. Disks in this question are considered external HDDs either ext4 or ntfs formatted. I am interested in how do I manage to set my fstab or whatever else to be able to ...
0
votes
0answers
199 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
19 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
56 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
32 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
114 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
160 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
155 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
188 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
73 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
49 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
15 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
111 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
292 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
50 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
22 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
136 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
98 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
207 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
26 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
1k 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
82 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
88 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
853 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
919 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
31 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
1k 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
116 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
34 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
40 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
44 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
247 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
16 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
444 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
2k 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
460 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
72 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
911 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
74 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
124 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
34 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. ...