dCache / nfs4j

Pure Java NFSv3 and NFSv4.2 implementation
Other
240 stars 76 forks source link

Too many levels of symbolic links #84

Open hassin23ayz opened 5 years ago

hassin23ayz commented 5 years ago

hello i have used the latest update and the previous set attribute error is now gone

actually i am trying to network boot android-x86 over NFS , now i am stuck with this error

2019-10-10 03:55:00.912 [] [nfs@2049 (11)] WARN  o.d.s.LocalFileSystem - Unable to set mode of file /home/ayx/test/data/dalvik-cache/x86/system@framework@boot.oat: /home/ayx/test/data/dalvik-cache/x86/system@framework@boot.oat: Too many levels of symbolic links or unable to access attributes of symbolic link
2019-10-10 03:55:00.913 [] [nfs@2049 (11)] ERROR o.d.n.v.NfsServerV3 - SYMLINK
java.lang.UnsupportedOperationException: set mode unsupported: /home/ayx/test/data/dalvik-cache/x86/system@framework@boot.oat: Too many levels of symbolic links or unable to access attributes of symbolic link
    at org.dcache.simplenfs.LocalFileSystem.setattr(LocalFileSystem.java:523)
    at org.dcache.nfs.vfs.PseudoFs.setattr(PseudoFs.java:326)
    at org.dcache.nfs.v3.HimeraNfsUtils.set_sattr(HimeraNfsUtils.java:167)
    at org.dcache.nfs.v3.NfsServerV3.NFSPROC3_SYMLINK_3(NfsServerV3.java:1206)
    at org.dcache.nfs.v3.xdr.nfs3_protServerStub.dispatchOncRpcCall(nfs3_protServerStub.java:111)
    at org.dcache.oncrpc4j.rpc.RpcDispatcher$1.run(RpcDispatcher.java:110)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)

i was able to successfully network boot using standard nfs-utils package provided by apt manager of ubuntu

thanks for your kind help