* No apparent effect for "btrfs device delete missing"
@ 2013-10-14 21:43 Martin
0 siblings, 0 replies; 2+ messages in thread
From: Martin @ 2013-10-14 21:43 UTC (permalink / raw)
To: linux-btrfs
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 missing
Label: '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 missing
Btrfs 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 missing
Label: '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 missing
Btrfs 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/sde4 device 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.
Hope of interest,
Martin
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: No apparent effect for "btrfs device delete missing"
@ 2013-10-16 5:45 Anand Jain
0 siblings, 0 replies; 2+ messages in thread
From: Anand Jain @ 2013-10-16 5:45 UTC (permalink / raw)
To: linux-btrfs, Martin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 2262 bytes --]
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.
Martin <m_btrfs@ml1.co.uk> wrote:
>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 missing
>
>Label: '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 missing
>
>Btrfs 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 missing
>
>Label: '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 missing
>
>Btrfs 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/sde4 device 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.
>
>
>Hope of interest,
>Martin
>
>
>--
>To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±ý»k~ÏâØ^nr¡ö¦zË\x1aëh¨èÚ&£ûàz¿äz¹Þú+Ê+zf£¢·h§~Ûiÿÿïêÿêçz_è®\x0fæj:+v¨þ)ߣøm
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-16 5:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-14 21:43 No apparent effect for "btrfs device delete missing" Martin
-- strict thread matches above, loose matches on Subject: below --
2013-10-16 5:45 Anand Jain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).