'\" t
.\" Title: btrfs-quota
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1
.\" Date: 11/22/2014
.\" Manual: Btrfs Manual
.\" Source: Btrfs v3.17
.\" Language: English
.\"
.TH "BTRFS\-QUOTA" "8" "11/22/2014" "Btrfs v3\&.17" "Btrfs Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
btrfs-quota \- control the quota of a btrfs filesystem
.SH "SYNOPSIS"
.sp
\fBbtrfs quota\fR \fI\fR \fI\fR
.SH "DESCRIPTION"
.sp
\fBbtrfs quota\fR is used to enable/disable or rescan subvolume quota of a btrfs filesystem\&.
.sp
For setting quota or other quota operations on a btrfs filesystem, please see \fBbtrfs\-qgroup\fR(8) for details\&.
.if n \{\
.sp
.\}
.RS 4
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.ps +1
\fBWarning\fR
.ps -1
.br
.sp
Quota and qgroup in btrfs filesystem is not stable and impacts performance in mainline kernel yet(v3\&.14 so far)\&.
.sp .5v
.RE
.SH "SUBCOMMAND"
.PP
\fBenable\fR \fI\fR
.RS 4
Enable subvolume quota support for a filesystem\&.
.RE
.PP
\fBdisable\fR \fI\fR
.RS 4
Disable subvolume quota support for a filesystem\&.
.RE
.PP
\fBrescan\fR [\-s] \fI\fR
.RS 4
Trash all qgroup numbers and scan the metadata again with the current config\&.
.sp
\fBOptions\fR
.PP
\-s
.RS 4
show status of a running rescan operation\&.
.RE
.PP
\-w
.RS 4
wait for rescan operation to finish(can be already in progress)\&.
.RE
.RE
.SH "EXIT STATUS"
.sp
\fBbtrfs quota\fR returns a zero exit status if it succeeds\&. Non zero is returned in case of failure\&.
.SH "AVAILABILITY"
.sp
\fBbtrfs\fR is part of btrfs\-progs\&. Please refer to the btrfs wiki \m[blue]\fBhttp://btrfs\&.wiki\&.kernel\&.org\fR\m[] for further details\&.
.SH "SEE ALSO"
.sp
\fBmkfs\&.btrfs\fR(8), \fBbtrfs\-subvolume\fR(8), \fBbtrfs\-qgroup\fR(8)