# ./loopback /root/nfsroot/ /root/ORIGIN
/root/nfsroot *(rw,sync,no_root_squash,fsid=1)
# mount localhost:/root/nfsroot mount_dir
ls: input/output error
mountstate.go:233: Dispatch: ACCESS, NodeId: 1. data: {x}
mountstate.go:260: Serialize: ACCESS code: OK value:
mountstate.go:233: Dispatch: GETATTR, NodeId: 1. data: {Fh 0}
mountstate.go:260: Serialize: GETATTR code: OK value: {A1.000000000 &{1 4096 8 1336376912 1336376882 1336376882 147549414 463052486 463052486 16877 12 {0 0} 0 4096 0}}
mountstate.go:233: Dispatch: LOOKUP, NodeId: 1. names: [1.txt] 6 bytes
mountstate.go:260: Serialize: LOOKUP code: OK value: {410156720 E1.000000000 A1.000000000 &{410156720 0 0 1336376616 1336376616 1336376882 391464000 391464000 463052486 33188 1 {0 0} 0 4096 0}}
mountstate.go:233: Dispatch: OPENDIR, NodeId: 1.
mountstate.go:260: Serialize: OPENDIR code: OK value: {Fh 410919920 NONSEEK}
mountstate.go:233: Dispatch: RELEASEDIR, NodeId: 1. data: {Fh 410919920 NONBLOCK,DIRECTORY,LARGEFILE,CLOEXEC L0}
mountstate.go:260: Serialize: RELEASEDIR code: OK value:
mountstate.go:233: Dispatch: OPENDIR, NodeId: 1.
mountstate.go:260: Serialize: OPENDIR code: OK value: {Fh 410920928 NONSEEK}
mountstate.go:233: Dispatch: RELEASEDIR, NodeId: 1. data: {Fh 410920928 CLOEXEC,NONBLOCK,DIRECTORY,LARGEFILE L0}
mountstate.go:260: Serialize: RELEASEDIR code: OK value:
mountstate.go:233: Dispatch: GETATTR, NodeId: 1. data: {Fh 0}
mountstate.go:260: Serialize: GETATTR code: OK value: {A1.000000000 &{1 4096 8 1336376912 1336376882 1336376882 147549414 463052486 463052486 16877 12 {0 0} 0 4096 0}}
mountstate.go:233: Dispatch: GETXATTR, NodeId: 1. names: [system.posix_acl_access] 24 bytes
mountstate.go:260: Serialize: GETXATTR code: 61=no data available value:
mountstate.go:233: Dispatch: GETXATTR, NodeId: 1. names: [system.posix_acl_default] 25 bytes
mountstate.go:260: Serialize: GETXATTR code: 61=no data available value:
mountstate.go:233: Dispatch: GETXATTR, NodeId: 410156720. names: [system.posix_acl_access] 24 bytes
mountstate.go:260: Serialize: GETXATTR code: 61=no data available value:
mountstate.go:233: Dispatch: GETXATTR, NodeId: 1. names: [system.posix_acl_access] 24 bytes
mountstate.go:260: Serialize: GETXATTR code: 61=no data available value:
mountstate.go:233: Dispatch: GETXATTR, NodeId: 1. names: [system.posix_acl_default] 25 bytes
mountstate.go:260: Serialize: GETXATTR code: 61=no data available value:
mountstate.go:233: Dispatch: GETXATTR, NodeId: 410156720. names: [system.posix_acl_access] 24 bytes
mountstate.go:260: Serialize: GETXATTR code: 61=no data available value:
fly@LocalBox:~/mount_dir$ mkdir cccccccc
mkdir: cannot create directory `cccccccc': Input/output error
2012/05/07 19:50:40 get attr : cccccccc &{{1001 1001} 906}
2012/05/07 19:50:40 GetAttr failed: no such file or directory
2012/05/07 19:50:40 mkdir: cccccccc 509 &{{1001 1001} 906}
2012/05/07 19:50:40 get attr : cccccccc &{{1001 1001} 906}
2012/05/07 19:50:40 get attr : &{{1001 1001} 906}
2012/05/07 19:50:40 getXAttr system.posix_acl_default
2012/05/07 19:50:40 getXAttr ret: data: code 2=no such file or directory
Thanks for your reading