I have an java application running on a zone and part of the application does a simple File.rename() to move from /usr/local/application/x.zip to /zfs/space/application/x.zip [locations obfusticated]. This fails with an exception (currently unknown, but will be getting the stack trace tomorrow). However, on my development environment I don't get this issue but we are not using zfs.
Does anyone know why the move would not work?
"Whether or not this method can move a file from one filesystem to another is platform-dependent."
So it may be work may be not :)
Thanks Nik :)
If java in turn uses the C-function rename() it will not work..
Edited by: abrante on Aug 11, 2011 12:12 PM
This link seems useful: