I see lots of messages in the past re java rename command failing whenaccessing files on NFS mounted filesystems. Should this still be anissue??...I think we are hitting it on AIX. A unix mv command worksfine.Is there a workaround?
|
|
0
|
|
|
|
Reply
|
jldunn2000797 (48)
|
11/1/2007 2:39:52 PM |
|
On Thu, 01 Nov 2007 14:39:52 -0000, loial wrote:> I see lots of messages in the past re java rename command failing> when accessing files on NFS mounted filesystems. Should this still> be an issue??...I think we are hitting it on AIX. A unix mv command> works fine.>> Is there a workaround?Renaming presumably fails when you attempt to move a file acrossmultiple file systems, which shouldn't be expected to work. Theworkaround is to copy then delete the original. Unfortunately it's notpossible to preserve permissions or other attributes when you copyfiles in Java./gordon--
|
|
0
|
|
|
|
Reply
|
Gordon
|
11/1/2007 3:41:25 PM
|
|
Gordon Beaton wrote:> On Thu, 01 Nov 2007 14:39:52 -0000, loial wrote:>> I see lots of messages in the past re java rename command failing>> when accessing files on NFS mounted filesystems. Should this still>> be an issue??...I think we are hitting it on AIX. A unix mv command>> works fine.>>>> Is there a workaround?>> Renaming presumably fails when you attempt to move a file across> multiple file systems, which shouldn't be expected to work. The> workaround is to copy then delete the original. Unfortunately it's not> possible to preserve permissions or other attributes when you copy> files in Java.You also can't do this atomically; if some failure occurs partway through, you might wind up with both files existing.
|
|
0
|
|
|
|
Reply
|
Mike
|
11/1/2007 4:54:50 PM
|
|