09-25-2012
auto mount
Hello,
We got some SUSIE servers in and we are trying to get auto mount to work. We normally mount our home directories on RHEL and Solaris to /export/home. The home directories on the Susie servers mount home directory to /home. When uses login their home directories mount. When my coworker does su - to anther user, that users home directory doesn't mount. This is different then what we are used to to. can someone give us a hand so we can get the auto mount working right.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi
can i know what is the command to create auto mount point in my unix server? is there any directory which i have to go? (1 Reply)
Discussion started by: legato
1 Replies
2. Shell Programming and Scripting
Hi,
I have written this Auto mount using script.
xterm -e mount/filesrv
xterm -e /root/parameters/param.sh&
xterm -e /root/parameters/prnscript/makePRN.sh&
xterm -e /root/parameters.Releasechecker.sh&
After Executing this script. I am getting 6 screens. It supposed to get only 3 screens. (0 Replies)
Discussion started by: kalyani
0 Replies
3. UNIX for Advanced & Expert Users
On Sun Fire V240, cdrom doesn't automount. I can manually mount the cdrom, however it pretty annoying. I have checked the vold demon and its seems to be running. Here is the output from
/etc/inetd.conf
pg inetd.conf
daytime stream tcp6 nowait root internal
daytime dgram udp6 ... (2 Replies)
Discussion started by: mshafi
2 Replies
4. UNIX for Advanced & Expert Users
Hi All,
I want to mount one directory to other.
i.e /export/home/dju to /dju
It's like a link ( link -s ). but I don't want to use this( link method ) .
I try to use : mount -F lofs /export/home/dju /dju
the question is,
how do I use this mount method with automount ,... (1 Reply)
Discussion started by: mdjuarsa
1 Replies
5. Ubuntu
I am new in Ubuntu and i use Ubuntu 7.10, and have problem to mount automatic when i reboot computer,
Here is my /etc/fstab
192.168.0.91:/home/DATA/it /home/USER/usertest/Documents/Z nfs defaults 0 0
I try many option in that line, but the result is same, I cannot automatic mounting the... (5 Replies)
Discussion started by: blesets
5 Replies
6. Solaris
Dear All,
Struck with a peculiar problem
a) /opt/a is auto mounted to /home/a for User:a
When the User logs in to the server his home directory is getting mounted from the autofs i.e /home/a (/opt/a), Instead is has to mount the User home dir from NIS which is /home/a (from NIS).
... (2 Replies)
Discussion started by: saiprashant
2 Replies
7. UNIX for Dummies Questions & Answers
How to enable and disable the auto mount option for USB devices.? (3 Replies)
Discussion started by: ungalnanban
3 Replies
8. Shell Programming and Scripting
Hi All,
I have got a box here running FreeNAS and have started to hack at
someone elses script to make it do what I want. In particular his
script was;
1) encrypting the USB attached device - which I dont need.
2) repeated beeping when finished (one long beep would be fine)
3) I dont... (0 Replies)
Discussion started by: bigal.nz
0 Replies
9. Shell Programming and Scripting
I have the folorwing three shel accounts on remote servers which i would like to auto mount at boot, bu have the auto mount be preceded by a check for an active Ethernet or 802.11 connection prito running the sshfs command.
porter@tty.freeshelll.org
cent1750@tty.freeshell.org... (0 Replies)
Discussion started by: FloridaBSD
0 Replies
10. Solaris
I CANNOT use autmounter so should I just write the command as an /etc/rc script or is it possible to auto mount the share via the vfstab? (4 Replies)
Discussion started by: LittleLebowski
4 Replies
LEARN ABOUT DEBIAN
systemd.automount
SYSTEMD.AUTOMOUNT(5) systemd.automount SYSTEMD.AUTOMOUNT(5)
NAME
systemd.automount - systemd automount configuration files
SYNOPSIS
systemd.automount
DESCRIPTION
A unit configuration file whose name ends in .automount encodes information about a file system automount point controlled and supervised
by systemd.
This man page lists the configuration options specific to this unit type. See systemd.unit(5) for the common options of all unit
configuration files. The common configuration items are configured in the generic [Unit] and [Install] sections. The automount specific
configuration options are configured in the [Automount] section.
Automount units must be named after the automount directories they control. Example: the automount point /home/lennart must be configured
in a unit file home-lennart.automount. For details about the escaping logic used to convert a file system path to a unit name see
systemd.unit(5).
For each automount unit file a matching mount unit file (see systemd.mount(5) for details) must exist which is activated when the automount
path is accessed. Example: if an automount unit home-lennart.automount is active and the user accesses /home/lennart the mount unit
home-lennart.mount will be activated.
Automount units may be used to implement on-demand mounting as well as parallelized mounting of file systems.
If an automount point is beneath another mount point in the file system hierarchy a dependency between both units is created automatically.
FSTAB
Automount units may either be configured via unit files, or via /etc/fstab (see fstab(5) for details).
For details how systemd parses /etc/fstab see systemd.mount(5).
If an automount point is configured in both /etc/fstab and a unit file the configuration in the latter takes precedence.
OPTIONS
Automount files must include an [Automount] section, which carries information about the file system automount points it supervises. The
options specific to the [Automount] section of automount units are the following:
Where=
Takes an absolute path of a directory of the automount point. If the automount point is not existing at time of the automount point is
installed it is created. This string must be reflected in the unit file name. (See above.) This option is mandatory.
DirectoryMode=
Directories of automount points (and any parent directories) are automatically created if needed. This option specifies the file system
access mode used when creating these directories. Takes an access mode in octal notation. Defaults to 0755.
SEE ALSO
systemd(1), systemctl(8), systemd.unit(5), systemd.mount(5), mount(8), automount(8)
AUTHOR
Lennart Poettering <lennart@poettering.net>
Developer
systemd 10/07/2013 SYSTEMD.AUTOMOUNT(5)