个人工具
登录
查看“UbuntuHelp:Btrfs”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:Btrfs”的源代码
来自Ubuntu中文
←
UbuntuHelp:Btrfs
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/btrfs}} {{Languages|UbuntuHelp:btrfs}} == What is btrfs == Basic description of btrfs. Strengths, weaknesses, why is this important, etc. === Features: === * 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 == How to install == === Ubuntu 8.10 Intrepid === ==== PPA deb packages ==== [https://launchpad.net/~brcha/+archive/ppa] Lines for sources.list.d: <pre><nowiki> deb http://ppa.launchpad.net/brcha/ppa/ubuntu intrepid main deb-src http://ppa.launchpad.net/brcha/ppa/ubuntu intrepid main </nowiki></pre> Add the GPG key: <pre><nowiki> sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 17f547c39c5c4071e254d0a7313d312748a22a95 </nowiki></pre> Download module source and btrfs tools: <pre><nowiki> sudo apt-get install btrfs btrfs-progs module-assistant </nowiki></pre> Build and install kernel module: <pre><nowiki> sudo module-assistant auto-install btrfs sudo modprobe btrfs </nowiki></pre> ==== Compile from Source ==== '''NOT ACTUALLY WORKING YET''' [http://btrfs.wiki.kernel.org/index.php/Getting_started btrfs wiki getting started page] ===== Kernel Module Dependencies ===== 8.10 Kernel 2.6.27-9-generic * CONFIG_LIBCRC32C=m * CONFIG_ZLIB_INFLATE=y * CONFIG_ZLIB_DEFLATE=m * build-essential: make, compiler, etc * linux-headers-2.6.27-9-generic: latest kernel headers <pre><nowiki> sudo apt-get install build-essential linux-headers-2.6.27-9-generic </nowiki></pre> Patch: [http://permalink.gmane.org/gmane.comp.file-systems.btrfs/2562] Download, patch and compile code: <pre><nowiki> wget http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/btrfs-0.17.tar.bz2 tar -jxvf btrfs-0.17.tar.bz2 cd btrfs-0.17 #apply patch make </nowiki></pre> '''Currently btrfs does not work with kernel 2.6.27''' Ensure modules are up and running, and insert btrfs module into kernel. <pre><nowiki> sudo modprobe libcrc32c zlib_inflate zlib_deflate sudo insmod btrfs.ko </nowiki></pre> ===== btrfs progs dependencies ===== <pre><nowiki> sudo apt-get install e2fsprogs uuid-dev </nowiki></pre> <pre><nowiki> wget http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/btrfs-progs-0.17.tar.bz2 tar -jxvf btrfs-progs-0.17.tar.bz2 make </nowiki></pre> '''btrfs-progs compile fine''' === Ubuntu 9.04 Jaunty === TBD == How to use == * How to format disk as btrfs * How to grow/shrink file system * How to create snapshots * How to access snapshots * How to convert ext2/3(/4?) partitions to btrfs * How to create an image of a btrfs file system * How to restore from an image of a btrfs file system * How to recover from a failed device * How to add another device to file system [http://btrfs.wiki.kernel.org/index.php/[[category:Category:Documentation btrfs] wiki documentation category]] == Troubleshooting == == Alternatives == * Tux3? * ZFS over Fuse? * Hammer FS (DragonFly BSD) == Links == * [http://btrfs.wiki.kernel.org/ btrfs home page] * [http://en.wikipedia.org/wiki/Btrfs btrfs wikipedia page] * [http://geb.german-elite.net/blog.php?b=113 Installation BTRFS 0.18 on Ubuntu Intrepid(german)] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:Btrfs
。