linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mantas <grawity@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: linux-nfs@vger.kernel.org
Subject: Re: could modify sillyrename to put files in /tmp
Date: Fri, 03 Feb 2012 02:07:25 +0200	[thread overview]
Message-ID: <jgf8ft$rg5$1@dough.gmane.org> (raw)
In-Reply-To: <201202021018234324363@300.cn>

On 2012-02-02 04:18, wangjing wrote:
> In nfs v3 ,if mulity process visit nfs mount nfs dir ,there sometimes occour .nfsXXX can't delete .
> 
> If modify sillyrename to put files in /tmp ,it will be more friendly to nfs user.

What would then happen if /tmp was on a separate filesystem than the
original file?

> the background
>    1、Linux fs has   /nfsmnt/work_pub/web and /nfsmnt/work_inwork/web ,they use NFS V3 mount
>    2、there is many process will read and write files in the dir /nfsmnt/work_pub/web 
>    3、cron will del  all files in dir  /nfsmnt/work_pub/web in period,and will copy all the files which in the dir /nfsmnt/work_inwork/web 
> 
> in some times delete all files in  /nfsmnt/work_pub/web will faild ,because there is some .nfsXXXX

Then modify the cron job to ignore ".nfs*" files.

-- 
Mantas M.


      parent reply	other threads:[~2012-02-03  0:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-02  2:18 could modify sillyrename to put files in /tmp wangjing
2012-02-02 13:50 ` Myklebust, Trond
2012-02-03  0:07 ` Mantas [this message]

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='jgf8ft$rg5$1@dough.gmane.org' \
    --to=grawity@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).