linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ERROR: error removing the device '/dev/sdXN' - Inappropriate ioctl for device
@ 2015-03-30 20:59 Martin
  2015-03-31 17:37 ` David Sterba
  0 siblings, 1 reply; 10+ messages in thread
From: Martin @ 2015-03-30 20:59 UTC (permalink / raw)
  To: linux-btrfs

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-04-13 15:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-30 20:59 ERROR: error removing the device '/dev/sdXN' - Inappropriate ioctl for device Martin
2015-03-31 17:37 ` 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

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).