]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - bcachefs.8
rust: BkeySC now has correct lifetime on BtreeIter
[bcachefs-tools-debian] / bcachefs.8
index f3fd101167655c4b4be4953ecc5fa63ad8d7f901..d5c4e8906e793a84939daa2b35a9253abd04acb3 100644 (file)
@@ -99,7 +99,7 @@ Format one or a list of devices with bcachefs data structures.
 You need to do this before you create a volume.
 .Pp
 Device specific options must come before corresponding devices, e.g.
-.Dl bcachefs format --tier 0 /dev/sdb --tier 1 /dev/sdc
+.Dl bcachefs format --label=ssd /dev/sda --label=hdd /dev/sdb
 .Bl -tag -width Ds
 .It Fl b , Fl -block Ns = Ns Ar size
 block size, in bytes (e.g. 4k)
@@ -111,7 +111,7 @@ Set metadata checksum type (default:
 .It Fl -data_checksum_type Ns = Ns ( Cm none | crc32c | crc64 )
 Set data checksum type (default:
 .Cm crc32c ) .
-.It Fl -compression_type Ns = Ns ( Cm none | lz4 | gzip )
+.It Fl -compression Ns = Ns ( Cm none | lz4 | gzip | zstd )
 Set compression type (default:
 .Cm none ) .
 .It Fl -data_replicas Ns = Ns Ar number
@@ -150,12 +150,6 @@ Specifies the bucket size;
 must be greater than the btree node size
 .It Fl -discard
 Enable discards on subsequent devices
-.It Fl t , Fl -tier Ar index
-Specifies the tier of subsequent devices, where
-.Ar index
-is a small integer and a smaller index indicates a faster tier; tier 0
-being the fastest.
-Currently only two tiers are supported.
 .It Fl q , Fl -quiet
 Only print errors
 .El
@@ -216,8 +210,6 @@ Size of filesystem on device
 Set bucket size
 .It Fl -discard
 Enable discards
-.It Fl t , Fl -tier Ns = Ns Ar number
-Higher tier (e.g. 1) indicates slower devices
 .It Fl f , Fl -force
 Use device even if it appears to already be formatted
 .El
@@ -239,8 +231,9 @@ Force, if data redundancy will be degraded
 .El
 .It Nm Ic device Ic evacuate Ar device
 Move data off of a given device
-.It Nm Ic device Ic set-state Oo Ar options Oc Ar device Ar new-state
+.It Nm Ic device Ic set-state Oo Ar options Oc Ar new-state Ar device
 .Bl -tag -width Ds
+.It Ar  new-state Ns = Ns ( Ar rw | ro | failed | spare )
 .It Fl f , Fl -force
 Force, if data redundancy will be degraded
 .El