Sponsored Content
Full Discussion: Normal LOFS behaviour?
Operating Systems Solaris Normal LOFS behaviour? Post 302300039 by blowtorch on Monday 23rd of March 2009 04:23:00 AM
Old 03-23-2009
I tested out on another system (a test box), and this is apparently normal LOFS behaviour.

Q. 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?

A. Yes. To be able to access mountpoint z for a different filesystem that uses either x or y as part of the pathname, z will have to contain the pathname x when it gets mounted. Then you can access it via either /x/z or /y/z.
 

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
mount_lofs(1M)															    mount_lofs(1M)

NAME
mount_lofs: mount, umount - mount and unmount LOFS file systems SYNOPSIS
specific_options] {special_directory|directory} specific_options] special_directory directory {special_directory|directory} DESCRIPTION
The command mounts LOFS file systems. Only superuser can mount LOFS file systems. Other users can use to list mounted file systems. attaches special_directory, a directory from one of the mounted file systems, to directory, an another directory in one of the mounted file systems. This enables new file systems to be created, which provide access to existing directories or file systems using alternate path names. Both special_directory and directory should already exist. directory will become the root of the newly mounted LOFS file system, containing the file system hierarchy under special_directory. special_directory and directory must be specified as absolute path names. If either special_directory or directory is omitted, attempts to determine the missing value from an entry in the file. can be invoked on any removable file system, except If is invoked without any arguments, it lists all the mounted file systems from the file system mount table, The command unmounts mounted file systems. Only a superuser can unmount file systems. Options (mount) recognizes the following options: Attempt to mount all file systems described in All optional fields in must be included and supported. If is specified, all LOFS file systems in are mounted. If is specified in an entry's option list, this entry is skipped. File systems are not necessarily mounted in the order listed in Verbose mode. Write a message to standard output indicating which file system is being mounted. Specify the LOFS file system type (see fstyp(1M)). Limit actions to local file systems only. LOFS is a local file system. Specify options specific to the LOFS file system type. specific_options is a list of comma separated suboptions and/or keyword/attribute pairs intended for the LOFS spe- cific module of the command. The following specific_options are valid on an LOFS file system: Use all default options. When used, this must be the only option specified. Read-only (see below). Report the list of mounted file systems in the format. Prevent display of error messages resulting from an attempt to mount already mounted file systems. Mount the specified file system as read-only (see below). Report the output in a new style. The new style has the file system type and flags displayed in addition to the old output. The directory and spe- cial_directory fields are reversed. Echo the completed command line, but perform no other action. The command line is generated by incorporating the user-specified options and other information derived from This option allows the user to verify the command line. Options (umount) The command recognizes the following options: Attempt to unmount all file systems described in All optional fields in must be included and supported. If file system type is specified, all the LOFS file systems in are unmounted. File systems are not necessarily unmounted in the order listed in Specify the LOFS file system type (see fstyp(1M)). Verbose mode. Write a message to standard output indicating which file system is being unmounted. Echo the completed command line, but perform no other action. The command line is generated by incorporating the user-specified options and other information derived from This option allows the user to verify the command line. EXAMPLES
Mount an LOFS file system: Mount another LOFS file system: WARNINGS
LOFS file systems provide the user with numerous applications; however, they may be potentially confusing. LOFS file systems should gener- ally be created by an experienced user. For LOFS file systems which are mounted read-only, if the underlying file system is mounted writable, certain write operations on the LOFS will succeed. Thus LOFS should not be relied upon to provide a strictly write-only alternative image of a read-write file system. AUTHOR
was developed by HP, AT&T, the University of California, Berkeley, and Sun Microsystems. FILES
Static information about the file systems Mounted file system table SEE ALSO
mount(1M), mount(2), fstab(4), mnttab(4). STANDARDS CONFORMANCE
mount_lofs(1M)
All times are GMT -4. The time now is 08:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy