[PATCH 1/2] nvme-mpath: delete disk after last connection
Daniel Wagner
dwagner at suse.de
Thu Mar 4 14:34:44 GMT 2021
On Mon, Oct 05, 2020 at 02:44:59PM +0200, Hannes Reinecke wrote:
> # cat /proc/mdstat
> Personalities : [raid1]
> md0 : active raid1 nvme5n1[1] nvme3n1[0]
> 64512 blocks super 1.2 [2/2] [UU]
>
> Now delete all paths to one of the namespaces:
>
> # echo 1 > /sys/class/nvme/nvme3/delete_controller
> # echo 1 > /sys/class/nvme/nvme4/delete_controller
>
> We have no path, but mdstat says:
>
> # cat /proc/mdstat
> Personalities : [raid1]
> md0 : active (auto-read-only) raid1 nvme5n1[1]
> 64512 blocks super 1.2 [2/1] [_U]
Shouldn't there be nvme3n1 still listed?
More information about the Linux-nvme
mailing list