From: Martin <m_btrfs@ml1.co.uk>
To: linux-btrfs@vger.kernel.org
Subject: No apparent effect for "btrfs device delete missing"
Date: Mon, 14 Oct 2013 22:43:45 +0100 [thread overview]
Message-ID: <l3hoi8$kqv$1@ger.gmane.org> (raw)
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
next reply other threads:[~2013-10-14 21:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-14 21:43 Martin [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-10-16 5:45 No apparent effect for "btrfs device delete missing" Anand Jain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='l3hoi8$kqv$1@ger.gmane.org' \
--to=m_btrfs@ml1.co.uk \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).