Hide Forgot
Description of problem: After installing F15 on root with a btrfs filesystem, running 'btrfs device scan' only displays "Scanning for Btrfs filesystems" and then returns to the command prompt. Version-Release number of selected component (if applicable): btrfs-progs-0:0.19-13.fc15.i686 How reproducible: Always Steps to Reproduce: 1. Have root (/) partition as btrfs 2. Run 'btrfs device scan' as root Actual results: Empty list when 'mount' clearly shows a btrfs filesystem Expected results: Showing device with some details about btrfs filesystem Additional info: I am new to btrfs and maybe am misinterpreting what the btrfs utility should do/display. But as a naive administrator, I would expect 'btrfs device scan' to show all btrfs partitions attached to the system, whether they are mounted or not and possibly details on any subvolumes.
btrfs device scan searches all devices and adds them to the btrfs device cache. This is so that btrfs knows how to put together multi-disk devices, so really should only be executed on boot, so users should never have to use the command.
OK ... Thank you for your response. It looks like 'btrfs filesystem show' gives me the info I was trying to get. I would suggest an addition to the --help and man info mentioning the addition to the btrfs device cache functionality and that it should only be executed on boot. Right now the text is too brief to be instructive.