Stack Exchange Network

Stack Exchange network consists of 174 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
14 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
19 views

Unable to edit auto_master under macOS Mojave

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
0answers
33 views

Persistent trouble with FAT32 formatted USB pen drive mounting as read-only drives [on hold]

My 16GB USB pen drive mounts as read-only on Ubuntu 17.10. I tried reformatting/checking on mac, windows & on a desktop with Opensuse. I tried all the suggestions on different forums/blogs ...
-1
votes
1answer
20 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
18 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
11 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
39 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/...
1
vote
1answer
62 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
45 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
16 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
82 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
38 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
0answers
81 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
22 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
217 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
54 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
43 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
376 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
265 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
28 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
2answers
524 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
36 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
26 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
34 views

Udev inhibits auto mount

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
35 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
128 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
277 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
818 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
332 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
36 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
373 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
64 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
103 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
31 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. ...
4
votes
1answer
666 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!...
0
votes
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
67 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
42 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
138 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
127 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
252 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
566 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 ...
0
votes
0answers
180 views

Mount multiple USB devices automatically Ubuntu 16.04

I'm trying to connect multiple USB devices to my 16.04 Ubuntu machine, some mount automatically and others don't. I have to mount the device manually via files (screenshot attached) Does anyone ...
1
vote
1answer
210 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 ...
0
votes
1answer
91 views

How to prevent automount (autofs) changing protection of indirect map mountpoint

How do I prevent autofs (automount) from changing the protection of its owned mountpoint. # chmod 2771 /cust # ls -ld /cust drwxrws--x. 2 root root 4096 Mar 13 14:43 /cust # systemctl start autofs # ...
1
vote
1answer
322 views

Deconfigure RAID1 and mount the second hard drive in Debian

The dedicated server running on Debian has two 512 SSDs, both part of a single RAID1 disk array. There are many guides for that without losing any data on the disk but could not find the complete one ...
0
votes
1answer
120 views

Cryptsetup Device Timeout When Automounting Through Systemd

For some reason systemd gives timeout in one of my cryptsetup devices when trying to mount it. Here are the Units and script: udev rules: ACTION=="add", KERNEL=="sd[a-z][0-9]", ATTRS{serial}=="...
0
votes
0answers
214 views

automount/unmounting of mmc device in embedded linux-kernel 2.6

I'm developing an application on embedded linux kernel 2.6 powered device and Auto mounting and un-mounting process is not works correctly. e.g. checking dmesg show kernel correctly determine ...