I made the leap to a btrfs root partition for my netbook with a fresh install of F15.
Everything seems to work fine and I have done some fair amount of Googling for information and come across https://btrfs.wiki.kernel.org/index.php/Getting_started which offers some great (incomplete) info but nothing Fedora specific. I have some questions about how to move forward to take advantage of btrfs:
1) Is there any kind of integration of btrfs with the included apps (For example: automatic snapshots before yum updates allowing easy rollbacks, deja dup backing up a btrfs snapshot so that currently changing data doesn't affect the backup process, a kiosk mode that rolls back a home directory to a known state after logout, etc.) or is that the next step to take advantage of all the new bells and whistles and F15 is just a test-btrfs-as-a-ext4-replacement release?
2) I see (using 'mount') that the root is btrfs along with some (what appear to be) subvolumes for /tmp, /var/tmp and /home yet 'btrfs device scan' shows no information. Does 'btrfs device scan' only scan unmounted devices or is this a bug?
3) I have read at Phoronix that using the transparent compression offers a fair performance gain ( http://www.phoronix.com/scan.php?page=article&item=btrfs_space_cache&... ) with mixed results when combining that with space cache. Has the space cache+compression degradation seen in some benchmarks been fixed in F15? Also, is using transparent compression simply a matter of adding the correct mount flag to /etc/fstab or is there a more complex conversion process to be followed that needs to be done offline?
4) Since this is a netbook with a modest Atom processor, would enabling transparent compression just load the CPU such that any performance is negated or cause significant battery drain?
Thank you for any experience you have to offer.
/Mike
On Monday, May 30, 2011 01:13:10 Michael Wiktowy wrote:
I made the leap to a btrfs root partition for my netbook with a fresh install of F15.
- Is there any kind of integration of btrfs with the included apps
(For example: automatic snapshots before yum updates allowing easy rollbacks,
See
https://btrfs.wiki.kernel.org/index.php/UseCases#I_want_to_be_able_to_do_rol...
On 05/30/2011 10:43 AM, Michael Wiktowy wrote:
I made the leap to a btrfs root partition for my netbook with a fresh install of F15.
Everything seems to work fine and I have done some fair amount of Googling for information and come across https://btrfs.wiki.kernel.org/index.php/Getting_started which offers some great (incomplete) info but nothing Fedora specific. I have some questions about how to move forward to take advantage of btrfs:
- Is there any kind of integration of btrfs with the included apps
(For example: automatic snapshots before yum updates allowing easy rollbacks, deja dup backing up a btrfs snapshot so that currently changing data doesn't affect the backup process, a kiosk mode that rolls back a home directory to a known state after logout, etc.) or is that the next step to take advantage of all the new bells and whistles and F15 is just a test-btrfs-as-a-ext4-replacement release?
Read https://fedoraproject.org/wiki/Fedora_15_announcement
- I see (using 'mount') that the root is btrfs along with some (what
appear to be) subvolumes for /tmp, /var/tmp and /home yet 'btrfs device scan' shows no information. Does 'btrfs device scan' only scan unmounted devices or is this a bug?
Potentially. Might post in their mailing list or report it in bugzilla and check.
[Snipped the other questions I have no idea about]
Rahul
On 05/30/2011 01:13 AM, Michael Wiktowy wrote:
<snip>
- I see (using 'mount') that the root is btrfs along with some (what
appear to be) subvolumes for /tmp, /var/tmp and /home yet 'btrfs device scan' shows no information. Does 'btrfs device scan' only scan unmounted devices or is this a bug?
<snip>
try:
$ sudo btrfs device scan $ dmesg | grep transid
On Mon, May 30, 2011 at 10:48 PM, Clyde E. Kunkel clydekunkel7734@cox.net wrote:
On 05/30/2011 01:13 AM, Michael Wiktowy wrote:
<snip>
- I see (using 'mount') that the root is btrfs along with some (what
appear to be) subvolumes for /tmp, /var/tmp and /home yet 'btrfs device scan' shows no information. Does 'btrfs device scan' only scan unmounted devices or is this a bug?
<snip>
try:
$ sudo btrfs device scan $ dmesg | grep transid
This is a direct cut and paste:
[mwiktowy@netbook ~]$ sudo btrfs device scan [sudo] password for mwiktowy: Scanning for Btrfs filesystems [mwiktowy@netbook ~]$ dmesg|grep transid [ 3.600235] device fsid 7a4812176077d1e2-369760c3b102cf84 devid 1 transid 1709 /dev/sda3 [ 3.649785] device fsid 7a4812176077d1e2-369760c3b102cf84 devid 1 transid 1709 /dev/sda3 [ 3.869158] device fsid 7a4812176077d1e2-369760c3b102cf84 devid 1 transid 1709 /dev/sda3 [ 9877.217727] device fsid 7a4812176077d1e2-369760c3b102cf84 devid 1 transid 1951 /dev/sda3
Nothing shows up with the btrfs tool but grepping the start up logs reveals btrfs activity. I guess I will write a bug report and see what comes of it.
To answer my own question 3) and somewhat 4): I just added the compress=lzo option in fstab and that seems to work without problems so far and grepping /var/log/messages indicates that the kernel is using that flag. It doesn't seem to add all that much CPU load from what I can tell ... what does add significant CPU load is actually *viewing* the CPU load with System Monitor. It seems that drawing a graph in screen in F15 is quite labour intensive. Heisenberg uncertainly certainly applies with CPU load.
/Mike
On Tue, May 31, 2011 at 2:35 AM, Michael Wiktowy michael.wiktowy@gmail.com wrote:
Nothing shows up with the btrfs tool but grepping the start up logs reveals btrfs activity. I guess I will write a bug report and see what comes of it.
Bug submitted: https://bugzilla.redhat.com/show_bug.cgi?id=709867