xfs
[Top] [All Lists]

Re: What is the proper way to unlink/free quota inodes?

To: Chris Wedgwood <cw@xxxxxxxx>
Subject: Re: What is the proper way to unlink/free quota inodes?
From: Nathan Scott <nathans@xxxxxxx>
Date: Sat, 21 Sep 2002 09:31:14 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20020920225018.GA16700@tapu.f00f.org>; from cw@f00f.org on Fri, Sep 20, 2002 at 03:50:18PM -0700
References: <20020920225018.GA16700@tapu.f00f.org>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Fri, Sep 20, 2002 at 03:50:18PM -0700, Chris Wedgwood wrote:
> What is the proper way to unlink quota inodes (and hence free the
> space they use) when you no longer want to mess with quotas?
> 
> I tried deleting all quotas for all users to see if it would do this
> automatically but it does not.  Rather, I used xfs_db to null the
> values in "sb 0" and then had repair fix the dangling link...
> 
> ... surely there is a better way?
> 

quotaoff(1) does this, in particular "-x delete".  This issues the
Q_XQUOTARM quotactl(2) command which XFS acts on to free the inode.

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>