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

learn more… | top users | synonyms

1
vote
2answers
4k views

Automount not disabling in Ubuntu 12.04 or 13.04

I'm trying to disable the automounting of any usb device. I have this working in Ubuntu 10.04, but I'm trying to do the same in either 12.04 or (ideally) 13.04 but not having any luck. Everywhere I ...
1
vote
1answer
309 views

UDev automounting drives as 'usbhd' regardless of type and name on Ubuntu 12.10

I have 3 drives which I use for storage on my system. Here are their mounting points in /etc/fstab # <file system> <mount point> <type> <options> <dump> ...
2
votes
1answer
171 views

Can AutoFS keep a share permanently mounted on Solaris?

I have a share mounted on an Oracle Solaris application server that read/writes data onto the share periodically. I have automounted it with a timeout of over several minutes but is there a way to ...
2
votes
1answer
105 views

In what situation would it be more beneficial to use AutoFS over vfstab for shares dedicated to just one server?

Consider an environment of three Solaris servers (Server1-3): Where Server1-3 all share a mount nas-server.company.com:/vol/appls-backup, for storing backups and recovery related files at periodic ...
1
vote
2answers
1k views

wheezy: nis/autofs doesn't work

I have a few computers with debian lenny on them. One of them has a nis server: 193.167.1.75 I can automount my home directory when I log in: >ssh 193.167.1.80 -l myuser >pwd /home/nis/myuser ...
0
votes
2answers
1k views

Mounting a drive and accessing it

I have created a partition on /dev/sdb I want to be able to go to this drive when I type: cd /name What I did, which did not work. mkdir name in /mnt mounted the /dev/sdb on /mnt/name updated ...
2
votes
0answers
528 views

Automount of NTFS USB partitions on Gnome fails if device name is sdb (FAT32 is OK)

When I plug a USB storage device (i.e. USB key) on my computer with Gnome, the filesystems available on the device are automatically mounted (in /media/<partition-label>), and a file explorer ...
3
votes
2answers
5k views

What is the service that's responsible for automounting a USB drive in CentOS 6.4?

I know of the legacy Linux way of mounting a USB stick or drive: mount /dev/sdb1 /mnt/ But in some CentOS 6.x installations I saw, you just insert the USB stick and CentOS automagically mounts it, ...
3
votes
2answers
762 views

Error mounting drives

I am not able to mount the disk. It is showing error. Error mounting system-managed device /dev/sda3: Command-line `mount "/media/tusharmakkar08/Local"' exited with non-zero exit status 1: [mntent]: ...
4
votes
4answers
19k views

Mounting all partitions on hard disk automatically on Linux Mint

Issue I have a Linux Mint installation. Every time that I boot, I need to manually mount the two partitions on my computer(New volume D and Drive C). If I don't do this, these drives don't show up ...
1
vote
0answers
190 views

unionfs filesystem

I recently learned about unionfs and aufs and would like to put it to some real use. The scenario I have in mind is the following. Boot a machine with ubuntu on it which will serve as our base. Make ...
2
votes
0answers
898 views

Seagate external hard disk creating problems

I've bought a new hard disk, a Seagate (Backup Plus), but I'm having problems with it. Firstly, it doesn't mounts every time I plug it in. In such cases, I've got to restart the machine to work with ...
1
vote
0answers
780 views

How to Disable AutoMount of External Drives

Is it possible to Disable auto mount of External Harddrives or USB's in RHEL. For security reasons I have to disable this feature. And when I need it I will enable it back.
2
votes
0answers
373 views

Is autofs the only open-source choice for mounting nfs and/or cifs

I've been using autofs for a number of years and was wondering if there is an alternative to autofs that would handle cifs/smb shares in a more interactive way? When I say more interactive I'm mostly ...
7
votes
2answers
383 views

Triggering an action when a specific volume is connected

I have a USB key that contains my keepass2 password database and I'd like to perform some actions when it is plugged into my computer, namely: Auto-mount it to some specific location When the ...
2
votes
3answers
2k views

How to automatically mount remote directories on login / startup

Everytime I boot, I use sshfs to mount remote directories. I am thinking to put these short commands in my .bashrc, but that does not seem to be The Right Way™. What is the proper way to run sshfs on ...
5
votes
1answer
745 views

Automount not equivelent to mount?

I'm struggling to get automount to work as desired. If I run the following: sudo mount -t nfs server:/path/to/share /path/to/mount_point I get the mount appearing fine. However, if I add the ...
3
votes
1answer
2k views

Can I automate mounting a cifs share without storing my password in plaintext?

I currently use a script which contains commands along the lines of sudo /sbin/mount.cifs $SERVER_SHARE $MOUNT -o username=$DOMAIN_$USER,uid=$USER,gid=$USER,file_mode=0664,dir_mode=0775 to mount my ...
1
vote
0answers
331 views

Howto configure autofs to work with usbsticks formatted with differend filesystems

I have some USB-sticks using fat32 as filesystem and others using ext4. Now I want to configure autofs to mount the sticks automatically. To make sure that the user can write to fat32 sticks I use ...
4
votes
0answers
426 views

No access to symlink folder on NTFS partition

I am using an NTFS parition for storing data I like to access both from Ubuntu and Windows 7. On my Ubuntu HOME partition, I like to link the folder Assets in order to access it from an application ...
4
votes
2answers
4k views

Mount a folder on a drive in fstab. Move?

I'd like to make a temporary change to my fstab file so that my /home is on another drive. However, I don't want the whole partition to be mounted, but just a folder ("home") on that partition. I'm OK ...
8
votes
3answers
11k views

How to mount removable media in /media/<LABEL> automatically when inserted, without any desktop environment?

I have a Debian sid system (Wheezy) (and same for arch), without any desktop environment (and no Xorg at all). I can mount my SD-cards, USB sticks, external HDD by label into a specified directory in ...
1
vote
0answers
592 views

How can I determine how directories/filesystems have been mounted?

I have access to a VM which on a different network at work using NIS. (Debian by the way) This VM has about 10 extra /directories in / when I log in. They do not exist on that VM alone, they are ...
2
votes
1answer
1k views

How Do I use autofs to map a USB drive by its ID?

Goal I have a USB drive -- let's say the drive's ID is /dev/disk/by-id/thediskid I would like to mount the drive -- by ID -- to a folder (let's call it /MOUNT_FOLDER) Question What is the best ...
2
votes
1answer
360 views

Prevent specific USB device from automounting

I have a SD card which is always inserted in my SD-card slot. However, I do not often use it (but do not want to take it out). Currently, it's being auto-mounted every time I start my computer. I feel ...
5
votes
1answer
3k views

Udev rule is not being used?

I'm setting up udev to handle my external USB hard drive when it gets plugged in and removed (no mounting yet). So far, I've made two new rules in /etc/udev/rules.d/10-local.rules to log ...
4
votes
5answers
13k views

Device is Mounting as Read Only (Can Copy Files as Root)

I am attempting to mount my Amazon Kindle, 3rd Edition. It automounts correctly and when I run mount -l, I get the following output: /dev/sdg1 on /media/usb0 type vfat ...
2
votes
5answers
2k views

sda and sdb block specials point to same device and get mixed up (hardware RAID doesn't work after new installation of 12.04)

I just installed the latest Ubuntu 12.04 and obviously it screws something up. I'm not sure if this has anything to do with the fact that I have a Raid 1 but at the moment, I have sda and sdb which ...
4
votes
1answer
3k views

What is the difference between a symlink and binding with fstab?

In Eric Hammond's article Running MySQL on Amazon EC2 with EBS he shows how to add a second drive (/vol/) and then progresses to move mysql's config and data there. /sdh gets mounted as /vol by ...
5
votes
2answers
2k views

Mount ubuntu one or similar web storage services without their clients

I want to mount a folder to sync with my Ubuntu One account. The only restriction is that I don't want to use the client provided. I use Arch Linux if it counts. And if you can provide a general ...
4
votes
4answers
3k views

fstab not mounting a disk on boot

I'm running Arch Linux on a Macbook. I want to automatically mount my Macintosh partition when booting Arch, so I added the following to /etc/fstab: /dev/sda2 /media/Machintosh hfsplus defaults 1 2 ...
7
votes
4answers
20k views

automount nfs: autofs timeout settings for unreliable servers - how to avoid hangup?

I'm running a small server for our flat share. It's mostly a file server with some additional services. The clients are Linux machines (mostly Ubuntu, but some others Distros too) and some Mac(-Book)s ...
1
vote
0answers
2k views

/etc/fstab is mounting rw filesystem as read-only

A partition of my internal hard drive (not the root partition) I want to mount automatically on boot. I've been using /etc/fstab to mount my external backup drive automatically read-only, so this is ...
3
votes
2answers
4k views

Nautilus, mount ISO file with right-click menu

I am using Nautilus now, and back then when i was using Ubuntu i could right-click on an ISO file and automount it without the need to issue any command. But now i am using Nautilus in Archlinux and ...
3
votes
3answers
4k views

Automount external storage as user readable and writable in Debian XFCE?

I have Debian Wheezy installed with the latest XFCE desktop environment. In the XFCE settings, I specified that external media be automounted upon insertion. However, when I plug in my USB stick, it ...
1
vote
1answer
2k views

Debian squeeze post-installation automount problem, USB port confused for /dev/cdrom0

Usually when I install Linux on a laptop, I use the following command $ dd if=installcdrom.iso of=/dev/sdX where sdX is the inserted, unmounted USB stick (sdb usually), and installcdrom.iso is a ...
4
votes
3answers
12k views

Automounting USB sticks on Debian

I'm running Debian Squeeze on a plug computer (so SSH only, no GUI) and what I'm trying to do is get it so that when a USB stick is plugged in, it gets automatically mounted. What I've done is ...
4
votes
1answer
148 views

Mount and automount and security problems

Are there any security problems related with (auto)mounting device?
2
votes
1answer
701 views

Running a command when a CD/DVD/BD inserted

This seems like a simple question to me, but after two nights of searching and tinkering, I haven't been able to find anything promising. I am running a headless Ubuntu server. I want to be able to ...
12
votes
3answers
11k views

Does mount always require root privileges?

I was under the impression that any sort of call to mount requires root privileges. But recently I was told "You should instead create appropriate entries in /etc/fstab so that the filesystems can be ...
4
votes
2answers
3k views

How do you protect a plain text credentials file with the username and password?

I am trying to setup an auto-mounting network drive. The network drive requires a user/pass. In the man page for "mount.cifs" there are two ways to provide the user/pass. [not recommended] put the ...
3
votes
1answer
764 views

NFS mount to a subdirectory of already mounted directory

We have a strange scenario (AIX 5.3) - There is a directory /mnt to which an NFS share from windows server1 is mounted Then there is another directory /mnt/subdir1 to which NFS share from windows ...
2
votes
1answer
597 views

Mounting Windows share on startup without storing password in plain text

I have the following in my /etc/fstab on a Red Hat 5 system: //share/folder /mnt/folder cifs username=<my username>,password=<my password>,ro,soft,nounix Can I replace this with ...
1
vote
1answer
203 views

Comprehensive /etc/auto.disks script for autofs that takes into consideration all mounted disks, including NTFS and FAT32?

Does anyone have a more comprehensive /etc/auto.disks script for autofs that takes into consideration all mounted disks, even NTFS, FAT32? So all that's needed to mount any attached drive is ls ...
4
votes
0answers
884 views

Automounting not working correctly for CIFS shares; weird results

I followed the guide on this page to get samba shares working via autofs: http://www.howtoforge.com/accessing_windows_or_samba_shares_using_autofs Servers and Configuration My Samba server (remote) ...
1
vote
1answer
877 views

Automount lookup failed. How to determine what is trying to access the file?

Is there a way to find out what is trying to mount this file? Jul 13 14:27:24 myhost automount[13527]: lookup(file): lookup for tmp_dir failed Something is looking for "tmp_dir", and I've ...
3
votes
1answer
784 views

Auto mount cd or dvd on CLI based ubuntu server

I am using Ubuntu server as a samba server. The solution I am looking for is whenever the disks are inserted (cd or dvd) they should get auto-mounted to /cdrom directory. Are there any tools for ...
2
votes
1answer
922 views

How to mount a USB stick in FreeBSD?

I am running a FreeNAS (FreeBSD version) on a DELL R310, but when I connect a USB stick it does not automatically get mounted. The same stick does get automatically mounted in CentOS/Fedora. How do I ...
4
votes
2answers
709 views

Can I easily remount an external USB drive without unplugging it?

Sometimes, a USB drive (or equivalent) that I have plugged in to my machine gets unmounted. Now, I know I could unplug it and plug it back in to remount it, but is it possible to easily do it from ...
5
votes
4answers
4k views

Detect if a (NTFS) drive is mounted or not. If not then mount it

I want to sync an USB drive with a folder located on a NTFS partition which is not mounted at boot time. I have found a command to do that: rsync -axu /media/USB/folder /home/user/folder. But I have ...