nfs4_proc_fsid_present(9)
π nfs4_proc_fsid_present(9) π
okay so this page is straight out of the Kernel API Manual, and it's all about checking whether an FSID is present or absent on the server. bestie, it's giving filesystem detective energy πβ¨
πΈ NAME πΈ
nfs4_proc_fsid_present β Is this FSID present or absent on server? π΅οΈββοΈ
β¨ SYNOPSIS β¨
int nfs4_proc_fsid_present (struct inode *inode , const struct cred
*cred );
so it returns an int, and you're passing in an inode plus a cred. simple as that, no cap π
π ARGUMENTS π
inodeβ theinodeon the FSID you wanna check. this is the main character of the vibe check πcredβ the credential to use for this operation. gotta show the server your ID, iykyk πͺͺβ¨
π¦ DESCRIPTION π¦
the server straight-up tells you whether the FSID is present, moved, or not recognized. no guessing, the server's got the tea βπ
this operation is necessary to clear a LEASE_MOVED condition for this client ID. so yeah, it's lowkey important β it's the "bestie, the lease moved, let's fix this" move π§Ήπ«
here's the return-value vibe check:
- returns
NFS4_OKif the FSID is present on this server β - returns
-NFS4ERR_MOVEDif the FSID is no longer present ππ - returns a negative
NFS4ERRcode if some error occurred on the server π - returns a negative
errnoif a local failure occurred π οΈπ
π SEE ALSO π
Kernel file ./fs/nfs/nfs4proc.c β plus the whole squad of related references:
nfs41_check_expired_locks(9)nfs41_check_open_stateid(9)nfs4_proc_get_rootfh(9)nfs4_proc_setclientid(9)nfs4_proc_setclientid_confirm(9)nfs4_proc_get_locations(9)nfs4_test_session_trunk(9)nfs41_test_stateid(9)nfs41_free_stateid(9)
go read those if you're nosy like me, bestie ππ
β your girl at source/version ./fs/nfs, dated October 2026 π«Άβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms