01-17-2006
Mounted Root Filesystem
In my Solaris 10 based server, I have noticed the following mounts when a use DF -K
/dev/dsk/c0t0d0s0 5062414 3213876 1797914 65% /
/ 5062414 3213876 1797914 65% /net/se420
I understand the first mount because it appears in my vfstab file and is the mount of root that I would expect. However I do not understand the second mount as it appears to be a duplicate mount of the root partition. Also it does not appear in my vfstab. When I manually dismount this mount point and then reboot the server - it is remounted !
What is this second mount, where is it being auto mounted and do I need it anyway ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to know if there is a command or set of commands that I can run to verify that there are no 'extraneous' nfs mounted filesystems on our server. I didn't see anything in doing a search on NFS.
We think that we may have some filesystems that are still nfs mounted when the link should... (3 Replies)
Discussion started by: giannicello
3 Replies
2. Shell Programming and Scripting
Hello,
I have a backup script that backs up my system to a nfs mounted file system. The mount point on my local system is /backup.
I want my script to check whether the nfs file system is mounted on /backup before actually backing anything up. Even if the nfs file system was NOT mounted,... (2 Replies)
Discussion started by: xadamz23
2 Replies
3. UNIX for Dummies Questions & Answers
how do you fsck the / filesystem? I know it does it automatically the next time I boot up following a switch on the wall shutdown but is there a flad somewhere that forces this on next boot up?
Thanks (2 Replies)
Discussion started by: DGK
2 Replies
4. Filesystems, Disks and Memory
Hi,
Im running RHEL. How do I find the time a particular filesystem was mounted?
Please Let me know
Thanks (1 Reply)
Discussion started by: neuralninja
1 Replies
5. UNIX for Advanced & Expert Users
Hi,
Im running RHEL. How do I find the time a particular filesystem was mounted?
Please Let me know
Thanks (1 Reply)
Discussion started by: neuralninja
1 Replies
6. Solaris
I have two Unix (Solaris) hosts that are both attached to our SAN. They are both presented with the same luns.
What I want to do is have the same UFS filesystem mounted on both hosts at the same time. What I am trying to accomplish is creating a zone that will reside on both hosts but only... (2 Replies)
Discussion started by: beaker457
2 Replies
7. Red Hat
Hi,
I have some filesystem which is nfs mounted and shared to other servers.
Nfs server name= nfsserver (here filesystem is locally mounted)
server name where filesystem is shared = sharedserver1 and sharedserver2
filesystem which is shared = /filesystem1
when i am checking utilization by... (1 Reply)
Discussion started by: anshu ranjan
1 Replies
8. Shell Programming and Scripting
Anyone know the best way to check and see if a NAS filesystem is mounted on a linux box. I have no idea where to start :wall:. (2 Replies)
Discussion started by: d3mon_spawn
2 Replies
9. Solaris
hi,
i might not be posting my question in the right place because i don't know where to post questions
my question is like this
i created a partition named 'var' in the SOLARIS os .,and then i knowingly mounted it on /var ..now after doing this am not able to login to my... (4 Replies)
Discussion started by: shekhar_4_u
4 Replies
10. AIX
Hello Gurus,
Can you please suggest what is the command of all the filesystems which are mounted at the server.
Thanks-
Pokhraj Das (1 Reply)
Discussion started by: pokhraj_d
1 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)