09-13-2002
Mounting nfs filesystems with /net/hostname
Ok ive inherited a number of unix boxes who have drives mounted in different ways. Mostly the nfs filesystems are named in vfstab but some mount points for remote servers are not mentioned in vfs tab and are in fact links to /net/hostname/directory
Does anyone know how this is setup?
10 More Discussions You Might Find Interesting
1. OS X (Apple)
Hi all !
I am looking for a command in the terminal or GUI to mount
an NFS drive.
Second , is there any solution to get rid of / " * in old files names
I know it can be done i just dont know how !
Hope that some one can help
Best R.
Yovel (2 Replies)
Discussion started by: yoveln
2 Replies
2. Linux
Hi,
Re-building linux server from a kickstart image on cdrom.
We have a kickstart server.
the cdrom contacins the kickstart ks.cfg file and does a NFS mount from an IP to load the iso images and other files needed during the kickstart (re-build)
Now for some reason the kickstart stops and... (2 Replies)
Discussion started by: Andrek
2 Replies
3. Solaris
On my Solaris 10 server, I want to share out the directory /export/home/data, so in the /etc/dfs/dfstab file, I have this line:
share -F nfs -o rw /export/home/data
In the /etc/hosts.equiv file, I have this:
+
When I do a "ps -ef" command, I see that the "nfsd' daemon is started.
... (2 Replies)
Discussion started by: serendipity1276
2 Replies
4. HP-UX
is it possible? i will only config on the windows side. is there a third party software to help me accomplish this? tnx (3 Replies)
Discussion started by: Amaru
3 Replies
5. AIX
Hello,
machine1:mount /dev/lv1 /dir1
mount /dev/lv2 /dir1/subdir1
exportfs /dir1
machine2:
If I do NFS mount: mount machine1:/dir1 /foreign1
then /foreign1/subdir1 is empty.
Does NFS supports this kind of mounting ?
thanks
Vilius (2 Replies)
Discussion started by: vilius
2 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I need to mount an nfs filesystem as below.
xxx.xx.xx.xxx:/media/nss/Rocky Catherine/logs
For the above as there is space in between the name, hoping it will not mount, if i give it with double quotes as below will it work?
mount "xxx.xx.xx.xxx:/media/nss/Rocky... (2 Replies)
Discussion started by: Rockyc3400
2 Replies
7. Red Hat
Dear All,
I have an NFS Server and client. I am trying to include the ipaddress of the client in servers exports file /etc/exports.
In this case , I could not mount , saying permission denied.
But when I give * symbol in the place of ipaddress ( Global , any IPS )
it is mounting.
... (1 Reply)
Discussion started by: jegaraman
1 Replies
8. Red Hat
The server ip is 10.2.2.24. I have installed nfs-utils package the i have edited /etc/exports
i have added the following line
/home 10.2.2.0/24(rw,sync,no_root_squash,no_all_squash)
i have saved, i have started the nfs service, then i am trying to mount nfs sharing from client machine using... (1 Reply)
Discussion started by: ainstin
1 Replies
9. Red Hat
The server ip is 10.2.2.24. I have installed nfs-utils package the i have edited /etc/exports
i have added the following line
/home 10.2.2.0/24(rw,sync,no_root_squash,no_all_squash)
i have saved, i have started the nfs service, then i am trying to mount nfs sharing from client machine using... (5 Replies)
Discussion started by: ainstin
5 Replies
10. Solaris
Hi,
I am having some issues mounting NFS files.
for some reason the mount -F nfs is not being recognized..
bash-3.2# mount -F nfs -o rw 192.168.245.129:/mnt/nfs1/ /mnt
UX:vxfs mount: ERROR: V-3-20135: FSType nfs not recognized
UX:vxfs mount: INFO: V-3-20147: Usage:
mount {special |... (5 Replies)
Discussion started by: br1an
5 Replies
lofs(7FS) File Systems lofs(7FS)
NAME
lofs - loopback virtual file system
SYNOPSIS
#include <sys/param.h>
#include <sys/mount.h>
int mount (const char* dir, const char* virtual, int mflag, lofs, NULL, 0);
DESCRIPTION
The loopback file system device allows new, virtual file systems to be created, which provide access to existing files using alternate
pathnames. Once the virtual file system is created, other file systems can be mounted within it, without affecting the original file sys-
tem. However, file systems which are subsequently mounted onto the original file system are visible to the virtual file system, unless or
until the corresponding mount point in the virtual file system is covered by a file system mounted there.
virtual is the mount point for the virtual file system. dir is the pathname of the existing file system. mflag specifies the mount options;
the MS_DATA bit in mflag must be set. If the MS_RDONLY bit in mflag is not set, accesses to the loop back file system are the same as
for the underlying file system. Otherwise, all accesses in the loopback file system will be read-only. All other mount(2) options are
inherited from the underlying file systems.
A loopback mount of '/' onto /tmp/newroot allows the entire file system hierarchy to appear as if it were duplicated under /tmp/newroot,
including any file systems mounted from remote NFS servers. All files would then be accessible either from a pathname relative to '/' or
from a pathname relative to /tmp/newroot until such time as a file system is mounted in /tmp/newroot, or any of its subdirectories.
Loopback mounts of '/' can be performed in conjunction with the chroot(2) system call, to provide a complete virtual file system to a
process or family of processes.
Recursive traversal of loopback mount points is not allowed. After the loopback mount of /tmp/newroot, the file /tmp/newroot/tmp/newroot
does not contain yet another file system hierarchy; rather, it appears just as /tmp/newroot did before the loopback mount was performed
(for example, as an empty directory).
Examples
lofs file systems are mounted using:
mount -F lofs /tmp /mnt
SEE ALSO
lofiadm(1M), mount(1M), chroot(2), mount(2), sysfs(2), vfstab(4), lofi(7D)
WARNINGS
Loopback mounts must be used with care; the potential for confusing users and applications is enormous. A loopback mount entry in
/etc/vfstab must be placed after the mount points of both directories it depends on. This is most easily accomplished by making the loop-
back mount entry the last in /etc/vfstab.
SunOS 5.10 10 Apr 2001 lofs(7FS)