btrfs and lz4
|
3rd Sep, 2014, 07:35 AM
Post: #13
|
|||
|
|||
RE: btrfs and lz4
Hi!
I have a question regarding mounting of btrfs filesystem with lz4 compression. I'm running Xbian RC2 Gotham on the RPi B+. Connected to this is a 2TB USB drive. I cloned to USB according to http://wiki.xbian.org/doku.php/installation_usb and afterwards moved my content over to this USB via a Samba share. Now I wanted to have a faster way to copy stuff around this USB drive and my PC (moving via samba is sooo slow). Hence I installed Linux Mint 17 and hoped I could just mount the USB there and copy stuff from/to other drives directly. Unfortunately I can't get Linux Mint to mount the USB drive. From what I could see the cloning via xbian-config is creating a btrfs file system with lz4 compression by default. I basically used: mount -t btrfs -o subvol=root/@ /dev/sde1 /mnt and got two errors: 1. cannot mount because of unsupported optional features (10) 2. btrfs: open_ctree failed I then realized that Linux Mint by default uses compress=zlib. I tried: mount -t btrfs -o subvol=root/@,compress=lz4 /dev/sde1 /mnt and the first error disappeared. However, I couldn't get the second error to disappear (I also tried all the other -o options I could see Xbian using for the mount). I then saw that Xbian uses a newer Kernel and btrfs version than what comes with Linux Mint v2. I updated the Kernel on Linux to a 3.16.X and also updated the version for btrfs (now also on 3.16). I also added zswap.enabled=1 zswap.compressor=lz4 to the grub config. The error is still there. btrfs check or any of the other btrfs tools won't work, because they can't receive an option to use lz4 compression. The USB drive mounts under Xbian perfectly - so I don't think the filesystem is broken. Any other advice on how I can mount the drive under Linux Mint and avoid the "btrfs: open_ctree failed" error? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
btrfs and lz4 - mk01 - 4th Apr, 2014, 12:10 PM
RE: btrfs and lz4 - CurlyMo - 4th Apr, 2014, 03:05 PM
RE: btrfs and lz4 - mk01 - 4th Apr, 2014, 05:43 PM
RE: btrfs and lz4 - Perkabalo - 4th Apr, 2014, 11:33 PM
RE: btrfs and lz4 - mk01 - 5th Apr, 2014, 12:13 AM
RE: btrfs and lz4 - narotic - 5th Apr, 2014, 11:27 PM
RE: btrfs and lz4 - CurlyMo - 6th Apr, 2014, 05:32 AM
RE: btrfs and lz4 - Smultie - 6th Apr, 2014, 04:58 PM
RE: btrfs and lz4 - CurlyMo - 6th Apr, 2014, 06:59 PM
RE: btrfs and lz4 - mk01 - 13th Apr, 2014, 07:43 PM
RE: btrfs and lz4 - HolyK - 30th Aug, 2015, 02:08 AM
RE: btrfs and lz4 - CurlyMo - 13th Apr, 2014, 08:55 PM
RE: btrfs and lz4 - CurlyMo - 14th Apr, 2014, 05:56 AM
RE: btrfs and lz4 - Chris83 - 3rd Sep, 2014 07:35 AM
RE: btrfs and lz4 - f1vefour - 3rd Sep, 2014, 04:02 PM
RE: btrfs and lz4 - CurlyMo - 3rd Sep, 2014, 09:03 PM
RE: btrfs and lz4 - Chris83 - 3rd Sep, 2014, 10:03 PM
RE: btrfs and lz4 - CurlyMo - 3rd Sep, 2014, 10:06 PM
RE: btrfs and lz4 - Chris83 - 3rd Sep, 2014, 11:34 PM
Re: RE: btrfs and lz4 - f1vefour - 4th Sep, 2014, 08:28 AM
RE: btrfs and lz4 - Chris83 - 4th Sep, 2014, 08:53 AM
RE: btrfs and lz4 - f1vefour - 4th Sep, 2014, 11:45 AM
RE: btrfs and lz4 - CurlyMo - 4th Sep, 2014, 06:11 PM
Re: btrfs and lz4 - f1vefour - 5th Sep, 2014, 05:20 AM
RE: btrfs and lz4 - CurlyMo - 5th Sep, 2014, 07:46 AM
Re: btrfs and lz4 - f1vefour - 5th Sep, 2014, 03:17 PM
RE: btrfs and lz4 - CurlyMo - 5th Sep, 2014, 05:53 PM
RE: btrfs and lz4 - f1vefour - 5th Sep, 2014, 09:52 PM
RE: btrfs and lz4 - CurlyMo - 6th Sep, 2014, 06:26 AM
RE: btrfs and lz4 - mk01 - 13th Sep, 2014, 12:52 AM
RE: btrfs and lz4 - Chris83 - 13th Sep, 2014, 01:49 AM
RE: btrfs and lz4 - f1vefour - 13th Sep, 2014, 11:02 AM
|