slight OT but btrfs mailing list refuses to receive my mails (must be in a blacklist or something).
I'm trying to run btrfs on a Marvell Kirkwood device (a pretty average and cheap home nas, 2 Sata ports, 512MB RAM, gigabit eth, ARM singlecore powerful enough to nearly saturate the gigabit port, some USB 2.0 and one usb 3.0) currently running Debian Jessie, it has a XOR engine that can hardware-accelerate the crc32c checksum (the checksum used in btrfs).
There are drivers for the XOR in linux, I see the mails in mailing lists about the driver being added and patched.
How do I check if this engine is used or not for btrfs?
Announcement
Collapse
No announcement yet.
Btrfs File-System Updates For Linux 4.6
Collapse
X
-
Of course, if you want the newest btrfs-tools (4.5.1 at the moment), there's a way without updating to this kernel already, just compile it and it will install to userspace.
#!/bin/bash
sudo apt-get install git asciidoc xmlto --no-install-recommends -y
#build-deps.
sudo apt-get install uuid-dev libattr1-dev zlib1g-dev libacl1-dev e2fslibs-dev libblkid-dev liblzo2-dev -y
cd /tmp
git clone git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
cd /tmp/btrfs-progs
./autogen.sh
./configure
make -j`grep -c ^processor /proc/cpuinfo`
sudo make install -j`grep -c ^processor /proc/cpuinfo`
rm /tmp/btrfs-progs -rf
cd ../ && bash
####[email protected]:/tmp$ btrfs --version
####btrfs-progs v4.5.1
Last edited by twicejr; 04 April 2016, 02:20 PM.
Leave a comment:
-
Originally posted by pal666 View Postbut zfs is not mature on linux, there are just many clueless people
1) Using CDDL-licensed ZFS with GPL-licensed kernel could be a violation of licensing, which is a big deal for corporate users who aren't exactly fond of idea of being caught on something like THIS. Sun had their wish to be incompatible with Linux. Let's respect it and see where is Sun and where is Linux, he-he. To the hell with CDDL.
2) Its third-party module. GPU drivers vs ubuntu have already shown us how this performs. You upgrade OS version. Boom, black screen. Despite of DKMS gpu driver could fail to build or start anyway. Bummer. Even more fun if same thing happens to rootfs driver, ha-ha. That's how one fucks their system up for the real.
3) Ubuntu default setup provides quite reasonable subvolumes setup by default. So one can snapshot /home and rest of system in independent manner. I wonder if zfs on ubuntu can do similar tricks.
4) Btrfs is integrated with Linux, chattr +C or cp --reflink are working, etc and it even reuses RAID algos from appropriate kernel modules (just heavily optimized math though, not block-level approaches/lvm/etc).
Speaking for myself, I'm dealing with VMs and SD card images and ability to cp --reflink them for cheap multi-version-alike approach is valuable ally to me. Now I can get "independent", "deduplcated" copy of VM or drive image in a blink of eye, while these are still "independent" files, by virtue of CoW. Not to mention it is handy keep some few snapshots in case something has gone terribly wrong, like infamous "rm -rf /usr /whatever/it/was", as seen in bumblebee epic bug.Last edited by SystemCrasher; 25 March 2016, 02:19 AM.
- Likes 1
Leave a comment:
-
Originally posted by pal666 View Postnot much, since ubuntu added btrfs support long ago
btrfs will of course win in the long run, but zfs is going to see some more use in the short term.
Leave a comment:
-
Originally posted by numasan View Post
I'm curious, what is the advantage of using BTRFS over EXT4 or XFS on the root filesystem? Or is it just because BTRFS is default for SLES?
- Likes 1
Leave a comment:
-
Originally posted by pal666 View Postbtrfs has modern superior desing, zfs has obsolete design
zfs for linux is separate product with zero userbase, which implies zero stability. btrfs for linux is used by default by some enterprise distros with support(not all features) and by facebook
also, zfs does have some userbase on linux, probably less than btrfs tho. And it will increase quite a bit when Ubuntu adds zfs support.
God I'll laugh when people's data will burn randomly when they used zfs on a non-ecc system. The more people use it, the more likely it becomes that someone will come crying about his data loss.
- Likes 1
Leave a comment:
-
Originally posted by pal666 View Postrollbacks
Leave a comment:
-
Originally posted by uid313 View PostHow does Btrfs compare against ZFS nowadays?
zfs for linux is separate product with zero userbase, which implies zero stability. btrfs for linux is used by default by some enterprise distros with support(not all features) and by facebook
- Likes 1
Leave a comment:
Leave a comment: