Re: different st_dev's in one subvolume

2011-06-01 Thread Stephane Chazelas
2011-06-02 01:39:41 +0100, Stephane Chazelas: [...] > /mnt/1# zstat +device ./**/* > . 25 > A 26 > A/B 27 > A/B/inB 27 > A/inA 26 > A.snap 28 > A.snap/B 23 > A.snap/inA 28 > > Why does A.snap/B have a different st_dev from A.snap's? [...] > If I create another snap of A or A.snap, the "B" in there

different st_dev's in one subvolume

2011-06-01 Thread Stephane Chazelas
Hiya, please consider this: ~# truncate -s1G ./a ~# mkfs.btrfs ./a ~# sudo mount -o loop ./a /mnt/1 ~# cd /mnt/1 /mnt/1# ls /mnt/1# btrfs sub c A Create subvolume './A' /mnt/1# btrfs sub c A/B Create subvolume 'A/B' /mnt/1# touch A/inA A/B/inB /mnt/1# btrfs sub snap A A.snap Create a snapshot of