Linux NFS development
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: nfs@lists.sourceforge.net
Subject: Re: how to execute a script from NFS mount (which	disconnected)?
Date: Tue, 22 May 2007 14:17:49 +0200	[thread overview]
Message-ID: <4652DF6D.8020209@wpkg.org> (raw)
In-Reply-To: <1179835810.6501.8.camel@heimdal.trondhjem.org>

Trond Myklebust schrieb:
> On Tue, 2007-05-22 at 12:37 +0200, Tomasz Chmielewski wrote:
>> How can I execute a script from NSF mount - a script which reconfigures 
>> a network interface, and there is a period of network disconnection?
> 
> Copy it to a RAMFS partition and execute it there.

No, that's not a good solution. Or a solution I would want to use.

I use the same script on systems having rootfs on iSCSI. And they also 
disconnect for a brief period of time.
There, everything works properly if I just "preload"/cache the 
script/programs with something like:

	cat script &>/dev/null
	program --help &>/dev/null

Then, I can disconnect the station for several minutes, but the system 
will have the programs/scripts cached, and will be able to use them.


I would like to do something similar with NFS. Isn't there a 
"disconnected" mode for NSF (or "cached", etc.)?


-- 
Tomasz Chmielewski
http://wpkg.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2007-05-22 12:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-22 10:37 how to execute a script from NFS mount (which disconnected)? Tomasz Chmielewski
2007-05-22 12:10 ` Trond Myklebust
2007-05-22 12:17   ` Tomasz Chmielewski [this message]
2007-05-22 12:25     ` Jeff Layton
2007-05-22 12:29       ` Jeff Layton
2007-05-22 12:41     ` Trond Myklebust
2007-05-22 12:42 ` Neil Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4652DF6D.8020209@wpkg.org \
    --to=mangoo@wpkg.org \
    --cc=nfs@lists.sourceforge.net \
    --cc=trond.myklebust@fys.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox