=============
e.g. 'Source' has
/boot/.snapshot/20140816-1310-boot_kernel3.16.0$ ll grub
insgesamt 2376
drwxr-xr-x 1 root root 120 Aug 15 21:51 ./
drwxr-xr-x 1 root root 886 Aug 15 21:51 ../
drwxr-xr-x 1 root root 22 Mai 2 19:15 fonts/
-rw-r--r-- 1 root root 902 Mai 2 22:17 gfxblacklist.txt
-r--r--r-- 1 root root 10764 Aug 15 21:51 grub.cfg
-rw-r--r-- 1 root root 1024 Aug 16 13:04 grubenv
drwxr-xr-x 1 root root 6050 Jul 25 18:11 i386-pc/
drwxr-xr-x 1 root root 58 Jul 25 18:11 locale/
-rw-r--r-- 1 root root 2405285 Jul 25 18:11 unicode.pf2
This was created with
btrfs subvol snapshot -r /boot
/boot/.snapshot/20140816-1310-boot_kernel3.16.0, and written to a file with
btrfs send /boot/.snapshot/20140816-1310-boot_kernel3.16.0 >
/boot/.snapshot/20140816-1310-boot_kernel3.16.0.btrfs-send
The (partial) snapshot created on 'Receiver' is looking like this:
/vol/2/20140816-1310-boot_kernel3.16.0# ll grub
total 4
d-----x--- 1 mail mail 50 Aug 15 21:51 .
d-----x--- 1 mail mail 186 Aug 15 21:51 ..
drwxr-xr-x 1 root root 22 May 2 19:15 fonts
------x--- 1 mail mail 67108872 Aug 16 13:04 grubenv
d-----x--- 1 mail mail 20 Jul 25 18:11 i386-pc
dr-S--S--- 1 root root 0 Jul 25 18:11 locale
Increasing the verbosity with "-v -v" for btrfs receive shows the
following differences between receive operations on 'Receiver' and
'OtherHost', both of them using the identical inputfile
/boot/.snapshot/20140816-1310-boot_kernel3.16.0.btrfs-send
* the chown and chmod operations are different -> resulting in
weird/wrong permissions and sizes on 'Receiver' side.
* what's "stransid", this is the first line that differs
@@ -1,13 +1,13 @@
At subvol 20140816-1310-boot_kernel3.16.0
-receiving subvol 20140816-1310-boot_kernel3.16.0
uuid=2eb2588c-2c08-c946-83fb-e29387cb823e, stransid=91392
-chown - uid=8, gid=8
-chmod - mode=0173200010
+receiving subvol 20140816-1310-boot_kernel3.16.0
uuid=2eb2588c-2c08-c946-83fb-e29387cb823e, stransid=357
+chown - uid=0, gid=0
+chmod - mode=0755
utimes
mkdir o257-6-0
rename o257-6-0 -> grub
utimes
-chown grub - uid=8, gid=8
-chmod grub - mode=0173200010
+chown grub - uid=0, gid=0
+chmod grub - mode=0755
utimes grub