Everything, Everywhere
Verified Specification | Standardized Formulas | Instant Precision
Secure & Private (Zero Data Retention) Free Access • No Sign-Up
Linux 6.7+ Kernel Mainline B-Tree Extents Multi-Tier SSD/HDD

Linux Bcachefs Multi-Device Tiering & CoW Studio

Simulate Bcachefs extent tree allocations, Copy-on-Write overwrite splitting, NVMe foreground to HDD background migration, and checksum scrubbing.

Active Inode Extents
3 Extents
Total Allocated: 64 KB
Tier 1 NVMe Cache
48 KB (75%)
Wear Buckets: 3 / 16
Tier 2 Cold HDD Pool
16 KB (25%)
Rebalance status: Idle

Virtual Inode Logical Address Space (Offset 0x0000 → EOF)

Click any extent block to inspect bkey descriptor & pointers
Tier 1 (NVMe Foreground)
Tier 2 (HDD Demoted)
CoW Overwritten Target
bkey Extent Descriptor
Select an extent block above to display its bkey pos: (inode:offset), size, CRC32C checksum, and physical disk pointers.

B-Tree Inode Extents Log (BTREE_ID_extents)

Every extent is a self-describing 64-bit bkey in the unified B-tree index.

Journal & Transaction Log

Journal Sequence (seq): 0x00000042
Transaction Status: COMMITTED
Pending CoW Splits: 0 pending extents
Scrub Status: Checksums Verified (0 errors)
Atomic journal entries are written to circular ring-buffers on flash before btree updates are finalized.
# Format multi-tier Bcachefs filesystem with NVMe foreground & HDD background
bcachefs format   --label=nvme.nvme0n1 /dev/nvme0n1   --label=nvme.nvme1n1 /dev/nvme1n1   --label=hdd.sda /dev/sda   --label=hdd.sdb /dev/sdb   --foreground_target=nvme   --promote_target=nvme   --background_target=hdd   --data_replicas=2   --metadata_replicas=2   --compression=zstd

# Mount with active tiering policy
mount -t bcachefs /dev/nvme0n1:/dev/nvme1n1:/dev/sda:/dev/sdb /mnt/bcachefs   -o foreground_target=nvme,background_target=hdd
Sponsored Utility
While You're Here
Sponsored Recommendations
Advertisement