[Lustre-discuss] Strange messages from samba
Johann Lombardi
johann.lombardi at oracle.com
Tue Oct 5 15:25:22 PDT 2010
On Tue, Oct 05, 2010 at 02:36:23PM -0500, David Noriega wrote:
> So then Samba isn't Lustre-aware in the sense it checks and respects quotas?
Not exactly. If quotas are enabled on the backend filesystem, samba clients can consult quota information and even change quota settings through the samba quota interface (see smbcquotas). The samba server then forwards the quota query to the underlying filesystem.
On linux, the samba server uses the standard quotactl(2) API to interact with the backend filesystem, but unfortunately, this API is not supported by lustre which has its own interface for quota management (i.e. llapi_quotactl(3)).
However, it seems that the samba server can be told to use an external program instead of the quotactl API. See the "get quota command" and "set quota command" sections from the smb.conf man page. Hence, we could address the problem by implementing some easy wrappers on top of the lfs quota commands.
HTH
Cheers,
Johann
More information about the lustre-discuss
mailing list