Sekilas Info BTRFS
Code:
Btrfs is a new copy on write filesystem for Linux.
Main Btrfs features include:
* Extent based file storage (2^64 max file size)
* Space efficient packing of small files
* Space efficient indexed directories
* Dynamic inode allocation
* Writable snapshots
* Subvolumes (separate internal filesystem roots)
* Object level mirroring and striping
* Checksums on data and metadata (multiple algorithms available)
* Compression
* Integrated multiple device support, with several raid algorithms
* Online filesystem check
* Very fast offline filesystem check
* Efficient incremental backup and FS mirroring
* Online filesystem defragmentation pastikan sources list nya sudah di update
Code:
deb http://kambing.vlsm.org/ubuntu lucid main restricted universe multiverse deb http://kambing.vlsm.org/ubuntu lucid-updates main restricted universe multiverse deb http://kambing.vlsm.org/ubuntu lucid-security main restricted universe multiverse deb http://kambing.vlsm.org/ubuntu lucid-proposed main restricted universe multiverse deb http://kambing.vlsm.org/ubuntu lucid-backports main restricted universe multiverse
Code:
apt-get update aptitude install zlib1g-dev zlibc btrfs-tools bzip2 modprobe libcrc32c zlib_inflate zlib_deflate btrfs
Code:
lsmod |grep -i btrfs
utk format partisi ke btrfs
contoh :
Code:
mkfs.btrfs /dev/sdxx
Code:
Must run fsck first fsck.ext4 -f /dev/xxx Convert from Ext3/4-> Btrfs #btrfs-convert /dev/xxx
Code:
#mount -t btrfs /dev.sdxx /cachexxx
Code:
#mount /dev/sda3 on /cache type btrfs (rw)
misal :
Code:
/dev/sda3 /cache btrfs noatime,compress,noacl,barrier=0 0 1
Code:
#chown proxy:proxy /cachexx #chmod 777 /cachexxx #squid -z #/etc/init.d/squid start
thats its,
TESTED ON UBUNTU LUCID
referensi :
hxxps://btrfs.wiki.kernel.org/index.php/Main_Page












