smb2-quota(1) General Commands Manual smb2-quota(1)

# [Name](#Name)

smb2-quota - Userspace helper to display quota information for the Linux SMB client file system (CIFS)

# [SYNOPSIS](#SYNOPSIS)

smb2-quota \[-h] {options} {file system object}

# [DESCRIPTION](#DESCRIPTION)

This tool is part of the cifs-utils suite.

*smb2-quota* is a userspace helper program for the Linux SMB client file system (CIFS).

This tool works by making an CIFS\_QUERY\_INFO IOCTL call to the Linux SMB client which in turn issues a SMB Query Info request and returns the result.

# [OPTIONS](#OPTIONS)

*--help/-h*: Print help explaining the command line options.

*--tabular/-t*: Print quota information for the volume in tabular format. Amount Used | Quota Limit | Warning Level | Percent Used | Status | SID

*--csv/-c*: Print quota information for the volume in csv format. SID,Amount Used,Quota Limit,Warning Level

*--list/-l*: Print quota information for the volume in raw format. - SID - Quota Used - Quota Threshold - Quota Limit

*--tabular/-t* is the default action if none is given.

# [NOTES](#NOTES)

Kernel support for smb2-quota requires the CIFS\_QUERY\_INFO IOCTL which was initially introduced in the 4.20 kernel and is only implemented for mount points using SMB2 or above (see [mount.cifs(8)](/man/os/cifs-utils/mount.cifs.8) *vers* option).

# [SEE ALSO](#SEE_ALSO)

[smbinfo(1)](/man/os/cifs-utils/smbinfo.1)

# [AUTHOR](#AUTHOR)

Kenneth D'souza &lt;&lt;kdsouza@redhat.com&gt;&gt;

The Linux CIFS Mailing list is the preferred place to ask questions regarding these programs.

---

Document: smb2-quota(1) from cifs-utils 7.9-r0 (Chainguard OS)
Source: git://git.samba.org/cifs-utils.git
