linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* could modify sillyrename to put files in /tmp
@ 2012-02-02  2:18 wangjing
  2012-02-02 13:50 ` Myklebust, Trond
  2012-02-03  0:07 ` Mantas
  0 siblings, 2 replies; 3+ messages in thread
From: wangjing @ 2012-02-02  2:18 UTC (permalink / raw)
  To: linux-nfs, linux-kernel; +Cc: wjk302

SW4gbmZzIHYzICxpZiBtdWxpdHkgcHJvY2VzcyB2aXNpdCBuZnMgbW91bnQgbmZzIGRpciAsdGhl
cmUgc29tZXRpbWVzIG9jY291ciAubmZzWFhYIGNhbid0IGRlbGV0ZSAuDQoNCklmIG1vZGlmeSBz
aWxseXJlbmFtZSB0byBwdXQgZmlsZXMgaW4gL3RtcCAsaXQgd2lsbCBiZSBtb3JlIGZyaWVuZGx5
IHRvIG5mcyB1c2VyLg0KDQoNCnRoZSBiYWNrZ3JvdW5kDQogICAxoaJMaW51eCBmcyBoYXMgICAv
bmZzbW50L3dvcmtfcHViL3dlYiBhbmQgL25mc21udC93b3JrX2lud29yay93ZWIgo6x0aGV5IHVz
ZSBORlMgVjMgbW91bnQNCiAgIDKhonRoZXJlIGlzIG1hbnkgcHJvY2VzcyB3aWxsIHJlYWQgYW5k
IHdyaXRlIGZpbGVzIGluIHRoZSBkaXIgL25mc21udC93b3JrX3B1Yi93ZWIgDQogICAzoaJjcm9u
IHdpbGwgZGVsICBhbGwgZmlsZXMgaW4gZGlyICAvbmZzbW50L3dvcmtfcHViL3dlYiBpbiBwZXJp
b2SjrGFuZCB3aWxsIGNvcHkgYWxsIHRoZSBmaWxlcyB3aGljaCBpbiB0aGUgZGlyIC9uZnNtbnQv
d29ya19pbndvcmsvd2ViIA0KDQppbiBzb21lIHRpbWVzIGRlbGV0ZSBhbGwgZmlsZXMgaW4gIC9u
ZnNtbnQvd29ya19wdWIvd2ViIHdpbGwgZmFpbGQgLGJlY2F1c2UgdGhlcmUgaXMgc29tZSAubmZz
WFhYWA0KDQoNCg0KTXkgcXVlc3Rpb24gaXMgOmNhbiBpIG1vZGlmeSBuZnNfc2lsbHlyZW5hbWUg
ZnVubmNpb24gIGluIHRoZSBmcy9uZnMvZGlyLmMgLCBnZW5lcmFsIGFsbCAubmZzWFhYIGluIC90
bXAsYW5kIG1ha2Uga2VybmVsID8NCg0KDQoNCg0KMjAxMi0wMi0wMiANCndhbmdqaW5nDQo=


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: could modify sillyrename to put files in /tmp
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Myklebust, Trond @ 2012-02-02 13:50 UTC (permalink / raw)
  To: wangjing; +Cc: linux-nfs, linux-kernel, wjk302

T24gVGh1LCAyMDEyLTAyLTAyIGF0IDEwOjE4ICswODAwLCB3YW5namluZyB3cm90ZToNCj4gSW4g
bmZzIHYzICxpZiBtdWxpdHkgcHJvY2VzcyB2aXNpdCBuZnMgbW91bnQgbmZzIGRpciAsdGhlcmUg
c29tZXRpbWVzIG9jY291ciAubmZzWFhYIGNhbid0IGRlbGV0ZSAuDQo+IA0KPiBJZiBtb2RpZnkg
c2lsbHlyZW5hbWUgdG8gcHV0IGZpbGVzIGluIC90bXAgLGl0IHdpbGwgYmUgbW9yZSBmcmllbmRs
eSB0byBuZnMgdXNlci4NCg0KTm8gaXQgd291bGRuJ3QuIFRoaW5rIHBlcm1pc3Npb25zLi4uLg0K
DQo+IHRoZSBiYWNrZ3JvdW5kDQo+ICAgIDHjgIFMaW51eCBmcyBoYXMgICAvbmZzbW50L3dvcmtf
cHViL3dlYiBhbmQgL25mc21udC93b3JrX2lud29yay93ZWIg77yMdGhleSB1c2UgTkZTIFYzIG1v
dW50DQo+ICAgIDLjgIF0aGVyZSBpcyBtYW55IHByb2Nlc3Mgd2lsbCByZWFkIGFuZCB3cml0ZSBm
aWxlcyBpbiB0aGUgZGlyIC9uZnNtbnQvd29ya19wdWIvd2ViIA0KPiAgICAz44CBY3JvbiB3aWxs
IGRlbCAgYWxsIGZpbGVzIGluIGRpciAgL25mc21udC93b3JrX3B1Yi93ZWIgaW4gcGVyaW9k77yM
YW5kIHdpbGwgY29weSBhbGwgdGhlIGZpbGVzIHdoaWNoIGluIHRoZSBkaXIgL25mc21udC93b3Jr
X2lud29yay93ZWIgDQo+IA0KPiBpbiBzb21lIHRpbWVzIGRlbGV0ZSBhbGwgZmlsZXMgaW4gIC9u
ZnNtbnQvd29ya19wdWIvd2ViIHdpbGwgZmFpbGQgLGJlY2F1c2UgdGhlcmUgaXMgc29tZSAubmZz
WFhYWA0KPiANCj4gDQo+IA0KPiBNeSBxdWVzdGlvbiBpcyA6Y2FuIGkgbW9kaWZ5IG5mc19zaWxs
eXJlbmFtZSBmdW5uY2lvbiAgaW4gdGhlIGZzL25mcy9kaXIuYyAsIGdlbmVyYWwgYWxsIC5uZnNY
WFggaW4gL3RtcCxhbmQgbWFrZSBrZXJuZWwgPw0KPiANCk5BQ0suDQoNCg0KLS0gDQpUcm9uZCBN
eWtsZWJ1c3QNCkxpbnV4IE5GUyBjbGllbnQgbWFpbnRhaW5lcg0KDQpOZXRBcHANClRyb25kLk15
a2xlYnVzdEBuZXRhcHAuY29tDQp3d3cubmV0YXBwLmNvbQ0KDQo=

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: could modify sillyrename to put files in /tmp
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Mantas @ 2012-02-03  0:07 UTC (permalink / raw)
  To: linux-nfs; +Cc: linux-kernel

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-03  0:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).