Site icon EfmSoft

What does HRESULT 0x801F001A (ERROR_FLT_VOLUME_ALREADY_MOUNTED) mean?

 
Previous Next
ERROR_FLT_NO_DEVICE_OBJECT ERROR_FLT_ALREADY_ENLISTED

ERROR_FLT_VOLUME_ALREADY_MOUNTED

The volume is already in the mounted state

ERROR_FLT_VOLUME_ALREADY_MOUNTED is the failure HRESULT 0x801F001A (signed decimal -2145452006, unsigned decimal 2149515290). The severity bit is 1, the facility field is 31 (FACILITY_FILTER_MANAGER), and the facility-specific code field is 0x001A.

AllStat records the Windows SDK message as “The specified volume is already mounted.”

This result describes the lifecycle state of a Filter Manager volume, not the presence of a particular minifilter instance. Microsoft defines a minifilter instance as one attachment of a filter at an altitude on a volume. A volume can be mounted while no instance of the caller is attached, and an instance can fail to attach for reasons that have nothing to do with mounting. Preserve that distinction before deciding which component is at fault.

Public contract and ownership limits

Microsoft publishes the symbolic value and message in the Filter Manager HRESULT table, but the public documentation does not identify one universal API whose documented return contract is this HRESULT. Therefore the code alone is not enough to name the caller, callback, or internal database transition. The first diagnostic fact must be the exact routine or control request that returned it and whether the value was observed in kernel mode, converted from an NTSTATUS value, or surfaced by a user-mode Filter Manager operation.

How this differs from an attached instance collision

Situations that can produce the state mismatch

Evidence to capture before changing the driver

Diagnostic sequence

Retry and recovery

Blind immediate retry is normally inappropriate because the requested state already exists. If the higher-level operation is idempotent, the caller may verify that the mounted volume is the intended object and treat the existing state as completion. If a dismount or replacement was intended, wait for documented teardown completion and reacquire the volume identity before issuing a new request. Do not force a dismount, remove a filesystem, or detach unrelated minifilters merely to clear this HRESULT.

What to log in production

Record the operation name, original status value, volume GUID, filesystem type, device identity, caller state-machine generation, and whether the volume was already present in the caller’s own inventory. For minifilter diagnostics, add the filter name, instance name, altitude, and whether filtering had started. This data lets an engineer separate duplicate volume lifecycle work from a normal instance-attachment collision.

Practical scenario

A storage service receives a device-arrival notification and mounts the Filter Manager representation of the volume. A delayed retry from the same arrival event runs after the first request succeeded and receives ERROR_FLT_VOLUME_ALREADY_MOUNTED. The correct repair is to cancel or deduplicate the stale retry and accept the verified mounted state, not to unload every minifilter attached to the volume.

Official Microsoft references


Looking for a different code? Search another status or error code.

Exit mobile version