No apparent effect for "btrfs device delete missing"
Just a note_ btrfs fi show reads from the disks which could read the cache, you may try drop the cache or, use btrfs-progs from David latest integration to see kernel perspective.
Quoted 53 lines · Martin
Trying:
btrfs device delete missing /
appears not to do anything for a "/" mount for where I have swapped out a HDD:
# btrfs filesystem show Label: 'test_btrfs_misc_5' uuid: 7d29d4e6-efdc-41dc-9aa8-e74dfbe13cc9 Total devices 2 FS bytes used 28.00KB devid 1 size 59.74GB used 2.03GB path /dev/sdd5 *** Some devices missingLabel: '
test_btrfs_root_4' uuid: 269e142c-e561-4227-b2b0-fe2f9fb99391
Total devices 3 FS bytes used 10.55GB
devid 4 size 56.00GB used 12.03GB path/dev/sde4
devid 1 size 56.00GB used 12.05GB path/dev/sdd4
*** Some devices missingBtrfs v0.20-rc1-358-g194aa4a
# btrfs device delete missing / # btrfs filesystem show Label: 'test_btrfs_misc_5' uuid: 7d29d4e6-efdc-41dc-9aa8-e74dfbe13cc9 Total devices 2 FS bytes used 28.00KB devid 1 size 59.74GB used 2.03GB path /dev/sdd5 *** Some devices missingLabel: '
test_btrfs_root_4' uuid: 269e142c-e561-4227-b2b0-fe2f9fb99391
Total devices 3 FS bytes used 10.55GB
devid 4 size 56.00GB used 12.03GB path/dev/sde4
devid 1 size 56.00GB used 12.05GB path/dev/sdd4
*** Some devices missingBtrfs v0.20-rc1-358-g194aa4a
All on the latest "Linux 3.11.5-gentoo".
# df -h | egrep '/$' rootfs 112G 22G 89G 20% / /dev/sdd4 112G 22G 89G 20% /Aside: Adding the
/dev/sde4device caused no balance action until I deleted a device to reduce the raid1 mirror (data and metadata) down to the two devices.The "missing" device was an old HDD that had physically failed. No data was lost for that example failure.
Quoted 8 lines
Hope of interest,
Martin--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
���{.n�+�������+%�����ݶ��w��{.n�+����{���k~���^n�r���z���h����&���z��z�ޗ�+��+zf���h���~����i��������z_��j:+v���)ߣ�m