I've created two btrfs fileystems using these commands:

mkfs.btrfs -d raid1 -m raid1 -L btrfs1 /dev/sda5 /dev/sdb5
mkfs.btrfs -d raid1 -m raid1 -L btrfs2 /dev/sdc1 /dev/sdd1


Then, added these to /etc/fstab:

LABEL=btrfs1 /mnt/btrfs1 btrfs noatime,compress-force=zlib 0 0
LABEL=btrfs2 /mnt/btrfs2 btrfs noatime,compress-force=zlib 0 0

I mounted these filesystems with:

mount -a


And enabled quotas:

btrfs quota enable /mnt/btrfs1
btrfs quota enable /mnt/btrfs2


I'm using Linux 3.9.5.


After that I've rebooted and I'm no longer able to mount these two
fileystems:

- mounted from /etc/fstab (where it uses LABEL=):

[  149.763638] device label btrfs1 devid 2 transid 7 /dev/sdb5
[  149.764127] btrfs: force zlib compression
[  149.764170] btrfs: disk space caching is enabled
[  149.765271] btrfs: failed to read the system array on sdb5
[  149.830891] btrfs: open_ctree failed
[  149.836563] device label btrfs2 devid 1 transid 7 /dev/sdc1
[  149.837005] btrfs: force zlib compression
[  149.837050] btrfs: disk space caching is enabled
[  149.837660] btrfs: failed to read the system array on sdc1
[  149.910828] btrfs: open_ctree failed


- mounted with /dev/sdc1 only:

[  173.688956] device label btrfs2 devid 1 transid 7 /dev/sdc1
[  173.689393] btrfs: disk space caching is enabled
[  173.690195] btrfs: failed to read the system array on sdc1
[  173.796816] btrfs: open_ctree failed


Is it expected behaviour that the fs is mountable only once?

-- 
Tomasz Chmielewski
http://www.ptraveler.com
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to