From 2490de5da527969a9178418155120bf50f2a8421 Mon Sep 17 00:00:00 2001 From: Anand Jain Date: Mon, 14 Mar 2016 16:31:49 +0800 Subject: btrfs-progs: Introduce device delete by devid This patch introduces new option for the command btrfs device delete [..] In a user reported issue on a 3-disk-RAID1, one disk failed with its SB unreadable. Now with this patch user will have a choice to delete the device using devid. The other method we could do, is to match the input device_path to the available device_paths with in the kernel. But that won't work in all the cases, like what if user provided mapper path when the path within the kernel is a non-mapper path. This patch depends on the below kernel patch for the new feature to work, however it will fail-back to the old interface for the kernel without the patch Btrfs: Introduce device delete by devid Signed-off-by: Anand Jain Signed-off-by: David Sterba --- Documentation/btrfs-device.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Documentation') diff --git a/Documentation/btrfs-device.asciidoc b/Documentation/btrfs-device.asciidoc index d6d55afd..edd9b98e 100644 --- a/Documentation/btrfs-device.asciidoc +++ b/Documentation/btrfs-device.asciidoc @@ -74,10 +74,10 @@ do not perform discard by default -f|--force:::: force overwrite of existing filesystem on the given disk(s) -*remove* [...] :: +*remove* | [|...] :: Remove device(s) from a filesystem identified by . -*delete* [...] :: +*delete* | [|...] :: Alias of remove kept for backward compatibility *ready* :: -- cgit v1.2.3