On 9/13/19 5:57 AM, Suhrud Patankar wrote:
Hello All,
At server boot, Ganesha registers with rpcbind only after loading all
the exports.
If export loading takes some time, then there is a window, where
clients can get PROGRAM_NOT_AVAILABLE error.
What I see is, the client tries to get NLM port number only a few
times before converting to IO error.
#~/multilock/ml_posix_client
OPEN 0 RW create foo
1 OPEN OK 0 3
#### Reboot the server after this.#####
LOCKW 0 read 10 10
2 LOCKW ERRNO 5 "Input/output error" "Lock failed" bad token
"read 10 10"
I understand loading the exports fast will reduce this window but the
window will still be there.
Also FSALs can take longer to create exports if there are high number
of exports.
Has anyone seen this? Is it possible to register with rpcbind before
loading the exports?
You can only put a few/no exports in your config and then load the rest
via DBUS.
Daniel