1 |
On 10/01/2010 04:40 PM, James wrote: |
2 |
> Daniel Troeder <daniel <at> admin-box.com> writes: |
3 |
> |
4 |
> |
5 |
>> As I read about the nice performance of btrfs with compression I tried |
6 |
>> it out two weeks ago. I'll be posting my benchmarks to this list soon. |
7 |
>> Until now I didn't have any problems, but still would not use btrfs on |
8 |
>> production systems. |
9 |
> |
10 |
> What tool(how) did you setup btrfs? |
11 |
> As I'm going to use it (test it) on an old |
12 |
> drive (system), with / /boot and swap all |
13 |
> using btrfs......... |
14 |
> |
15 |
> Fdisk(gentoo_handbook)? |
16 |
> |
17 |
> What would a grub entry look like? |
18 |
> |
19 |
> /etc/fstab ? |
20 |
> |
21 |
> Other affected files? |
22 |
> |
23 |
> Well, I'm going to take the BTRFS plung. Any words |
24 |
> of wisdom, howto's or caveats are most welcome. |
25 |
> |
26 |
> |
27 |
> James |
28 |
I read the man and web page, and ended up using the defaults: |
29 |
|
30 |
$ mkfs.btrfs /dev/xyz |
31 |
|
32 |
To use compression, just mount with "-o compress". That's all :) |
33 |
|
34 |
/etc/fstab: |
35 |
/dev/mapper/vg0-portage /gentoo btrfs noatime,compress 0 2 |
36 |
|
37 |
I installed sys-fs/btrfs-progs-0.19-r1 and I have the 'acl' flag on. |
38 |
|
39 |
I haven't done anything fancy since then, and it justworks(tm) ;) |
40 |
|
41 |
Bye, |
42 |
Daniel |
43 |
|
44 |
-- |
45 |
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get |
46 |
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887 |