12-10-2004
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.
Cheers
ZB
9 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
5. Solaris
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)
Discussion started by: blowtorch
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 OPENSOLARIS
scrl
scrl(3XCURSES) X/Open Curses Library Functions scrl(3XCURSES)
NAME
scrl, scroll, wscrl - scroll a window
SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib
-R /usr/xpg4/lib -lcurses [ library... ]
c89 [ flag... ] file... -lcurses [ library... ]
#include <curses.h>
int scrl(int n);
int scroll(WINDOW *win);
int wscrl(WINDOW *win, int n);
PARAMETERS
n number and direction of lines to scroll
win pointer to the window in which to scroll
DESCRIPTION
The scroll() function scrolls the window win up one line. The current cursor position is not changed.
The scrl() and wscrl() functions scroll the window stdscr or win up or down n lines, where n is a positive (scroll up) or negative (scroll
down) integer.
The scrollok(3XCURSES) function must be enabled for these functions to work.
RETURN VALUES
On success, these functions return OK. Otherwise, they return ERR.
ERRORS
None.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
clearok(3XCURSES), libcurses(3XCURSES), attributes(5), standards(5)
SunOS 5.11 5 Jun 2002 scrl(3XCURSES)