From: Hugo Mills <hugo@carfax.org.uk>
To: Marc MERLIN <marc@merlins.org>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: btrfs-tools missing "btrfs device delete devid=x path" ?
Date: Sun, 23 Mar 2014 16:18:43 +0000 [thread overview]
Message-ID: <20140323161843.GD25400@carfax.org.uk> (raw)
In-Reply-To: <20140323152516.GJ12833@merlins.org>
[-- Attachment #1: Type: text/plain, Size: 1667 bytes --]
On Sun, Mar 23, 2014 at 08:25:17AM -0700, Marc MERLIN wrote:
> I'm still doing some testing so that I can write some howto.
>
> I got that far after a rebalance (mmmh, that took 2 days with little
> data, and unfortunately 5 deadlocks and reboots.
>
> polgara:/mnt/btrfs_backupcopy# btrfs fi show
> Label: backupcopy uuid: eed9b55c-1d5a-40bf-a032-1be6980648e1
> Total devices 11 FS bytes used 114.35GiB
> devid 1 size 465.76GiB used 32.14GiB path /dev/dm-0
> devid 2 size 465.76GiB used 32.14GiB path /dev/mapper/crypt_sdd1
> devid 3 size 465.75GiB used 0.00 path <---- drive is freed up now.
> devid 4 size 465.76GiB used 32.14GiB path /dev/dm-2
> devid 5 size 465.76GiB used 32.14GiB path /dev/dm-3
> devid 6 size 465.76GiB used 32.14GiB path /dev/dm-4
> devid 7 size 465.76GiB used 32.14GiB path /dev/mapper/crypt_sdi1
> devid 8 size 465.76GiB used 32.14GiB path /dev/dm-6
> devid 9 size 465.76GiB used 32.14GiB path /dev/mapper/crypt_sdk1
> devid 10 size 465.76GiB used 32.14GiB path /dev/mapper/crypt_sdl1
> devid 11 size 465.76GiB used 32.14GiB path /dev/mapper/crypt_sde1
> Btrfs v3.12
>
> What's the syntax for removing a drive that isn't there?
btrfs dev del missing /path
Removes all the missing devices.
Hugo.
--
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
--- Anyone using a computer to generate random numbers is, of ---
course, in a state of sin.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
next prev parent reply other threads:[~2014-03-23 16:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-23 15:25 btrfs-tools missing "btrfs device delete devid=x path" ? Marc MERLIN
2014-03-23 16:18 ` Hugo Mills [this message]
2014-03-23 16:25 ` Marc MERLIN
2014-03-24 18:38 ` Duncan
2014-03-24 22:04 ` Marc MERLIN
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=20140323161843.GD25400@carfax.org.uk \
--to=hugo@carfax.org.uk \
--cc=linux-btrfs@vger.kernel.org \
--cc=marc@merlins.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