Skip to contentSkip to conversation

disconnecting an NVMF device while it is in use

DISCUSSION Steve Wise 2 participants 2 messages Jul 14, 2016 – Jul 15, 2016 NVMe

lore
Share & tools
lore

Steve Wise

author
#0 lore raw

Hey Christoph,

I notice that 'nvme disconnect -d nvme0n1' works even when the device is mounted and in use by applications. Is this the expected/indented behavior?

Thanks,

Steve.

#1 lore raw
Quoted 4 lines · Steve Wise

Hey Christoph,

I notice that 'nvme disconnect -d nvme0n1' works even when the device is mounted and in use by applications. Is this the expected/indented behavior?

Right now, it's same as you do "echo > /sys/class/nvme/nvme0/delete_controller"

We may need to add more checks to the tool ...