Moved our samba server to use Lustre as its backend file system and things look like they are working, but I''m seeing the following message repeat over and over [2010/10/04 11:09:40, 0] lib/sysquotas.c:sys_get_quota(421) sys_path_to_bdev() failed for path [.]! [2010/10/04 11:09:40, 0] lib/sysquotas.c:sys_get_quota(421) sys_path_to_bdev() failed for path [.]! [2010/10/04 11:09:45, 0] lib/sysquotas.c:sys_get_quota(421) sys_path_to_bdev() failed for path [.]! [2010/10/04 11:09:45, 0] lib/sysquotas.c:sys_get_quota(421) sys_path_to_bdev() failed for path [.]! Any ideas? -- Personally, I liked the university. They gave us money and facilities, we didn''t have to produce anything! You''ve never been out of college! You don''t know what it''s like out there! I''ve worked in the private sector. They expect results. -Ray Ghostbusters
Hi David, On Mon, Oct 04, 2010 at 12:09:21PM -0500, David Noriega wrote:> Moved our samba server to use Lustre as its backend file system and > things look like they are working, but I''m seeing the following > message repeat over and over > > [2010/10/04 11:09:40, 0] lib/sysquotas.c:sys_get_quota(421) > sys_path_to_bdev() failed for path [.]![...]> > Any ideas?A quick google search shows that others - who don''t export a lustre fs - get the same error message, so i would recommend to try the samba mailing list instead. That being said, if samba tries to access quota information through standard quotactl(2) calls, it cannot work since Lustre has its own quota administrative interface (see llapi_quotactl(3)). HTH Cheers, Johann
So then Samba isn''t Lustre-aware in the sense it checks and respects quotas? On Tue, Oct 5, 2010 at 7:18 AM, Johann Lombardi <johann.lombardi at oracle.com> wrote:> Hi David, > > On Mon, Oct 04, 2010 at 12:09:21PM -0500, David Noriega wrote: >> Moved our samba server to use Lustre as its backend file system and >> things look like they are working, but I''m seeing the following >> message repeat over and over >> >> [2010/10/04 11:09:40, 0] lib/sysquotas.c:sys_get_quota(421) >> ?sys_path_to_bdev() failed for path [.]! > [...] >> >> Any ideas? > > A quick google search shows that others - who don''t export a lustre fs - get the same error message, so i would recommend to try the samba mailing list instead. > That being said, if samba tries to access quota information through standard quotactl(2) calls, it cannot work since Lustre has its own quota administrative interface (see llapi_quotactl(3)). > > HTH > > Cheers, > Johann >-- Personally, I liked the university. They gave us money and facilities, we didn''t have to produce anything! You''ve never been out of college! You don''t know what it''s like out there! I''ve worked in the private sector. They expect results. -Ray Ghostbusters
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