Questions tagged [automount]
The automount tag has no usage guidance.
132
questions
0
votes
0
answers
50
views
Mount target for network shares
I mount my file storage over samba via systemd automount to /mnt.
But I can't really recall why I it that way instead of mounting it to my single users ~/. Now I wonder whether there is a good reason ...
1
vote
0
answers
136
views
Make systemd's network automount to conditionally require or bind to openvpn unit
I have a server, say, at my home, let's call it nas.local, so when I'm away, I can make an OpenVPN connection to the home network, and then mount some directories from my nas server:
my "client&...
0
votes
0
answers
732
views
Automatic unlock of LUKS external data drive when plugged in
I have set up LUKS for an external USB HDD with two protectors: a passphrase and a file key. I would like to automatically both unlock the drive and automount when the drive is plugged in.
I've set up ...
3
votes
1
answer
5k
views
How best to mount a drive in WSL as a shared drive?
I'm trying to simplify/automate my development environment in Windows, I have a lot of shell files I run on both Windows and the Linux subsystem, I've recently taken to editing my /etc/wsl.conf to ...
1
vote
1
answer
325
views
Automount using UUID and fstab does not mount automatically after reboot
I have a Debian 10 in which I have one external ntfs drive.
I have modified my /etc/fstab file to allow auto mounting of the drive liek the following:
UUID="45DA303C05C96FEF" /media/...
1
vote
1
answer
1k
views
How to stop Linux from auto-mounting USB drives?
I am trying to move my main desktop from a tower system to a NUC.
Both tower and NUC are running Linux Mint (v19.3 and v20.1).
The tower had an external toaster-drive socket into which I could plug a ...
0
votes
1
answer
2k
views
Auto-mounting usb drive to certain dirrectory arch linux
I've been using arch for a while, and use udisks with udiskie to automount my usb drives. I have one usb drive that I store my code on, and often have to go to in the terminal. don't like having to ...
0
votes
1
answer
770
views
Overriding udisks2 /media/$USER/mount with custom fixed mount point for specific volume, under Debian Buster
I am using Debian Buster, 10.7, and I am relatively new to udev/udisks2/systemd and have been making a effort to get to know them better and have learned quite a lot, though I cannot seem to figure ...
0
votes
1
answer
37
views
USB mount directory remains after power loss
How can I prevent, or clean up (in an unprivileged way), the USB mount directories that remain after a power loss?
Here I'm inserting my USB stick:
There are no other USB sticks present, and I ...
1
vote
1
answer
608
views
Ubuntu 20.04 - gui app for easily mount usb drive
I am trying to connect a memory card reader by usb and i am very lazy to do it manually. Considering that this is a quite basic operation, is there a GUI app that I can use to mount the usb drive ...
2
votes
1
answer
331
views
How USB automount works internally in ubuntu 18.04?
I just want to understand how USB automount works in Ubuntu especially in 18.04. When an USB drive is connected to USB port what all things happen and what utilities or scripts or udev rules(probably) ...
0
votes
1
answer
582
views
AMD RaidXpert2 / Ryzen (X570) - Windows 10 - How to automount array?
The problem is very simple.
If you use RAIDXpert2 - so AMD's in-built RAID utility - the array will NOT auto-mount after a reboot.
On each reboot I have to open the RAIDXpert2 utility, click Disk ->...
0
votes
1
answer
2k
views
Disable automount of removable media in GNOME/Nautilus
Using GNOME 3, how can I disable automounting removable media and if possible, do so using the drive ID?
2
votes
0
answers
324
views
How to auto-mount a bitlocker-encrypted vhdx on a network share as soon as it is available?
I have a VHDX file on a (samba) network share
I'd like to automatically mount that VHDX file (including entering the bitlocker key) whenever I join the network that contains that file.
How can I ...
0
votes
0
answers
220
views
Setting NOEXEC for all removable drives
I am using fedora 30 and I would like to prevent removable drives from being mounted with executable permissions. From my research I have found that Nautilus handles the auto-mounting(using Gnome on ...
1
vote
1
answer
4k
views
macOS Catalina automount (net drives) broken
I'm currently running a beta of Catalina on a macbook.
Which by the way if you intend to try, save yourself lots of pain and wait for official release, it's as buggy as can be. Security and permission ...
2
votes
1
answer
2k
views
Changing file permissions after mounting with fstab
I want to mount a drive with following default permissions:
files: -rw-r--r--
folders: drwxr-xr-x
owned by default user/group (1000)
Which lead me to this fstab entry:
UUID=XXX /media/drive ntfs ...
0
votes
1
answer
128
views
Windows automount drive by label
Is there any way to automount windows drives (volumes) by label on an ntfs folder?
I would like to have something similar to what is done in most linux distros (assign a folder as a mountpoint ...
3
votes
1
answer
2k
views
MacOS - Map network drive on boot
On my mac I'd like to move my home directory to a Synology NAS. I'm unable to figure out how to mount the NAS drive on boot up. My workaround is to use a local user to auto-mount the drive, but that ...
0
votes
1
answer
154
views
How do I automount luks encrypted external HD?
I have an external HD encrypted with luks. I would like it to automount on my home computer (using a key file stored at my $HOME directory) any time I plug it in (not necessarily at boot time) and ask ...
0
votes
1
answer
118
views
Why is writing on auto mounted partition not possible?
Despite it has rw option. An extraction of fstab:
/dev/disk/by-uuid/0109cc2c-414c-42dc-8a99-3ffe529020fe /mnt/0109cc2c-414c-42dc-8a99-3ffe529020fe auto rw,exec,noatime,x-gvfs-show 0 0
This entry was ...
0
votes
2
answers
120
views
MS Office DVD failing to mount
I'm at a small charity installing MS Office on several Windows 10 laptops (they already have Office installed on most of their PCs and apparently have a site license, although nobody knows who ...
0
votes
1
answer
111
views
Trigger file copy upon device insertion (without depending on systemd)
I would like to automatically have some files form a storage device copied upon its insertion. I am looking to use one and the same method on both systems which use systemd and systems using init ...
1
vote
1
answer
543
views
autofs mounts in parent directory
For many years I have a problem with autofs, now. I thought there was a bug in the autofs version in my repository. Unfortunately, even after several system as well as distribution upgrades covering ...
11
votes
6
answers
28k
views
Win 10 Linux Subsystem: Auto-mount network drives
I have no problems mounting a network drive W: with the following command:
sudo mount -t drvfs W: /mnt/htdocs
In /proc/mounts the corresponding line then is:
W: /mnt/htdocs drvfs rw,relatime 0 0
...
18
votes
2
answers
13k
views
Automounting USB drives on a headless systemd linux box
Approaches to auto-mounting devices in Linux keep changing, and googling returns quite a few solutions with various degrees of applicability for modern systemd-based boxes.
The following approaches ...
1
vote
1
answer
1k
views
USB drive with multiple partitions on Windows 10 - 1703
This concerns an issue with an USB flash drive on Windows 10 - 1703 (occuring on both, Home and Prof)
The USB drive has a DOS partition table, the first (primary) partition is type 07 and formatted ...
1
vote
0
answers
942
views
USB auto passthrough to KVM
I feel like there should be an answer for this but everything I have tried seems to land me in the same boat. I am trying to use a single USB port on my computer that gets a USB -> microSD card reader ...
1
vote
1
answer
222
views
Automounting a virtualBox partition on RHEL - EmergencyMode at Boot
Question referenced:
My virtualbox fstab will not auto-mount on reboot?
I am trying to mount a vboxsf partition on RHEL7 at startup.
mount -t vboxsf share /home/user/Windows
works fine after i ...
1
vote
0
answers
700
views
autofs cifs mount(s) hang / become momentarily unreachable
I use autofs on my Fedora 25 desktop in order to access some cifs mounts on my work network.
/etc/auto.master:
/home/user/work/mountpoint /etc/auto.custom --timeout=43200 --ghost
/etc/auto.custom:
...
18
votes
7
answers
36k
views
How to prevent "Unable to open MTP device" popups from opening?
I often plug my Android device into the USB drive simply for charging purposes with no intention to use the filesystem (and with the screen off or with the USB settings in "charging only" mode, either ...
4
votes
1
answer
5k
views
USB automount fail "Not Authorized"
USB automount worked well for several month but after some updates Nautilus displays .
With these commands it works well :
aubin@Breizh-Atao:~$ sudo fdisk -l
[...]
Disk /dev/sdf: 15.6 GB, ...
2
votes
1
answer
7k
views
How to Identify automount mount path
I need to know all the mount points monitored by autofs/automount.
I came across "automount -m" to dumpmaps and "/etc/init.d/autofs status" in the older versions. But these commands doesn't work ...
1
vote
1
answer
2k
views
How do I tell Windows to keep internal disks offline?
I don't want Windows to bring disks that are internal online automatically.
Windows To Go has such a feature that can be set via an XML file; however, it requires jumping through a lot of hoops, ...
1
vote
0
answers
439
views
autofsldap mounts /home, but not /share
I am pulling my hair out trying to make a client PC mount a /share folder automatically via autofsldap.
Interestingly, mounting the /home directories works perfectly.
The syslog contains no attempts ...
0
votes
1
answer
605
views
automount usb on raspbian gives weird name to mount
My usb stick gets an ugly and very long name when automounted in raspbian.
I would like to change 2 things here.
1st I want to get rid of that long name and have something like /media/usb
2nd, I'...
1
vote
0
answers
1k
views
OS X: mount_nfs & automount behave differently
I have an OS X El Capitan computer and a Linux Mint NFS server, both attached to the same OS X El Capitan Open-Directory Server.
The exports of the server look like this:
/Volumes/PDISK2 10.0.0.0/16(...
31
votes
2
answers
46k
views
What is the noauto mount flag for?
Entries in fstab exist ONLY to specify things to mount at system boot or manually with mount -a, right? But I was reading up on the noauto mount flag, which apparently makes corresponding fstab ...
1
vote
2
answers
3k
views
Mount USB flash drive via command line as it would be mounted automatically after the stick pluged in under Linux
When you insert a flash stick into USB port the following happens:
The file system of each USB drive partition is detected automatically
Partitions are mounted automatically to a temporary path like /...
0
votes
2
answers
1k
views
How I can properly auto-mount a drive using fstab?
On a raspberry pi, I can mount an external USB HDD via both sudo mount /dev/sda1 /media/sda1 and sudo mount -a.
However, I can't seem to achieve the same effect inside fstab and a reboot. That file ...
1
vote
2
answers
9k
views
Autofs 770 mount point permission
In /etc/auto.sshfs I write this:
-fstype=fuse,uid=worker,gid=workers,rw,allow_other [etc other options]
Then it correctly sets the mount point permissions to worker:workers when it mounts ...
0
votes
1
answer
112
views
Strange transport layer port number during nfs conversation
I use autofs to mount nfs shares, autofses part works well, I can reach the leaf folders, but when I try to access that folder the following packet exchange takes place and my shell stacks, it drops [...
2
votes
0
answers
889
views
Automount Shared Folder in VirtualBox 5.0.2/VBoxManage Intern Procedure
First I wondered, that I found nothing to the topic. Maybe I’m not so good searching?
However, following command creates a new Shared Folder in VBoxManage:
.\VboxManage.exe sharedfolder add <...
3
votes
1
answer
1k
views
Remove static automount folder in Mac OS X 10.10.3
I have a strange apparently unused automount with nfs configured which I cannot remove. Probably, I mis-configured something when trying to set up LDAP or Kerberos a long while ago.
Nothing special ...
2
votes
2
answers
7k
views
Windows Spanned Disk (LDM) automount
Every time i startup the server with 2x2tb raid harddrive i need to call the following methods to mount:
ldmtool create all
mount /dev/mapper/ldm_vol_SPONS_SERVER-Dg0_Volume1 /media/data
Which is ...
1
vote
1
answer
1k
views
autofs NFS mount directory hung
I have a problem when executing "df -h" command it hungs, I know since there is a unreachable/not responding NFS path this is causing the hung. All my scripts dependent of df -h is also piling up ...
2
votes
1
answer
287
views
Trying to auto-mount a VHD from microSD results in Error 0x80004005
I was following the instructions from this question down to the last detail, however on my Surface Pro 3, all I get when looking at Task Scheduling is an unknown error everytime I boot up my Tablet. ...
1
vote
2
answers
8k
views
Cannot write to any USB device mounted via Thunar file manager. Can only read as “root?”
I'm using Debian testing with XFCE as Desktop Environment and Thunar as filemanager. I've an issue regarding the mounting of USB mass storages such as USB flash drive. When I plug in the USB flash ...
4
votes
1
answer
6k
views
Windows To Go - prevent internal disks from going online
I created Windows To Go from Windows 8.1 Pro according to these manual http://www.howtogeek.com/196817/how-to-create-a-windows-to-go-usb-drive-without-the-enterprise-edition/. But host PC disks are ...
5
votes
2
answers
13k
views
How to use /etc/fstab and/or automount with sshfs on OSX?
I'm attempting to automount a directory from a remote Ubuntu machine on my Mavericks Mac. SSHFS works perfectly when mounted manually, in many different ways. The standard sshfs mount works great:
...