From: Martin <m_btrfs@ml1.co.uk>
To: linux-btrfs@vger.kernel.org
Subject: ERROR: error removing the device '/dev/sdXN' - Inappropriate ioctl for device
Date: Mon, 30 Mar 2015 21:59:05 +0100 [thread overview]
Message-ID: <mfcdep$d97$1@ger.gmane.org> (raw)
Help welcomed...
Trying to delete one device from a btrfs raid1 across 3 devices gives
for my example:
btrfs device delete /dev/sdf5 /mnt/data2
ERROR: error removing the device '/dev/sdf5' - Inappropriate ioctl for
device
That part of the filesystem is:
Label: 'btrfs_data2' uuid: 3aaee716-b98b-4c86-ba5a-53456994f152
Total devices 3 FS bytes used 192.45GiB
devid 1 size 206.47GiB used 206.02GiB path /dev/sdb5
devid 2 size 206.47GiB used 206.47GiB path /dev/sdd5
devid 3 size 206.47GiB used 206.47GiB path /dev/sdf5
All on: 3.14.10-gentoo
Before I do a mega-yank-up to the 3.18 kernel, is the above a known
problem or am I missing something?
(Device delete needed due to that device throwing sector errors :-( )
Thanks,
Martin
next reply other threads:[~2015-03-30 20:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-30 20:59 Martin [this message]
2015-03-31 17:37 ` ERROR: error removing the device '/dev/sdXN' - Inappropriate ioctl for device David Sterba
2015-03-31 18:11 ` Martin
2015-04-01 7:06 ` Anand Jain
2015-04-01 10:54 ` Martin
2015-04-01 13:15 ` Anand Jain
2015-04-01 17:28 ` Martin
2015-04-06 13:32 ` Anand Jain
2015-04-07 11:41 ` Martin
2015-04-13 15:06 ` 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='mfcdep$d97$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).