I wasn't sure when to drop the caches, so I did it before and after mounting. 
But no change the output of btrfs-show-super always looks the same and btrfs 
show fi only says "Total devices 4" if the fs is not mounted. After mounting it 
says 3 and after unmounting it says 4 again.
About the hardware: I am using a normal amd64 consumer Pc with a set of 
different normal sata disks. The machine is rebooted daily (in case that 
matters for caches).

To uneducated me, it looks a bit like the btrfs utility is screwing up here 
when figuring out how many devices should be there. I don't know how closely 
this is tied to the kernel and how much of the logic is actually part of the 
kernel here and how much is userspace code. Do you think it makes sense to use 
some newer upstream version of the btrfs utility?
The debian package containing the btrfs command has 3.17-1.1 as version string.

Best regards,
Florian

On Dec 24, 2014 4:45 PM, Anand Jain <[email protected]> wrote:
>
>
> Very strange, user space reads num_device as 4 but kernel 
> reads it as 3 (total_device), thus a device missing when 
> mounted. 
> Not sure what kind of hardware at your end, Can cache be 
> issue ? could you drop cache and check for me. 
>   echo 3 > /proc/sys/vm/drop_cache 
N�����r��y����b�X��ǧv�^�)޺{.n�+����{�n�߲)����w*jg��������ݢj/���z�ޖ��2�ޙ����&�)ߡ�a�����G���h��j:+v���w��٥

Reply via email to