Re: Device only missing if unmounted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

Thanks, Anand

On 21/12/2014 01:32, Florian Uekermann wrote:

 > > 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.

No it doesn't. It says:
root@oot:/home/shared# btrfs device delete missing /srv/storage/
ERROR: error removing the device 'missing' - no missing devices found to
remove
and btrfs fi show /srv/storage doesn't report a missing device either
(after mount).
This behavior is the reason why I wrote here in the first place. It
seems like a bug to me.
Could the btrfs command line utility be the problem here (I am using the
version the upcoming debian 8 ships)?
Best regards,
Florian
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux