Home » Article » Bermain-main dengan btrfs dengan Linux Mint 13

Bermain-main dengan btrfs dengan Linux Mint 13


October 2012

RSS Link

  • An error has occurred; the feed is probably down. Try again later.

Twitter Updates

Blog Stats

  • 410,420 hits



Setelah membaca-baca sedikit tentang btrfs, gw putuskan untuk langsung mencoba btrfs. Secara default, Linux Mint 13 belum support btrfs. Gw harus menambahkan tools, btrfs-tools. Tools ini akan digunakan untuk melakukan konversi file system dari ext3 yang selama ini gw pakai menjadi btrfs.

Secara umum btrfs menawarkan sejumlah kelebihan dibandingkan filesystem linux yang lain. Hanya saja, btrfs belum dinyatakan stabil dan tidak disarankan untuk digunakan untuk production system.


Btrfs is a new copy on write filesystem for Linux aimed at implementing advanced features while focusing on fault tolerance, repair and easy administration. Initially developed by Oracle, Btrfs is licensed under the GPL.

Note that Btrfs does not yet have a fsck tool that can fix errors. While Btrfs is stable on a stable machine, it is currently possible to corrupt a filesystem irrecoverably if your machine crashes or loses power on disks that don’t handle flush requests correctly. This will be fixed when the fsck tool is ready.


Linux has a wealth of filesystems to choose from, but we are facing a number of challenges with scaling to the large storage subsystems that are becoming common in today’s data centers. Filesystems need to scale in their ability to address and manage large storage, and also in their ability to detect, repair and tolerate errors in the data stored on disk.

The main Btrfs features available at the moment include:

  • Extent based file storage
  • 2^64 byte == 16 EiB maximum file size
  • Space-efficient packing of small files
  • Space-efficient indexed directories
  • Dynamic inode allocation
  • Writable snapshots, read-only snapshots
  • Subvolumes (separate internal filesystem roots)
  • Checksums on data and metadata
  • Compression (gzip and LZO)
  • Integrated multiple device support
  • RAID-0, RAID-1 and RAID-10 implementations
  • Efficient incremental backup
  • Background scrub process for finding and fixing errors on files with redundant copies
  • Online filesystem defragmentation

Additional features in development, or planned, include:

  • RAID-5 and RAID-6
  • Object-level mirroring and striping
  • Alternative checksum algorithms
  • Online filesystem check
  • Efficient incremental filesystem mirroring


Setelah instalasi btrfs-tools, gw buka terminal :

1. Unmount file system yang akan di-convert.

$sudo umount /backup

2. Lakukan konversi

$sudo btrfs-convert /dev/sda7

3. Setelah selesai konversi, lakukan check UUID untuk filesystem baru (karena Linux Mint menggunakan informasi blkid suatu partisi untuk melakukan mounting di /etc/fstab). Bisa juga menggunakan info seperti /dev/sdax, like oldis style.

$sudo blkid /dev/sda7

4. Edit file /etc/fstab untuk mengubah informasi filesystem dan blkid yang baru saja didapatkan.

5. Aktifkan juga algoritma kompresi untuk filesystem btrfs. Bisa zlib, bisa juga lzo.

Selamat mencoba !!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: