Sponsored Content
Full Discussion: Normal LOFS behaviour?
Operating Systems Solaris Normal LOFS behaviour? Post 302300033 by blowtorch on Monday 23rd of March 2009 03:44:34 AM
Old 03-23-2009
Normal LOFS behaviour?

I've got one directory LOFS mounted on top of another (this is to help move from an older standard that we used to follow to a newer one that we will be).

Something like this:

Code:
bash-3.00# df -k | grep /x
/dev/md/dsk/d4       77449687   88172 76587019     1%    /x
/x                  77449687   88172 76587019     1%    /app

Now,
Code:
bash-3.00# cd /x
bash-3.00# ls
ControlMagent6.2  admin             home              oracle
InfraData         dbatools          lost+found
bash-3.00# cd /app
bash-3.00# ls
ControlMagent6.2  admin             home              oracle
InfraData         dbatools          lost+found

which is fine.
But,
Code:
bash-3.00# cd /app/dbatools
bash-3.00# ls
DBE_DBATOOLS  lost+found    open_client
bash-3.00# cd /x/dbatools
bash-3.00# ls
bash-3.00#

The thing to note here is that /app/dbatools is a separate filesystem as opposed to just being a directory.
Code:
bash-3.00# df -k /app/dbatools
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/vx/dsk/oracle_locdg/dbatools
                     9437184  571386 8311701     7%    /app/dbatools

The DBAs have scripts that are referring to /x/dbatools and expecting to find other scripts/commands to execute under that directory, and the lack of any directory structure under /x/dbatools is causing them to fail.

Is this normal behaviour for LOFS mounted filesystems? If I mount x on top of y, and create a mountpoint z that uses x as part of the directory name, will I not be able to access the mountpoint z by using y as part of the directory name?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Lofs

Hi gang! I've just tried to build a Loopback FS, and I used the option "ro" not knowing what it was meaning, as in the example I have for this feature... mount -F lofs -o ro /my_rep /my_image_rep and of course now I'm stuck with my LOFS which is read-only... not really what I want to have... (7 Replies)
Discussion started by: Lomic
7 Replies

2. UNIX for Advanced & Expert Users

Lofs

Does anyone use lofs (loopback file systems)? I'm not looking for any deep details, but are there actually any advantages to using lofs? If anyone knows, what are the basic advantages? Thanks. -S (7 Replies)
Discussion started by: Sowser
7 Replies

3. UNIX for Advanced & Expert Users

auto mount lofs

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

4. Solaris

lofs

hi all, I was going through the /lib/svc/methods/fs-root file and found this command /usr/sbin/mount -O -F lofs $MOE /lib/libc.so.1 can anyone please explain to me what it does. i know what lofs does what lib.so.1 and what mount is , but am not able to interpret it as its written in the... (1 Reply)
Discussion started by: wrapster
1 Replies

5. Solaris

lofs

Hi all, I am unable to comprehend these instructions. please help if ; then /usr/sbin/mount -O -F lofs $MOE /lib/libc.so.1 Thanks (1 Reply)
Discussion started by: wrapster
1 Replies

6. Solaris

LOFS file system

Hi All, Can you please help me in understanding the lofs file system or point me towards some link which can help ? Thanks (1 Reply)
Discussion started by: kumarmani
1 Replies

7. Solaris

df error for lofs file system in local zone.

I 've a zone which is running oracle db instance. We have exported the SAN file system from the global zone as following fs: dir: /oradb special: /oradb raw not specified type: lofs options: from global zone #df -h | grep oradb... (7 Replies)
Discussion started by: fugitive
7 Replies

8. Solaris

Solaris zones - checking processes and lofs file system

Hi all, q1) If i am in a global-zone, is there any command or anyway to check if a particular process in "ps -ef" output is running in which zone ? q2) if i have created and mount a lofs filesystem/mountpoint for my non-global zone, can i say the following e.g. /dev/md/dsk/d60 /data --... (1 Reply)
Discussion started by: javanoob
1 Replies

9. Solaris

LOFS in Solaris zone, privileges

Hi all Can i check, if I have a lofs filesystem in my local zone (myzone) for - e.g. global-zone -> /db/myzone (/dev/dsk/c0t0d0s6 ufs) myzone-> /myzone (lofs filesystem) zonecfg -z myzone (add fs set dir=/myzone set special=/db/myzone set type=lofs )q1) If I have install... (0 Replies)
Discussion started by: javanoob
0 Replies
automountd(1M)															    automountd(1M)

NAME
automountd - autofs mount/unmount daemon SYNOPSIS
name=value] DESCRIPTION
is an RPC server that answers file system mount and unmount requests from the filesystem. It uses local files or name service maps to locate filesystems to be mounted. These maps are described with the command (see automount(1M)). The daemon is automatically invoked if the variable is set to 1 in Options Trace. Expand each RPC call and display it to Verbose. Log status messages to Turn off browsing for all mount points. This option overrides the map option on the local host. Force all mounts to the local host to be NFS mounts instead of the default LOFS mounts. This is necessary for highly available NFS mounts. Assign value to the indicated map substitution variable. These assignments cannot be used to substitute variables in the master map Tracing While is running, the signal can be sent to to turn tracing on. It logs messages in To turn tracing off, send the signal again. RETURN VALUE
returns: 0 successful 1 failure EXAMPLES
To turn on tracing, enter: or No messages are displayed by the trace. Check the results in WARNINGS
Any filesystems that are being managed by should never be manually mounted or unmounted. Even if the mount or unmount operation appears to complete successfully, the resulting change of state to the managed filesystem can lead to disruptive or unpredictable results, including but not limited to: commands hanging or not returning expected results, and applications failing due to their dependencies on those mounted filesystems. A reboot may be necessary to resolve these issues. AUTHOR
was developed by Sun Microsystems, Inc. FILES
master map for automounter log file for automountd daemon SEE ALSO
automount(1M). automountd(1M)
All times are GMT -4. The time now is 05:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy