06-09-2011
You cannot copy files to NFS without mounting it. AIX have automount see man automount.
This User Gave Thanks to click For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there
In my organisation we have a solaris network with /home being automounted from /export/home on a central file server (usual stuff) however, the guy who originally set this up only allocated 3gb to /export/home and now we are really struggling for space. I have a new 18gb disk installed... (3 Replies)
Discussion started by: hcclnoodles
3 Replies
2. Solaris
Hello all,
We're using JET to build our systems.. I'm in the process of needing to build a centrally located JET box with access to all our networks rather that 2 or 3 dotted around. Part of the means I need to locate the boot & OS images on an NFS mount (via NETAPP filer)..
However in the... (1 Reply)
Discussion started by: itsupplies
1 Replies
3. AIX
Hi,
I am using AIX 5.2, and I want to copy some files from one server to a remote server using tar command. Can anybody tell me exact command?
Thanks.
Aqeel (2 Replies)
Discussion started by: system-admin
2 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I'm sorry if this sounds like a very simple question, but I'm having some difficulty with it being a complete newbie to UNIx. I use Windows, and always have, but need some UNIX access for work, picking up files from our group space, etc.
Basically, I'm using Cygwin and can SSH into the... (3 Replies)
Discussion started by: patwa
3 Replies
5. Shell Programming and Scripting
Hi All,
I am trying to rsync some of the latest files from remote m/c to my local linux box.
Folder structure in my remote m/c looks like this
/pub/Nightly/Package/ROLL/WIN
/pub/Nightly/Package/SOLL/sol
/pub/Nightly/Package/SOLL/linux
Each of the folder contains gzip files which on daily... (0 Replies)
Discussion started by: jhoomsharabi
0 Replies
6. UNIX for Dummies Questions & Answers
Hi. I'm sorry if I get on people's nerves asking this, but I don't really understand how to do this and unfortunately don't have the time to work through it step by step in books, etc.
At University, we have a unix server that hosts our files. we each have a login and password to access it. I... (3 Replies)
Discussion started by: patwa
3 Replies
7. Shell Programming and Scripting
hi,
i want to copy files from a remote computer in a network to a specific directory on my PC. ( script )
Forexample , IP of the remote PC is 172.16.5.24 login:aaaa Passw:123
/folder1/file1.txt to my pc folder /fd/awa.txt
kinldy help
Thanks (2 Replies)
Discussion started by: krabu
2 Replies
8. AIX
Hello
Do you know how to list the FS nfs from / etc / filesystems?
I am a newbie on AIX 5.3, thank you for your help.
Hus (4 Replies)
Discussion started by: hus83
4 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
Please help me for a shell. I am a New to unix
I am trying to DB dump file from one server and copying it to another server.
From My Local ServerA connecting to remote ServerB using ssh and taking dump of a instance. That Dump file i need to copy to ServerC.
I am able to connect... (6 Replies)
Discussion started by: maddyd2k
6 Replies
10. Shell Programming and Scripting
I am trying to copy code to remote server, doing something like this
However it is copying one file and than the script exits
i=0; j=0
while read fn; do
dir=${fn%/*} # Gets directory path
fnm=${fn##*/} # Gets filename excl. path
rgx_nwk="s/${nwk}/${nwk}.sac/g"
... (2 Replies)
Discussion started by: kristinu
2 Replies
LEARN ABOUT ULTRIX
systemd.automount
SYSTEMD.AUTOMOUNT(5) systemd.automount SYSTEMD.AUTOMOUNT(5)
NAME
systemd.automount - Automount unit configuration
SYNOPSIS
automount.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). Note that automount units cannot be templated, nor is it possible to add multiple names to an automount unit by creating
additional symlinks to its unit file.
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.
IMPLICIT DEPENDENCIES
The following dependencies are implicitly added:
o If an automount unit is beneath another mount unit in the file system hierarchy, both a requirement and an ordering dependency between
both units are created automatically.
o An implicit Before= dependency is created between an automount unit and the mount unit it activates.
DEFAULT DEPENDENCIES
The following dependencies are added unless DefaultDependencies=no is set:
o Automount units acquire automatic Before= and Conflicts= on umount.target in order to be stopped during shutdown.
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 does not exist at time that the automount point is
installed, it is created. This string must be reflected in the unit filename. (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.
TimeoutIdleSec=
Configures an idle timeout. Once the mount has been idle for the specified time, systemd will attempt to unmount. Takes a unit-less
value in seconds, or a time span value such as "5min 20s". Pass 0 to disable the timeout logic. The timeout is disabled by default.
SEE ALSO
systemd(1), systemctl(1), systemd.unit(5), systemd.mount(5), mount(8), automount(8), systemd.directives(7)
systemd 237 SYSTEMD.AUTOMOUNT(5)