Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tools:btrfs [2023/07/02 16:45] – created darron | tools:btrfs [2024/01/16 15:09] (current) – [Setup] darron | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====BTRFS==== | + | ====B-TREE FS==== |
- | B-TREE filesystem | + | BTRFS for Linux |
===Install=== | ===Install=== | ||
Line 40: | Line 40: | ||
Number | Number | ||
| | ||
+ | </ | ||
+ | |||
+ | Format partition | ||
+ | |||
+ | < | ||
+ | mkfs.btrfs -f /dev/sda1 | ||
+ | btrfs-progs v5.10.1 | ||
+ | See http:// | ||
+ | |||
+ | Label: | ||
+ | UUID: | ||
+ | Node size: 16384 | ||
+ | Sector size: 4096 | ||
+ | Filesystem size: 1.00GiB | ||
+ | Block group profiles: | ||
+ | Data: | ||
+ | Metadata: | ||
+ | System: | ||
+ | SSD detected: | ||
+ | Incompat features: | ||
+ | Runtime features: | ||
+ | Checksum: | ||
+ | Number of devices: | ||
+ | Devices: | ||
+ | | ||
+ | 1 | ||
+ | </ | ||
+ | |||
+ | Mount partition | ||
+ | |||
+ | < | ||
+ | mkdir /mnt/1 | ||
+ | mount /dev/sda1 /mnt/1 | ||
+ | df -h /mnt/1 | ||
+ | Filesystem | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | dmesg | ||
+ | < | ||
+ | BTRFS: device fsid 4ec8fe62-e6a2-432d-8fec-7eaf1e4bed19 devid 1 transid 5 /dev/sda1 scanned by mkfs.btrfs (768) | ||
+ | BTRFS info (device sda1): using crc32c (crc32c-generic) checksum algorithm | ||
+ | BTRFS info (device sda1): disk space caching is enabled | ||
+ | BTRFS info (device sda1): checking UUID tree | ||
+ | </ | ||
+ | |||
+ | fstab | ||
+ | |||
+ | < | ||
+ | UUID=f6eb5f98-032e-4634-b726-24f356c17af8 /opt btrfs noatime, | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | mount -a | ||
+ | systemctl daemon-reload | ||
</ | </ |