virtio-win / kvm-guest-drivers-windows

Windows paravirtualized drivers for QEMU\KVM
https://www.linux-kvm.org/page/WindowsGuestDrivers
BSD 3-Clause "New" or "Revised" License
1.98k stars 382 forks source link

[viostor] may viostor support surprise removel #1116

Open zjmletang opened 1 month ago

zjmletang commented 1 month ago

We hope to support surprise removal in viostor. This would allow for the forced removal of devices in disaster recovery scenarios and similar situations.

I would like to inquire whether we will support surprise removal in future updates.

image

vrozenfe commented 1 month ago

It is doable in general. An we can take it as a Feature Request. But out of curiosity what is the use case in enable this feature for virtio storage device? And IIUC we still need to unmount the file system before removing the device, if we don't want to lose the data of cause.

Best, Vadim.

YanVugenfirer commented 1 month ago

Adding for reference: https://github.com/virtio-win/kvm-guest-drivers-windows/pull/1013 https://issues.redhat.com/browse/RHEL-19438

zjmletang commented 1 month ago

hi vadim. in general we would like to have a feature which is as same as scsi hot remove In some disaster recovery scenarios, we would like to have the ability to remove the disk immediately. Additionally, in terms of product design, we can create shared disks that can be preempted, making the product offerings more versatile. In summary, supporting surprise removal allows us to do more. For comparison, we have also noticed that the storage drivers from AWS, GCP, and Azure all support surprise removal.

best jianming

vrozenfe commented 1 month ago

@zjmletang

Makes sense. Let me try to fix it then.

Best, Vadim.

zjmletang commented 1 month ago

@vrozenfe thanks a lot

Best, jianming