3.2.6.2 Disk Removal

When the operating system notifies the server that a disk has been disconnected from the system, the server MUST remove the disk from the list of storage objects. Then the server MUST send a notification of type DMNOTIFY_DISK_INFO with action LDMACTION_DELETED to all clients currently registered for notifications.

Before taking the preceding steps, the server MUST enumerate the regions that reside on the disk, reevaluate the status of the volumes that use those regions (together with their drive letters and file systems), make appropriate changes to the list of storage objects, and send notifications to all clients currently registered for notifications.