2014-04-02 08:29:23 +00:00
|
|
|
btrfs-quota(8)
|
|
|
|
==============
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
btrfs-quota - control the quota of a btrfs filesystem
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2014-05-19 15:49:35 +00:00
|
|
|
*btrfs quota* <subcommand> <args>
|
2014-04-02 08:29:23 +00:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2014-05-19 15:49:35 +00:00
|
|
|
*btrfs quota* is used to enable/disable or rescan subvolume quota of a btrfs
|
2014-04-02 08:29:23 +00:00
|
|
|
filesystem.
|
|
|
|
|
|
|
|
For setting quota or other quota operations on a btrfs filesystem, please see
|
|
|
|
`btrfs-qgroup`(8) for details.
|
|
|
|
|
|
|
|
WARNING: Quota and qgroup in btrfs filesystem is not stable and impacts
|
|
|
|
performance in mainline kernel yet(v3.14 so far).
|
|
|
|
|
|
|
|
SUBCOMMAND
|
|
|
|
----------
|
2014-05-19 15:49:35 +00:00
|
|
|
*enable* <path>::
|
2014-04-02 08:29:23 +00:00
|
|
|
Enable subvolume quota support for a filesystem.
|
|
|
|
|
|
|
|
|
2014-05-19 15:49:35 +00:00
|
|
|
*disable* <path>::
|
2014-04-02 08:29:23 +00:00
|
|
|
Disable subvolume quota support for a filesystem.
|
|
|
|
|
2014-05-19 15:49:35 +00:00
|
|
|
*rescan* [-s] <path>::
|
2014-04-02 08:29:23 +00:00
|
|
|
Trash all qgroup numbers and scan the metadata again with the current config.
|
|
|
|
+
|
|
|
|
`Options`
|
|
|
|
+
|
|
|
|
-s::::
|
|
|
|
show status of a running rescan operation.
|
|
|
|
-w::::
|
|
|
|
wait for rescan operation to finish(can be already in progress).
|
|
|
|
|
|
|
|
EXIT STATUS
|
|
|
|
-----------
|
2014-05-19 15:49:35 +00:00
|
|
|
*btrfs quota* returns a zero exist status if it succeeds. Non zero is
|
2014-04-02 08:29:23 +00:00
|
|
|
returned in case of failure.
|
|
|
|
|
|
|
|
AVAILABILITY
|
|
|
|
------------
|
2014-05-19 16:04:26 +00:00
|
|
|
*btrfs* is part of btrfs-progs.
|
2014-04-02 08:29:23 +00:00
|
|
|
Please refer to the btrfs wiki http://btrfs.wiki.kernel.org for
|
|
|
|
further details.
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
`mkfs.btrfs`(8),
|
|
|
|
`btrfs-subvolume`(8),
|
|
|
|
`btrfs-qgroup`(8)
|