Why Qdrant on Windows storage can lose vectors after a restart
A team running Qdrant on a Windows laptop or workstation through Docker Desktop and WSL can lose vectors after a restart when the container writes to a bind-mounted Windows folder. The data may look present until the service restarts, and then collections can come back with zeroed vectors. The cause is the storage path, not the Qdrant configuration. Bind-mounted Windows folders are the risk to remove first.
Qdrant needs block-level storage with a POSIX-compatible file system, as set out in the Qdrant installation documentation. A Windows folder shared into a WSL-backed Docker container does not meet that requirement in the way Qdrant expects. The Qdrant troubleshooting guide names this setup as the most common incompatible file system, with symptoms such as OutputTooSmall panics and zeroed vectors after restart. The guide recommends a Docker named volume in place of a bind mount. Confirm the exact warnings your version prints by checking its logs at startup and after a forced restart, since the messages differ by release.
This matters for anything beyond throwaway testing. A proof of concept that is rebuilt from source data each time carries little risk, but a workstation that holds embeddings your team has spent time generating, or a shared development instance other people query, does not. Before relying on a Windows host, run a restart test: insert known vectors, restart the container, and confirm the counts and a sample of vector values are unchanged. For production, use a Linux host with a named volume for /qdrant/storage, or a Linux VM with local block disks, and keep snapshots on separate storage.
Which storage setup fits which environment
A Docker named volume is created and managed by the Docker engine running inside the WSL 2 distribution, and the container mounts it at /qdrant/storage. The data lives in Docker's own storage area on the Linux side of the virtual disk, not in a folder you browse from Windows Explorer. This keeps the storage on a Linux file system, which is the environment Qdrant's storage rules are written for.
- Location: Docker stores the volume under its data directory inside the WSL distribution, so the path is managed by Docker rather than by you.
- Backups: Take snapshots through the Qdrant API, or copy the volume contents with a temporary container that mounts the volume read-only, and store the copy outside the WSL disk.
- File system: Confirm with
docker infoanddf -Tinside the distribution that the volume's underlying file system is a POSIX-compatible Linux file system. - Disk type: Confirm which physical disk backs the WSL virtual disk, because the virtual layer adds its own I/O path.
- Limits: The volume still sits on a host you may not operate, so host-level backups of the Windows machine do not replace Qdrant snapshots.
Before you rely on this setup, check that the volume survives a wsl --shutdown and a Docker Desktop restart, and that a restored snapshot returns the same point counts.
A bind mount maps a directory on the WSL Linux file system, such as a path under your home directory in the distribution, into the container. The directory is a real Linux path, so the file system is Linux-native. Unlike a named volume, you can see and copy the files directly, which makes backups easier to script but also makes it easier to move files by accident.
- Location: The data lives in a folder you choose inside the WSL distribution, and you own its permissions and ownership.
- Backups: Take Qdrant snapshots through the API or stop the container and copy the directory, but copy only while Qdrant is stopped to avoid capturing a half-written state.
- File system: Confirm that the path is inside the Linux file system (for example, under your distribution's home directory) and not under a
/mnt/path that points to a Windows drive. - Ownership: Confirm that the user inside the container can read and write the directory after any permission changes made from Windows tools.
- Scope of protection: A copy of this folder is only as safe as the Windows disk underneath the WSL virtual disk, so keep an independent copy elsewhere.
Before you rely on this setup, verify the path with df -T and confirm that the directory does not resolve to a Windows-mounted drive.
A Linux server, or a virtual machine on your hypervisor, gives Qdrant a standard Linux kernel and a block device formatted with a POSIX-compatible file system. This is the environment Qdrant's installation docs describe as required for storage, and it removes the Windows layer entirely. Operations look the same as a production server, which makes it easier for your platform team to own.
- Location: Data sits on a block device attached to the host, typically SSD or NVMe where the hardware offers it, with one storage volume per Qdrant node.
- Backups: Use Qdrant snapshots through the API for collection-level restores, and back up the volume with your existing host or hypervisor backup tooling.
- File system: Confirm the mount with
df -Tand check that it is a local block device, not NFS or an object storage mount. - Operations: Confirm that your team has monitoring, restart policies and patching for the host, since these were previously handled by Docker Desktop.
- Cost drivers: Ask whether the VM or server is licensed, who patches the hypervisor, and whether the disk tier matches your expected data size.
Before you go live, confirm the host's file system, run a restart test, and restore a snapshot onto a separate instance to prove the backup works.
Warning signs to check in logs and on restart
The failures in this topic are quiet. A collection can look healthy in a dashboard while its vectors read back as zeros, so the signs are usually in the logs and in the counts you compare across a restart. Check for these six patterns before you trust a Windows or WSL-backed host with production data.
OutputTooSmall panics in logs
Search the Qdrant container logs for OutputTooSmall panics. Qdrant's troubleshooting guide names WSL-backed Docker with mounted Windows folders as the most common incompatible file system for this error. A panic during startup or a read is a stop sign: the storage path is not behaving like the block-level, POSIX-compatible file system Qdrant expects, and the data on it should not be trusted until the storage is moved.
Vectors returning zero after restart
After a container restart, query a few known point IDs and compare the returned vectors with the values you stored. Zeroed vectors that return without an error are the most dangerous symptom because search still responds and ranks results, just on empty data. Record a sample of vectors before the restart so you have a reference to compare against.
Collections loading with missing data
Watch the collection list and point counts after startup. A collection that loads but reports fewer points than before the restart is a sign that writes were lost or never persisted. Compare counts per collection rather than relying on the collection simply existing, because a collection can appear while its contents are incomplete.
Startup errors on storage paths
Read the startup messages that reference /qdrant/storage and the snapshot directory. Errors about locks, file permissions, unsupported file systems or failed reads on the storage path indicate that the bind mount is not giving Qdrant the file behavior it needs. Confirm the exact mount your container uses with docker inspect before you start the service again.
Data present before restart, gone after
Run a controlled restart in a test environment: stop the container cleanly, start it again, and compare point counts and sample vectors with the values recorded beforehand. If counts drop or vectors change without any change to the workload, treat the host as unfit for production storage. Repeat the test after any change to the Docker Desktop or WSL settings.
Windows and WSL paths behave differently
A path that works from a Windows shell may resolve to a different location, or to a different file system, from inside a WSL distribution. Confirm which side of that boundary Docker is reading from and whose file system the bind mount uses. Mismatches between the path you typed and the path Qdrant wrote to are a common reason a restart appears to lose data that was in fact stored elsewhere.
Moving Qdrant off a Windows bind mount
This sequence moves an existing Qdrant container off a bind-mounted Windows folder onto storage Qdrant supports, and proves the data is intact before the old setup is retired. Each step ends with a check you can record.
Inventory current storage paths and collections
Confirm how the container is started and where it writes. Run
docker inspecton the running container and record the mount entries for/qdrant/storageand any snapshot directory, noting whether each is a bind mount from a Windows path such asC:\or a named volume. List every collection through the REST API with an API key if one is set, and record each collection name, vector size, distance metric and point count. Done means you have a written inventory that another engineer could use to check the restore.Create snapshots while the old setup still runs
Take a snapshot of every collection while the current container still answers queries, because a bind-mounted volume may already hold damaged vectors. Use the collection snapshot endpoint and download each archive to a location outside the Windows-mounted folder. Snapshots are tar archives of a collection on one node, so a single-node deployment is the simplest case to restore. Done means every collection has a snapshot file, and you have checked each file size is greater than zero and recorded its name and checksum.
Create a named volume or prepare a Linux host
Qdrant's troubleshooting guide recommends a Docker named volume instead of a bind mount when the host is WSL-backed Docker with mounted Windows folders. Create the volume with
docker volume createfor local testing, or prepare a Linux host with block storage that uses a POSIX-compatible file system. Qdrant does not run on NFS or object storage, so do not place the volume on a network share. Confirm the target host has SSD or NVMe-backed disk where your sizing plan calls for it. Done means the volume or host exists, anddocker volume inspectshows a Docker-managed path.Start Qdrant on the new storage and restore collections
Start a new container from the same pinned image tag, mounting the named volume at
/qdrant/storageand keeping the API key and TLS settings from your inventory. Upload each snapshot through the snapshot recovery endpoint. Check the Qdrant snapshot rules before this step: a snapshot from one cluster can be restored only to clusters running the same minor version or the next minor version. If your old and new images differ by more than that, restore onto a matching version first. Done means each collection reports as restored and the restore call returns success without errors in the container log.Compare point counts and sample searches
Verify the restored data against the inventory from the first step. For each collection, compare the point count and vector configuration with the recorded values. Then run the same set of sample queries against the old and new containers, using a fixed list of query vectors and filters you saved beforehand, and compare the returned IDs and scores. Investigate any mismatch before continuing. Done means counts match exactly and the sample results agree, and you keep the comparison output with the change record.
Run the restart test on the new storage
Restart the new container with
docker restartor a stop and start cycle, then wait for the health endpoint to report ready. Repeat the point count and sample search checks from the previous step. Vectors that are zeroed or missing after restart are the failure this change is meant to rule out, so a second check after a host reboot is worth the time if the host runs Docker Desktop. Done means counts and sample results still match after the restart, and the container log shows no file system warnings or panics.Retire the bind mount and set a backup schedule
Once the restart test passes, stop the old container and keep its Windows-mounted folder read-only until the retention period set by your own change policy has passed. Document the new volume name, image tag and snapshot location, and schedule regular snapshots stored outside the Docker host. Confirm with your team which snapshot retention and off-host storage your organization requires. Done means the old container is stopped, the new setup is recorded in configuration, and a test snapshot from the new volume has been created and stored elsewhere.
Questions teams ask before fixing Qdrant on Windows
Can a named volume on WSL be used safely for Qdrant storage?
Yes, a Docker named volume is the fix that Qdrant's troubleshooting guide recommends when Qdrant runs under WSL-backed Docker. A named volume keeps /qdrant/storage inside the Docker-managed Linux file system instead of a mounted Windows folder, which removes the incompatible file system from the write path. It still needs care: confirm that Docker Desktop stores the volume in its Linux VM, back it up with snapshots, and test a restart before you trust it with data. A named volume does not repair files already damaged by the bind mount, so check the collections after the move.
Do we need a Linux server to run Qdrant in production?
A Linux host is the simplest production path, because Qdrant needs block-level storage with a POSIX-compatible file system and cannot run on network file systems or object storage. Qdrant's installation docs recommend SSD or NVMe drives. A Linux server gives your team one storage model to back up, monitor and restore, and it avoids the layered file system behavior of WSL and Docker Desktop. Windows hosts can still run development tests, but treat them as non-production unless you have verified the storage path end to end.
How long does a migration off a Windows or WSL setup take, and what drives it?
The duration depends on the data size, the number of collections, how much downtime your users tolerate, and how many applications read from the instance. No timeline is fixed for this work, so ask for one only after your team confirms those inputs. Larger collections take longer to copy and verify, many small collections add checking steps, and a zero-downtime cutover needs a second instance and a switch in client configuration. Your team should measure its own collection sizes and agree on the acceptable outage window before a provider writes a plan.
What does outside help cover, and what stays with our own team?
An outside team typically covers diagnosing the storage path, rebuilding the container setup with a named volume or Linux host, restoring data from snapshots, and verifying results. Your team keeps decisions about which applications use the vectors, who approves the cutover, and where backups are held. DeployOpen plans and implements self-hosted platforms inside your own infrastructure, and most engagements are fixed-scope with the scope, deliverables and timelines agreed in writing before work starts. Ask any provider to list which tasks transfer to you at handover.
Can our team fix this without outside help?
Often yes, if the team has Docker and Linux experience and the collections are small enough to rebuild. The core steps are to stop writes, copy data into a named volume or onto a Linux host, start Qdrant with the same configuration, and check collection counts and sample searches. Qdrant's troubleshooting guide is the first reference. Teams should consider outside help when production data is at stake, when no recent snapshot exists, or when nobody on staff has tested a restore before.
Can vectors be recovered after a restart that zeroed them?
Recovery depends on what survived. If the files on disk still hold the data, moving them to a supported storage path may restore access, but zeroed vectors on a damaged bind mount may be unrecoverable from that copy. Check for any collection snapshots, backups of the storage volume, or a source system that can re-create the embeddings. If you must re-embed, plan for the cost of regenerating vectors from source data. Do not overwrite the damaged folder until you have copied it elsewhere for analysis.
How do we spot file system warnings before data is lost?
Watch the Qdrant container logs at startup and during searches for OutputTooSmall panics or messages about the storage path, and check that collection vector counts match what your applications expect after each restart. Those symptoms are the ones Qdrant's troubleshooting guide associates with WSL-backed Docker and mounted Windows folders. Add a restart test and a count check to your runbook so the problem appears in staging, not in production.
Security and operational risks of a laptop-hosted instance
A Qdrant instance on a workstation inherits the workstation's network exposure, uptime and backup habits, and none of them were designed for a data store. The cards below cover the security defaults and the operational interruptions that make a laptop-hosted instance unsafe to share or rely on.
Unauthenticated listeners on all interfaces
Self-deployed Qdrant listens on all network interfaces and ships with no authentication configured. On a laptop joined to a office or home network, that means any device that can reach the port can read, write or delete collections. Check the port binding and the firewall profile before you start the container, and confirm with the security docs which settings change the default posture. Hardening steps are covered on a separate page.
Qdrant security docsAPI keys and TLS before shared access
Admin and read-only API keys and TLS for REST and gRPC are available in Qdrant, but they are off until you configure them. Any client that reaches a laptop-hosted instance without a key can modify data, and traffic without TLS crosses the network in clear text. Set keys and certificates before any colleague, service or pipeline connects, and record who holds the admin key.
Backups that exist only on a workstation
Snapshots written to a folder on the laptop disk share its fate. A disk failure, a reinstalled operating system or a lost device removes both the live data and the backups in one event. Ask where snapshots are written, whether a copy leaves the machine on a schedule, and whether a restore has been tested on a second host.
Windows updates and WSL restarts
Windows updates, forced reboots and WSL shutdowns stop the Docker engine and the Qdrant process without warning. If a write is in flight, the collection can be left inconsistent, and a sleeping laptop can pause the container for hours. Set the restart policy, confirm that shutdown is graceful, and check collection health after every unplanned restart.
Audit logging of operations
Qdrant added JSON audit logging of authenticated API operations in v1.17.0, which records who changed what. A laptop-hosted instance without authentication has no reliable actor record, so a deleted collection cannot be traced to a caller. Confirm that audit logs are enabled in your release, that they are shipped off the machine, and that someone reviews them.
Qdrant security docsWhere data lands in each storage option
Start at the Qdrant container running under Docker Desktop on Windows. The risky path sends /qdrant/storage through a bind mount of a Windows folder, which crosses into WSL and a file system Qdrant does not support. The named volume path keeps the same container data inside the Docker Desktop VM. The Linux host path puts storage on block devices with a POSIX file system. Check which path your snapshots and backups leave from before you trust a restart.
Storage paths for Qdrant on Windows, WSL and Docker Desktop, with the risky bind mount marked.
When a team should bring in outside help
Bring in a partner when a Qdrant instance that started on a laptop now holds data that other people or systems depend on, and the team cannot prove it can recover that data. The clearest trigger is vectors already sitting on a bind-mounted Windows folder that feed a shared application. Each restart then carries the zeroed-vector risk described above, and moving the data safely is itself a migration task. Before deciding, ask your team to confirm where /qdrant/storage actually lives on each machine, whether any snapshot has ever been restored to a second host, and who would be paged if search returned empty results on a Monday morning.
A second trigger is the absence of a tested restore. Creating a snapshot is not the same as recovering from one, and Qdrant snapshots only restore to clusters running the same minor version or the next one, so the restore target must be planned with the same version discipline as production. Compliance or access needs are the third trigger. Per-collection permissions through JWT, TLS for REST and gRPC, and JSON audit logs are configured on the server, and a Docker Desktop setup on a developer workstation rarely gives an assessor the evidence they ask for. A move to a Linux host, with a native Docker Engine and a block-level file system, is the usual remedy.
A fixed scope for this work would normally cover an inventory of the current data and file paths, a plan to move storage to a named volume or Linux host, a snapshot and restore test with a recorded result, API key and TLS configuration, a runbook for restarts and version pins, and a review of the file system check warnings in the logs. Ask any provider to write down what is excluded, who signs off the restore test, and what happens to the old Windows folder. Costs come from the hours of inventory, migration and testing, plus any hosting you add. These are one-time, while monitoring and retesting recur. Ask for the scope in writing before work begins.
How DeployOpen scopes and delivers Qdrant storage fixes
DeployOpen treats a Windows, WSL or Docker Desktop Qdrant problem as a storage placement question first. We review where the data directory lives, move it onto a named volume or a Linux host, and verify that vectors survive a restart before the work is handed back. Engagements are fixed-scope, with the scope agreed in writing before any change is made.
How we scope
- Review how the qdrant/qdrant container is started and which host path or volume backs the storage directory.
- Identify any bind mounts to Windows folders and any file system warnings found in the container logs.
- Agree in writing whether the fix is a named volume migration, a Linux host move, or both, with the data to be protected listed.
How we build
- Create a Docker named volume for the Qdrant storage path and copy existing collection data into it under a controlled window.
- Pin the image version and set the restart policy and resource limits in the container configuration so the fix is repeatable.
- Test restarts and collection reads after the move, and check that vector counts and search results match the pre-change baseline.
How we hand over
- Provide the revised run configuration, volume layout and the storage path rules the team must keep in place.
- Document the checks used to confirm data integrity, including how to recognize the symptoms that indicate an incompatible file system.
- Walk the operations team through restart, backup and rollback steps so they can repeat the procedure without DeployOpen.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer for teams that want a partner on call.
- Retesting after any host, Docker Desktop or WSL change can be included in the written scope.
- Ask for the support scope, response expectations and exclusions in the quote, since these are set per engagement.

