Originally posted by zazzybob
Have you tried remounting read-write?
can you not just umount it?
thanx for your help, I tried to remount it with no success it only answered
and for umounting it, it doesn't work but I do it like to umount a standard mount, not a LOFS, may be there is special command line to umount a LOFS?
Maybe somebody is using a file on /myrep (or you or somebody else have a pwd of somewhere under /myrep).
Try fuser /myrep to see what processes are using the fs. If you don't have fuser try lsof.
With fuser you can supply the -k option to send a SIGKILL out to any processes using the mount (e.g. fuser -k /myrep) - be careful though - you could boot people off the system (yourself included) and cause file corruption if somebody is for example editing a file, leave child processes, not cleanup after itself, etc, etc, etc.
Once you get a "clean" output from fuser /myrep that nobody is using the mount, remount it rw.
now it is ok, no more processes running and nobody accessing /myrep
I tried:
mount -F lofs -o rw /myrep /my_image_rep
-> Device busy (but nothing in fuser or lsof)
I tried several ways being at the same level than my_image_rep, being one rep higher and doing it like mount -F lofs -o rw /myrep rep_higher/my_image_rep
obtaining results like
mount: mount-point my_image_rep is not an absolute pathname.
mount: mount-point /my_image_rep does not exist.
and also every way of umount including with the -f option on what is in my mnttab (concerning /myrep)
I think I will end to rebuild the package I try to deploy using another directory than the one actually declared (my_image_rep)
but it will not fix the ro state of the actual my_rep_image in which I also have other packages installed (meaning that the other softwares will have troubles)
one colleague of mines suggest me to edit mnttab directly and to change ro in rw, any chance to succeed that way?
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)
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)
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)
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:
bash-3.00# df -k | grep /x
/dev/md/dsk/d4 77449687 88172 76587019 1% /x
/x ... (1 Reply)
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)
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)
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)