S
S
syxoi2016-11-14 11:39:22
Arch Linux
syxoi, 2016-11-14 11:39:22

Arch: Why doesn't multiple option mounting work in btrfs?

Mounting:

mount /dev/sda2 /mnt -o compress-force=zlib,nodatacow,ssd,discard

but mount gives
/dev/sda2 on /mnt type btrfs (rw,relatime,nodatasum,nodatacow,ssd,discard,space_cache,subvolid=5,subvol=/)

And if you remove one of the parameters, then the rest work:
mount /dev/sda2 /mnt -o compress-force=zlib,ssd,discard

mount
/dev/sda2 on /mnt type btrfs (rw,relatime,compress-force=zlib,ssd,discard,space_cache,subvolid=5,subvol=/)

dmesg
[ 1358.825523] BTRFS info (device sda2): force zlib compression
[ 1358.825531] BTRFS info (device sda2): setting nodatacow
[ 1358.825536] BTRFS info (device sda2): use ssd allocation scheme
[ 1358.825541] BTRFS info (device sda2): turning on discard
[ 1358.825545] BTRFS info (device sda2): disk space caching is enabled
[ 1358.825547] BTRFS info (device sda2): has skinny extents

as you can see, incl. compression, cow off, ssd on, trim on, but mount says it's not there. Can you please tell me why and how to solve it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question