control: fixed -1 4.1.2-1 Hi,
It seems that fixed in 4.1.2-1 (thanks to snapshot.debian.org!) See below log, and please close this bug if it's ok. $ sudo bash ./bugtest.sh Btrfs v3.16 See http://btrfs.wiki.kernel.org for more information. Turning ON incompat feature 'extref': increased hardlink limit per file to 65536 fs created label (null) on mnt/1.img nodesize 16384 leafsize 16384 sectorsize 4096 size 4.00GiB Btrfs v3.16 See http://btrfs.wiki.kernel.org for more information. Turning ON incompat feature 'extref': increased hardlink limit per file to 65536 fs created label (null) on mnt/2.img nodesize 16384 leafsize 16384 sectorsize 4096 size 4.00GiB Create subvolume 'mnt/1/subv' Create a readonly snapshot of 'mnt/1/subv' in 'mnt/1/subvROsnap1' Create a readonly snapshot of 'mnt/1/subv' in 'mnt/1/subvROsnap2' Create subvolume 'mnt/2/def' At subvol mnt/1/subvROsnap1/ At subvol subvROsnap1 At subvol mnt/1/subvROsnap2 At snapshot subvROsnap2 It seems that you have changed your default subvolume or you specify other subvolume to mount btrfs, try to remount this btrfs filesystem with fs tree, and run btrfs receive again! $ sudo bash ./bugtest.sh Btrfs v3.17 See http://btrfs.wiki.kernel.org for more information. Turning ON incompat feature 'extref': increased hardlink limit per file to 65536 ERROR: device scan failed 'mnt/1.img' - Block device required fs created label (null) on mnt/1.img nodesize 16384 leafsize 16384 sectorsize 4096 size 4.00GiB Btrfs v3.17 See http://btrfs.wiki.kernel.org for more information. Turning ON incompat feature 'extref': increased hardlink limit per file to 65536 ERROR: device scan failed 'mnt/2.img' - Block device required fs created label (null) on mnt/2.img nodesize 16384 leafsize 16384 sectorsize 4096 size 4.00GiB Create subvolume 'mnt/1/subv' Create a readonly snapshot of 'mnt/1/subv' in 'mnt/1/subvROsnap1' Create a readonly snapshot of 'mnt/1/subv' in 'mnt/1/subvROsnap2' Create subvolume 'mnt/2/def' At subvol mnt/1/subvROsnap1/ At subvol subvROsnap1 At subvol mnt/1/subvROsnap2 At snapshot subvROsnap2 It seems that you have changed your default subvolume or you specify other subvolume to mount btrfs, try to remount this btrfs filesystem with fs tree, and run btrfs receive again! $ sudo bash ./bugtest.sh btrfs-progs v4.0 See http://btrfs.wiki.kernel.org for more information. Turning ON incompat feature 'extref': increased hardlink limit per file to 65536 Turning ON incompat feature 'skinny-metadata': reduced-size metadata extent refs ERROR: device scan failed 'mnt/1.img' - Block device required fs created label (null) on mnt/1.img nodesize 16384 leafsize 16384 sectorsize 4096 size 4.00GiB btrfs-progs v4.0 See http://btrfs.wiki.kernel.org for more information. Turning ON incompat feature 'extref': increased hardlink limit per file to 65536 Turning ON incompat feature 'skinny-metadata': reduced-size metadata extent refs ERROR: device scan failed 'mnt/2.img' - Block device required fs created label (null) on mnt/2.img nodesize 16384 leafsize 16384 sectorsize 4096 size 4.00GiB Create subvolume 'mnt/1/subv' Create a readonly snapshot of 'mnt/1/subv' in 'mnt/1/subvROsnap1' Create a readonly snapshot of 'mnt/1/subv' in 'mnt/1/subvROsnap2' Create subvolume 'mnt/2/def' At subvol mnt/1/subvROsnap1/ At subvol subvROsnap1 At subvol mnt/1/subvROsnap2 At snapshot subvROsnap2 It seems that you have changed your default subvolume or you specify other subvolume to mount btrfs, try to remount this btrfs filesystem with fs tree, and run btrfs receive again! $ sudo bash ./bugtest.sh btrfs-progs v4.1.2 See http://btrfs.wiki.kernel.org for more information. Label: (null) UUID: 56a9c0b8-c0a9-436d-af51-c8de077a071d Node size: 16384 Sector size: 4096 Filesystem size: 4.00GiB Block group profiles: Data: single 8.00MiB Metadata: DUP 212.75MiB System: DUP 12.00MiB SSD detected: no Incompat features: extref, skinny-metadata Number of devices: 1 Devices: ID SIZE PATH 1 4.00GiB mnt/1.img btrfs-progs v4.1.2 See http://btrfs.wiki.kernel.org for more information. Label: (null) UUID: ad2b3a71-783f-4654-b6d7-ebd44357e5ba Node size: 16384 Sector size: 4096 Filesystem size: 4.00GiB Block group profiles: Data: single 8.00MiB Metadata: DUP 212.75MiB System: DUP 12.00MiB SSD detected: no Incompat features: extref, skinny-metadata Number of devices: 1 Devices: ID SIZE PATH 1 4.00GiB mnt/2.img Create subvolume 'mnt/1/subv' Create a readonly snapshot of 'mnt/1/subv' in 'mnt/1/subvROsnap1' Create a readonly snapshot of 'mnt/1/subv' in 'mnt/1/subvROsnap2' Create subvolume 'mnt/2/def' At subvol mnt/1/subvROsnap1/ At subvol subvROsnap1 At subvol mnt/1/subvROsnap2 At snapshot subvROsnap2