linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* quotas: failure on removing a file via SFTP/SSH
@ 2017-11-21 12:08 ST
  2017-11-21 12:25 ` Lakshmipathi.G
  2017-11-21 12:28 ` Qu Wenruo
  0 siblings, 2 replies; 12+ messages in thread
From: ST @ 2017-11-21 12:08 UTC (permalink / raw)
  To: linux-btrfs

Hello,

I'm trying to use quotas for a simple chrooted sftp setup, limiting
space for each user's subvolume (now for testing to 1M).

I tried to hit the limit by uploading files and once it comes to the
limit I face following problem: if I try to free space by removing a
file via Linux sftp client (or Filezilla) - I get error:
"Couldn't delete file: Failure"

Sometimes, but not always, if I repeat it for 3-5 times it does removes
the file at the end.
If I login as root and try to remove the file via SSH I get the error:
"rm: cannot remove 'example.txt': Disk quota exceeded"

What is the problem? And how can I solve it?

Thank you in advance!



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-11-22  9:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-21 12:08 quotas: failure on removing a file via SFTP/SSH ST
2017-11-21 12:25 ` Lakshmipathi.G
2017-11-21 13:16   ` ST
2017-11-21 12:28 ` Qu Wenruo
2017-11-21 13:18   ` ST
2017-11-21 14:34     ` Qu Wenruo
2017-11-21 15:29       ` ST
2017-11-21 18:33         ` Chris Murphy
2017-11-21 21:00           ` ST
2017-11-22  0:39             ` Qu Wenruo
2017-11-22  8:32               ` ST
2017-11-22  9:01                 ` Qu Wenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).