On Mon, Mar 30, 2015 at 09:59:05PM +0100, Martin wrote: > btrfs device delete /dev/sdf5 /mnt/data2 > > ERROR: error removing the device '/dev/sdf5' - Inappropriate ioctl for > device
Strange, that would mean that the ioctl number is not handled at all. I haven't found any change in device delete on the userspace side. This would mean that /mnt/data2 is not mounted. Did you try to do lazy unmount? -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html