[LU-11332] Lustre quota issue Created: 04/Sep/18  Updated: 04/Jan/19  Resolved: 04/Jan/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0
Fix Version/s: None

Type: Question/Request Priority: Major
Reporter: Valerio Assignee: WC Triage
Resolution: Won't Fix Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

Hi all,
i have a little problem with quota of Lustre fileystem and samba.
Sometimes, when users delete files from windows client using samba, the files are deleted but quota remain exactly the same without decreses.
The solution to correct this problem seems to be only a reboot of Lustre hosts.
Do you have any idea to resolve this problem or correct quota without restart Lustre?

Lustre Version:

  • lustre: 2.6.0
  • kernel: patchless_client
  • build: 2.6.0-RC2--PRISTINE-2.6.32-431.20.3.el6_lustre.x86_64

Samba is provided from a cluster of two server with CTDB cluter:

  • SMBD Version: 3.6.23-36.el6_8
  • CTDB Version: 2.5.6


 Comments   
Comment by Andreas Dilger [ 04/Sep/18 ]

This problem sounds like the Samba server is keeping the file open after it is unlinked, so that means the file data will not be released until the file is closed. You could use "lsof" on the Lustre client where Samba is running to see if these files are being kept open.

Note also that Lustre 2.6.0 is quite old and there have been problems with open file references, so you might also try with a 2.7.x or 2.10 client for the SMB server.

Comment by Peter Jones [ 04/Jan/19 ]

Will reopen if seen on a more current release

Generated at Sat Feb 10 02:42:57 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.