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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
fsfreeze
FSFREEZE(8) System Administration FSFREEZE(8)
NAME
fsfreeze - suspend access to a filesystem (Linux Ext3/4, ReiserFS, JFS, XFS)
SYNOPSIS
fsfreeze -f mountpoint
fsfreeze -u mountpoint
DESCRIPTION
fsfreeze suspends and resumes access to an filesystem
fsfreeze halts new access to the filesystem and creates a stable image on disk. fsfreeze is intended to be used with hardware RAID devices
that support the creation of snapshots.
fsfreeze is unnecessary for device-mapper devices. The device-mapper (and LVM) automatically freezes filesystem on the device when a snap-
shot creation is requested. For more details see the dmsetup(8) man page.
The mount-point argument is the pathname of the directory where the filesystem is mounted. The filesystem must be mounted to be frozen
(see mount(8)).
OPTIONS
-h, --help
Print help and exit.
-f, --freeze
This option requests the specified a filesystem to be frozen from new modifications. When this is selected, all ongoing transac-
tions in the filesystem are allowed to complete, new write system calls are halted, other calls which modify the filesystem are
halted, and all dirty data, metadata, and log information are written to disk. Any process attempting to write to the frozen
filesystem will block waiting for the filesystem to be unfrozen.
Note that even after freezing, the on-disk filesystem can contain information on files that are still in the process of unlinking.
These files will not be unlinked until the filesystem is unfrozen or a clean mount of the snapshot is complete.
-u, --unfreeze
This option is used to un-freeze the filesystem and allow operations to continue. Any filesystem modifications that were blocked by
the freeze are unblocked and allowed to complete.
AUTHOR
Written by Hajime Taira.
NOTES
This man page based on xfs_freeze. One of -f or -u must be supplied to fsfreeze.
SEE ALSO
mount(8)
AVAILABILITY
The fsfreeze command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux May 2010 FSFREEZE(8)