Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
10 views

Running actions on insert & eject of a floppy disk over USB

I have a USB floppy drive inserted into a Raspberry Pi running raspbian. I want to mount and run a command when a disk is inserted and run a different command and unmount on eject, so far both autofs ...
0
votes
1answer
36 views

NFS permissions on a directory

I feel stupid not knowing this, but alas, I need to ask. I have a few directories being automounted via NFS on my CentOS boxes. Source is a Dell NAS or Openfiler (which we are working on migrating ...
1
vote
0answers
70 views

LDAP authentication, pam_mkhomedir and NFS automounted homes

We currently have a setup (running on Ubuntu 12.04.5 LTS) with mixed LDAP/NIS authentication and automounted home directories from several servers (with the auto.home map distributed over NIS). ...
0
votes
0answers
123 views

Nodes crash with kernel panic due to some bugs in autofs4 module

Recently, my computing nodes started to crash very often. In a pool of ~100 nodes running Ubuntu 12.04 for scientific computing, a machine dies every hour with the following kernel panic message: ...
1
vote
1answer
69 views

Autofs mount problems

I need a suggestion how to configure autofs to mount a windows share automatically to CentOS. I can successfully mount the share, but I can't seem to enter parameters into auto.master corectly. ...
1
vote
0answers
76 views

How to prevent autofs from stalling system when nfs share is not available

This problem has been there in OpenSuSE 10.1-12.3 and (K)Ubuntu 10.04-14.04 and I'd like to get rid of it now: We have a common software directory on an NFS share. Client-side autofs setup # ...
1
vote
0answers
164 views

LDAP + NFS + automount home directories permissions issue

When an LDAP user logs into the system they have incorrect permissions to their home directory. LDAP and NFS services exist on the same server. The directory shows the correct ownership / ...
0
votes
2answers
185 views

Keeping user's filesystem persistent across AWS EC2 spot instances

I noticed that, after a new Amazon AWS EC2 spot instance is auto-launched (I have that option turned on), the state of filesystem is not current (represent the last state before previous spot instance ...
0
votes
1answer
370 views

Static NFS mounts vs autofs direct map mounts

We are in the process of re-designing our NFS service and are at a point where we can choose either to mount our NFS shares statically from /etc/fstab at boot or as autofs direct maps. In our new ...
1
vote
3answers
282 views

What is the correct escaping for autofs mount credentials files?

I have configured autofs on CentOS using /etc/auto.mymount. Something like this: mymount -fstype=cifs,rw,noperm,credentials=/etc/auto.creds.svc_account ://winserver.domain.local/SharedFolder This ...
0
votes
0answers
41 views

Solaris 8 x86 - autofs - /net/fileserver/abcd — apparently mounted volume hangs

I have a situation where I have tried to cd to something /net/fileserver/abcd and the cd hangs. Information: 1. filerserver is alive and well and pingable from the client 2. Restarting ...
0
votes
1answer
266 views

nfs autofs automount of exported filesystems is empty on nfs server

I am having issues with empty nfs automounts on the nfs server itself. I'm running RHEL5.7 64bit exporting 4 directories as follows: /export/site/server13 *(fsid=0,rw,sync,crossmnt) ...
0
votes
0answers
215 views

autofs and NFS failover - can autofs remount?

I have this scenario: 2 NFS servers with /usr/share/man as exports (just as example, it can be anything), let say server A and server B (not replicas, just 2 independent servers on the same subnet ...
1
vote
1answer
914 views

Automounting home directories using LDAP in ArchLinux

I have managed to set up an OpenLDAP server that runs ArchLinux. I can now log in from the client (also ArchLinux) using the LDAP users. Now i want to mount the home directories over the network... I ...
1
vote
0answers
156 views

AutoFS wildcard subdirectory

I am trying to automount /home/users/<username>/secure for all users using AutoFS. Naturally I would put down this line as a direct map: /home/users/*/secure -fstype=nfs4,rw,sec=krb5p ...
-1
votes
1answer
49 views

Should I use mount or autofs?

I have NFS shares on a file server that I would like to mount on a web server. For example, a music streamer web application (subsonic) would be hosted on the web server and stream music files ...
2
votes
1answer
84 views

How to programmatically umount filesystems mounted by autofs?

I have some RHEL systems where I need to disable autofs. What I typically do is run a script on each of these hosts that executes something like this: # /etc/init.d/autofs stop ... # /sbin/chkconfig ...
0
votes
0answers
98 views

Mounting CIFS share works with mount but not with autofs

My server is Debian Wheezy (3.2.0-4-amd64 kernel). I want to access a Windows 2003 Server share. This Windows server does not belong to a domain: it's in the default workgroup ('workgroup'). This ...
3
votes
1answer
434 views

automount works but autofs wont mount

I know this subject has been discussed so many times that I'm almost ashamed I haven't found the solution to my issue yet. Clearly there is something I quite don't understand and would really ...
0
votes
1answer
81 views

Autofs redundant failover to local mountpoint

We are using autofs to mount an NFS partition from a local server. We have a redundant server and we are failing over to this using the method mentioned in that autofs(5) man page. This is all ...
0
votes
1answer
569 views

Autofs + NFS + LDAP sudo problems

I have a setup very similar to Dan Bishop's Ubuntu 12.04 Ultimate Server Guide. I actually created a series of ansible scripts to automate this process on my github. So I have ldap+kerberos set up ...
1
vote
0answers
47 views

Automount directories only on certain clients via NIS and NFS

Is it possible to serve certain files via NIS only to a group of clients and not to all of them? It's probably a very easy task but I'm searching for a while now and don't seem to find an answer. I'm ...
1
vote
0answers
62 views

Why files disappear when using autofs

I have a disk mount as /local in the centos 5.3. Under /local/foldera/folderb/ I have lots of folders like: drwxrwxrwx root root 4096 DEC 10 10:40 Platformxx Then I've build another server and on ...
0
votes
1answer
2k views

How to set permissions for a CIFS mount with autofs?

I've set up a CIFS mount on my CentOS 6.4 server with autofs : File /etc/auto.mnt : Photos ...
1
vote
1answer
356 views

What are the most common reasons for NFS auto mounts to fail?

Of course I need to solve a particular problem, but I'm hoping some more general answers on "how to troubleshoot automounting nfs" come up that will help more people with similar symptoms. We've got ...
1
vote
0answers
148 views

Samba server: Script before allowing opening a share

I have a small home server running Ubuntu 12.04 with an external hard drive attached to it. The external hard drive is mounted with autofs. Autofs basically unmounts a hard drive if it isn't used for ...
1
vote
0answers
96 views

autofs mounts entire direct map

I've got a auto.master with an indirect map and a direct map. /home /etc/auto.home --timeout 60 /- /etc/auto.foo --timeout 60 auto.home: jwells -rw,noquota,intr server:/vol/home/jwells ... ...
3
votes
0answers
300 views

Open directory, external NFS file shares and automounter

This may be a big one. I've set up Open Directory on Mac OSX 10.8 (Mountain Lion) with users to allow everyone on the network to logon to any client with these centrally stored users. Before this ...
0
votes
1answer
207 views

NFS automounter - files/dirs masked in mountpoints' parent directory

I have an NFS problem on a Redhat Ent Linux 5 host, in that I want to mount some NFS shares on /opt/backup and /opt/stage. There are also some other dirs and files in /opt e.g. /opt/myapp, ...
2
votes
0answers
628 views

Using autofs to mount under each users' home directory

I have a CentOS 6.2 box up and running and have configured autofs to automount Windows shares under a /mydomain folder, using various howtos on the internet. Specifically, I have three files: ...
1
vote
1answer
412 views

AutoFS with NIS and cannot mount share owned by root

I am using Ubuntu 12.04, and am trying to use NIS with AutoFS to mount the NFS shares I have access to for projects. I can mount my networked home directory, which is used for the remote terminals, ...
7
votes
2answers
795 views

How to configure autofs5 timeout on per-filesystem basis?

Because of a show-stopping bug in Debian autofs 4, I just upgraded to autofs5. It is not honoring the timeout option in my auto.master file: /var/autofs/removable /etc/auto.removable --timeout=2 I ...
3
votes
1answer
522 views

Does an NFS export with sec=krb5 *require* that the parent directory also be exported with sec=krb5?

I copied somebody's NFS server/client setup verbatim and am having trouble making sense of what's going on with it. This is the /etc/exports: /export ...
0
votes
1answer
483 views

How to set up sshfs to use www-data

I have 2 Debian systems, prod1 and prod2, with their respective users, prod1 and prod2 as well. I want to setup an sshfs with autofs to have a directory on prod1 in the /home/prod1/ that the user ...
-1
votes
1answer
431 views

Fuse, how to set the user that owns the directory?

I'm having some permissions issues on a Fuse mounted directory and I'm a bit confused about how to set the owner. I have a media directory on a server that apache uses to create and serve some user ...
3
votes
0answers
271 views

using chained automount to mount home directory

I have set up two directories mounted with automount (via LDAP): in the /home directory automount is configured to mount * -fstype=bind :/network/srv/home/& in the /network directory one ...
1
vote
0answers
1k views

automount stops working due to hanging mount.nfs processes that leave /etc/mtab~ lock file

I've got many automount entries in LDAP for mounting ~200 nodes between each other. Often, the automounter stops working. After debugging, I figured out that it can be fixed by running rm -f ...
0
votes
1answer
222 views

Where to define sshfs options when using autofs?

I have used the following guide: http://www.tjansson.dk/?p=84 to mount an SSHFS using Automount. The implementation works great. However, I need to add an option to SSHFS as defined here: ...
2
votes
1answer
1k views

Autofs BROWSE Mode in CentOS\RHEL

I have multiple server mounting their $HOME from a file server. On the clients I have set in /etc/sysconfig/autofs BROWSE_MODE="no" The client also mount directories from other files servers to ...
0
votes
1answer
316 views

Is AutoFS necessary?

In Solaris 11, if I have a single system (NAS), with no other users other than myself, can I delete autofs mappings? To me it seems confusing to have things in two separate folders (/export/home ...
2
votes
0answers
562 views

Autofs always uses uid 0 when mounting

We have some Ubuntu clients here which shall mount kerberos protected NFS homes. The server works nicely with the existing clients, so we can assume that ldap and kerberos are ok. We managed to ...
2
votes
2answers
802 views

Ubuntu mount of NFS home directories with AutoFS results in /etc/skel not being used

I am wanting a custom look for my Ubuntu 10.04 users, so things like the shutdown menu are not displayed and just having one panel at the bottom of the screen. Also removing some of the default ...
-1
votes
1answer
127 views

How to mount more than /home?

I have the following in my /etc/auto.master /project yp auto.project -soft,intr,nosuid /home yp auto.home -soft,intr,nosuid /nobackup yp auto.nobackup -soft,intr,nosuid When a user ...
3
votes
1answer
2k views

Mount to NFS export of autofs mount shows empty contents

I use autofs to mount some iso files in folder /mnt/iso: Fedora-13-x86_64-DVD.iso Fedora-14-x86_64-DVD.iso Fedora-15-x86_64-DVD.iso The autofs is working fine and I can see the contents of iso ...
1
vote
0answers
657 views

Using automount on RHEL5, why are variables in the auto.master never expanded?

I'm migrating from NISPLUS to LDAP (openldap) and from RHEL4 to RHEL5. The LDAP server is running on RHEL5u4 as are the clients. On RHEL5 variable expansion in auto.master never works, whether in ...
2
votes
1answer
2k views

Autofs mount nfs issues

I'm having some issues getting autofs to work properly on a new Centos 5.5 installation. Please find Exports from my storage servers: /san/files *(rw,sync,no_subtree_check,no_root_squash) /san/mail ...
2
votes
2answers
6k views

How to mount Windows share on boot using mount.cifs and autofs/automount?

I'm having some trouble mounting a network share using autofs. I have added the following line to /etc/auto.master: /mnt/mountpoint /etc/auto.servername I then created the file ...
1
vote
1answer
1k views

Autofs with ghost option not showing wildcard mounts

I have this in my autofs map: * -rw server:/share/& I also have --ghost option enabled in my /etc/auto.master. According to the manual and to all resources and examples I found on the ...
0
votes
1answer
253 views

Restrict user to mount with autofs

Redhat 4/5 I'm trying to centralize home directories for my users. We're not at the point to implement ldap just yet, but let's say I want all my users' home directories mounted off an NFS server. I ...
1
vote
1answer
1k views

How to prevent autofs from mounting over specific directories?

I have a workstation, on which I have a local user account with a local home directory. I'm also a part of an organization, in which I have a NIS user/home directory. I would like to setup autofs in ...