BCACHEFS(8) System Manager's Manual (smm) BCACHEFS(8) (NAME) bcachefs - bcachefs (SYNOPSIS) bcachefs command [options] [arguments] (DESCRIPTION) bcachefs : (Superblock commands) format bcachefs. show-super . set-fs-option (Mount commands) mount . (Repair commands) fsck . (Commands for managing a running filesystem) fs usage fs top (Commands for managing devices within a running filesystem) device add device remove device online device offline device evacuate device set-state device resize device resize-journal (Commands for managing subvolumes and snapshots) subvolume create subvolume delete subvolume snapshot subvolume list subvolume list-snapshots (Commands for managing filesystem data) reconcile scrub (Commands for encryption) unlock set-passphrase () remove-passphrase () (Commands for migration) migrate bcachefs migrate-superblock bcachefs migrate bcachefs (Commands for operating on files in a bcachefs filesystem) set-file-option (Commands for debugging) dump qcow2 list list_journal FUSE (FUSE commands) fusemount Mount a filesystem via FUSE (Miscellaneous commands) version bcachefs completions (Superblock commands) bcachefs format [options] devices ... bcachefs. . : bcachefs format --label=ssd /dev/sda --label=hdd /dev/sdb --block_size=size ( 4k) --btree_node_size=size B-tree 256k --errors=(continue | ro | panic) --data_replicas=number . (erasure coding) 3 (RAID6) . --metadata_replicas=number --encoded_extent_max=size --metadata_checksum=(none | crc32c | crc64 | xxhash) (: crc32c). --data_checksum=(none | crc32c | crc64 | xxhash) (: crc32c). --compression=(none | lz4 | gzip | zstd) (: none). --background_compression=(none | lz4 | gzip | zstd) --str_hash=(crc32c | crc64 | siphash) (xattrs) --metadata_target=target --foreground_target=target --background_target=target --promote_target=target --erasure_code (RAID5/6 ) --inodes_32bit --shared_inode_numbers CPU --inodes_use_key_cache B-tree --gc_reserve_percent=percentage copygc --gc_reserve_bytes=percentage copygc gc_reserve_percent --root_reserve_percent=percentage --wide_macs MAC --acl POSIX acl --usrquota --grpquota --prjquota --journal_transaction_names --nocow Nocow: . (reflink) COW . . --replicas=number . --encrypted (chacha20/poly1305) . --no_passphrase -L, --fs_label=label label . . FS_IOC_SETFSLABEL ioctl . -U, --uuid=uuid uuid --superblock_size=size : --discard discard/TRIM --fs_size=size size . --bucket=size B-tree --durability=n n (replicated) -l, --label -f, --force . -q, --quiet -v, --verbose bcachefs show-super [options] device . -f, --fields=fields -l, --layout bcachefs set-fs-option [options] device --errors=(continue | ro | panic) --metadata_replicas=number --data_replicas=number . 3 (RAID6) . --metadata_checksum=(none | crc32c | crc64 | xxhash) (: crc32c). --data_checksum=(none | crc32c | crc64 | xxhash) (: crc32c). --compression=(none | lz4 | gzip | zstd) (: none). --background_compression=(none | lz4 | gzip | zstd) --str_hash=(crc32c | crc64 | siphash) --metadata_target=target --foreground_target=target --background_target=target --promote_target=target --erasure_code (RAID5/6 ) --inodes_32bit --shared_inode_numbers CPU --inodes_use_key_cache B-tree --gc_reserve_percent=percentage copygc --gc_reserve_bytes=percentage copygc gc_reserve_percent --root_reserve_percent=percentage --wide_macs MAC --acl POSIX acl --usrquota --grpquota --prjquota --degraded (degraded mode) --very_degraded --discard discard/TRIM --verbose --journal_flush_delay=ms --journal_flush_disabled sync/fsync ( ) --journal_reclaim_delay=ms --move_bytes_in_flight=bytes / --move_ios_in_flight=number / --fsck fsck --fix_errors=error fsck --ratelimit_errors fsck --nochanges - --norecovery --journal_transaction_names --noexcl --direct_io O_DIRECT ( ) --sb=offset --reconstruct_alloc B-tree (alloc) --version_upgrade=(compatible | incompatible | none) compatible : . incompatible none . --nocow Nocow: . COW . . --nocow_enabled nocow: nocow --no_data_io submit_bio() (Mount commands) bcachefs mount [options] device mountpoint mount -t bcachefs mount.bcachefs bcachefs mount . . device UUID= OLD_BLKID_UUID= LABEL=