3 bcachefs \- manage bcachefs filesystems/devices
15 Format one or a list of devices with bcachefs data structures. You need to do this before you create a volume.
20 Register a list of devices.
25 List cachesets on this system. This just searches /sys/fs/bcachefs.
30 Gives info about the superblock for a list of devices.
35 Finds the status of the most up to date superblock in each tier. Pass in a list of devices.
40 List bcache specific statistics. Use --list to find out exactly what these are. To list stats for a cacheset, just give the cacheset uuid. To target a cache within the cacheset, use the -c option. To get time interval stats, use the hour, day, etc, options.
45 Return UUID if device identified as bcache-formatted.
47 Only necessary until support for the bcache superblock is included
48 in blkid; in the meantime, provides just enough functionality for a udev script
49 to create the /dev/disk/by-uuid symlink.
54 List the bcache commands
58 .SH Options for bcache
63 .SH Options for format
67 block size, in bytes (e.g. 4k)
69 .BR \-w,\ --btree_node_size=
70 btree node size in bytes - default 256k
72 .BR \--metadata_checksum_type=TYPE
74 .BR \--data_checksum_type=TYPE
75 where TYPE is one of none, crc32c (default), or crc64
77 .BR \--compression_type=TYPE
78 where TYPE is one of none (default), lz4 or gzip
81 Enable encryption; passphrase will be prompted for
83 .BR \--error_action=TYPE
84 where TYPE is one of continue, readonly (default) or panic
86 .BR \-l\ --label=LABEL
87 Create the filesystem with the specified label
90 Create the filesystem with the specified UUID
93 Force the filesystem to be created, even if the device already contains a
96 .SH Options that apply to subsequent devices:
99 Create the filesystem using SIZE bytes on the subsequent device
101 .BR \-b\ --bucket-size=SIZE
102 Specifies the bucket size - must be greater than the btree node size
104 .BR \-t,\ --tier=INDEX
105 Specifies the tier of subsequent devices, where INDEX is a small integer and a
106 smaller index indicates a faster tier - tier 0 being the fastest. Currently only
107 two tiers are supported.
110 Enable discards on subsequent devices
112 .SH Options for register
114 .SH Options for list-cachesets
117 Provide a directory other than /sys/fs/bcache
119 .SH Options for query-devs
121 .BR \-f,\ --force-csum
122 Enables bcache to going even if the superblock crc is invalid
124 .SH Options for status
126 .SH Options for stats
129 List all stats and their values for the given device.
132 List the names of the different stats for the given device.
135 UUID for the cacheset
138 UUID for a device within the cacheset. Must pass in the cacheset UUID in order to search for a dev.
141 Cache number, starts from 0
143 .BR \--five-min-stats
144 stats accumulated in the last 5 minutes
147 stats accumulated in the last hour
150 stats accumulated in the last day
153 stats accumulated in total