This is an old revision of the document!


Table of Contents

BTRFS

B-TREE filesystem for Linux

Install

apt-get install btrfs-progs
echo "btrfs" >> /etc/modules
reboot

Setup

Create a disk partition using gdisk

gdisk /dev/sda
GPT fdisk (gdisk) version 1.0.6

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): p
Disk /dev/sda: 7814037167 sectors, 3.6 TiB
Model: Portable
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): ED98F650-DC25-46BC-9D36-FCE4C20783C4
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 7814037133
Partitions will be aligned on 2048-sector boundaries
Total free space is 7811939948 sectors (3.6 TiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         2099199   1024.0 MiB  8300  Linux filesystem
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies