Re: Device only missing if unmounted

2015-01-11 Thread Florian Uekermann
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

Re: Device only missing if unmounted

2014-12-17 Thread Anand Jain
I checked this for all three devices and num_devices is 4 for all of them. The full output is below. so now if you mount and run 'btrfs fi show mnt' that should tell device missing, which then 'btrfs device missing mnt' should be successful theoretically. It may fail if you are mounting

Re: Device only missing if unmounted

2014-12-13 Thread Florian Uekermann
Dear Anand, thank you for your help. On December 10, 2014 at 3:46 AM Anand Jain anand.j...@oracle.com wrote: It depends on the disk that is read first, you could read super block using btrfs-show-super and check if num_device. I checked this for all three devices and num_devices is 4 for all

Device only missing if unmounted

2014-12-09 Thread Florian Uekermann
I am using a few disks in Raid1 mode. This is the output of various commands in unmounted state. root@oot:/# uname -a Linux oot 3.18.0-rc5+ #1 SMP Sun Nov 23 18:01:56 CET 2014 x86_64 GNU/Linux root@oot:/# btrfs --version Btrfs v3.17 root@oot:/# btrfs fi show Label: none uuid:

Re: Device only missing if unmounted

2014-12-09 Thread Anand Jain
On 09/12/2014 19:15, Florian Uekermann wrote: I am using a few disks in Raid1 mode. This is the output of various commands in unmounted state. root@oot:/# uname -a Linux oot 3.18.0-rc5+ #1 SMP Sun Nov 23 18:01:56 CET 2014 x86_64 GNU/Linux root@oot:/# btrfs --version Btrfs v3.17 root@oot:/#