All of lore.kernel.org
 help / color / mirror / Atom feed
* Quota reached: can't delete
@ 2013-01-24 15:12 Jerome M
  2013-01-24 15:14 ` Arne Jansen
  0 siblings, 1 reply; 3+ messages in thread
From: Jerome M @ 2013-01-24 15:12 UTC (permalink / raw)
  To: linux-btrfs

Hi,

With the current btrfs quota implementation, when you reach a
subvolume quota limit, you can't delete anything without first
removing the limit or enlarge it:

rm: cannot remove `testfile.bin': Disk quota exceeded


Is there any plan to change that?

Thanks,
Jerome

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

* Re: Quota reached: can't delete
  2013-01-24 15:12 Quota reached: can't delete Jerome M
@ 2013-01-24 15:14 ` Arne Jansen
  2014-08-07 22:04   ` MegaBrutal
  0 siblings, 1 reply; 3+ messages in thread
From: Arne Jansen @ 2013-01-24 15:14 UTC (permalink / raw)
  To: Jerome M; +Cc: linux-btrfs

On 24.01.2013 16:12, Jerome M wrote:
> Hi,
> 
> With the current btrfs quota implementation, when you reach a
> subvolume quota limit, you can't delete anything without first
> removing the limit or enlarge it:
> 
> rm: cannot remove `testfile.bin': Disk quota exceeded
> 
> 
> Is there any plan to change that?

Yes, there is. The problem is that even deletion needs space.
So we need to allow remove to go over quota. The current implementation
doesn't make this distinction.

-Arne

> 
> Thanks,
> Jerome
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

* Re: Quota reached: can't delete
  2013-01-24 15:14 ` Arne Jansen
@ 2014-08-07 22:04   ` MegaBrutal
  0 siblings, 0 replies; 3+ messages in thread
From: MegaBrutal @ 2014-08-07 22:04 UTC (permalink / raw)
  To: linux-btrfs

Arne Jansen <sensille <at> gmx.net> writes:

> 
> On 24.01.2013 16:12, Jerome M wrote:
> > Hi,
> > 
> > With the current btrfs quota implementation, when you reach a
> > subvolume quota limit, you can't delete anything without first
> > removing the limit or enlarge it:
> > 
> > rm: cannot remove `testfile.bin': Disk quota exceeded
> > 
> > 
> > Is there any plan to change that?
> 
> Yes, there is. The problem is that even deletion needs space.
> So we need to allow remove to go over quota. The current implementation
> doesn't make this distinction.
> 

I've found a workaround to avoid changing quota: null the file and then
you'll be able to delete it.

echo > testfile.bin
rm testfile.bin

P.S.: Sorry for necromancing this thread, but I couldn't resist to tell. :P


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

end of thread, other threads:[~2014-08-07 22:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-24 15:12 Quota reached: can't delete Jerome M
2013-01-24 15:14 ` Arne Jansen
2014-08-07 22:04   ` MegaBrutal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.