pub struct QgroupShowCommand {Show 17 fields
pub path: PathBuf,
pub print_parent: bool,
pub print_child: bool,
pub print_rfer_limit: bool,
pub print_excl_limit: bool,
pub filter_all: bool,
pub filter_direct: bool,
pub raw: bool,
pub human_readable: bool,
pub iec: bool,
pub si: bool,
pub kbytes: bool,
pub mbytes: bool,
pub gbytes: bool,
pub tbytes: bool,
pub sort: Option<SortKeys>,
pub sync: bool,
}Expand description
List subvolume quota groups
Shows all quota groups (qgroups) and their space accounting. Each subvolume automatically gets a level-0 qgroup (e.g. 0/256) that tracks its individual usage. Higher-level qgroups (1/0, 2/0, …) can be created to group subvolumes and apply shared limits across them.
Columns:
qgroupid: the quota group identifier in level/id format. Level 0 corresponds to individual subvolumes. Higher levels are user-created grouping containers.
rfer (referenced): total bytes of data referenced by this qgroup. For level-0 qgroups this is the logical size of all extents in the subvolume. Shared extents (e.g. from snapshots or reflinks) are counted in full by each qgroup that references them.
excl (exclusive): bytes used exclusively by this qgroup, not shared with any other qgroup at the same level. This is the space that would be freed if the subvolume were deleted (assuming no other references).
max_rfer: the configured limit on referenced bytes. Writes that would exceed this limit fail with EDQUOT. Shows “none” if no limit is set.
max_excl: the configured limit on exclusive bytes. Shows “none” if no limit is set.
In –format modern, the qgroup hierarchy is shown as a tree: higher- level qgroups appear as parents with their member qgroups nested below using tree connectors.
Fields§
§path: PathBufPath to a mounted btrfs filesystem
print_parent: boolPrint parent qgroup id
print_child: boolPrint child qgroup id
print_rfer_limit: boolPrint limit of referenced size
print_excl_limit: boolPrint limit of exclusive size
filter_all: boolList all qgroups impacting path, including ancestral qgroups
filter_direct: boolList all qgroups impacting path, excluding ancestral qgroups
raw: boolShow raw numbers in bytes
human_readable: boolShow human friendly numbers, base 1024 (default)
iec: boolUse 1024 as a base (IEC units)
si: boolUse 1000 as a base (SI units)
kbytes: boolShow sizes in KiB
mbytes: boolShow sizes in MiB
gbytes: boolShow sizes in GiB
tbytes: boolShow sizes in TiB
sort: Option<SortKeys>Sort by a comma-separated list of fields (qgroupid, rfer, excl, max_rfer, max_excl)
sync: boolForce a sync before getting quota information
Trait Implementations§
Source§impl Args for QgroupShowCommand
impl Args for QgroupShowCommand
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for QgroupShowCommand
impl CommandFactory for QgroupShowCommand
Source§impl Debug for QgroupShowCommand
impl Debug for QgroupShowCommand
Source§impl FromArgMatches for QgroupShowCommand
impl FromArgMatches for QgroupShowCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.