how to mount a share path for the big dataset in windows os.
See original GitHub issueHi, I am sorry for a noob question but I want to know how to mount a shared path for the big dataset. I tried to follow the documentation on the Share Path
version: "2.3"
services:
cvat:
environment:
CVAT_SHARE_URL: "Mounted from /mnt/share host directory"
volumes:
- cvat_share:/home/django/share:ro
volumes:
cvat_share:
driver_opts:
type: none
device: /mnt/share
o: bind
but I am getting this error while building
$ docker-compose -f docker-compose.yml -f docker-compose.override.yml -f components/openvino/docker-compose.openvino.yml -f cvat/apps/dextr_segm
entation/docker-compose.dextr.yml -f components/auto_segmentation/docker-compose.auto_segmentation.yml -f components/tf_annotation/docker-compo
se.tf_annotation.yml -f components/analytics/docker-compose.analytics.yml up -d
WARNING: The no_proxy variable is not set. Defaulting to a blank string.
WARNING: The http_proxy variable is not set. Defaulting to a blank string.
WARNING: The https_proxy variable is not set. Defaulting to a blank string.
cvat_redis is up-to-date
cvat_db is up-to-date
cvat_elasticsearch is up-to-date
cvat_kibana is up-to-date
cvat_logstash is up-to-date
Creating cvat ... error
ERROR: for cvat Cannot create container for service cvat: failed to mount local volume: mount /mnt/share:/var/lib/docker/volumes/cvat_cvat_share/_data, flags: 0x1000: no such file or directory
ERROR: for cvat Cannot create container for service cvat: failed to mount local volume: mount /mnt/share:/var/lib/docker/volumes/cvat_cvat_share/_data, flags: 0x1000: no such file or directory
ERROR: Encountered errors while bringing up the project.
Docker version Client: Docker Engine - Community Version: 19.03.8 API version: 1.40 Go version: go1.12.17 Git commit: afacb8b Built: Wed Mar 11 01:23:10 2020 OS/Arch: windows/amd64 Experimental: true
I also tried to post my problem on Gitter no reply **what procedure do I need to follow to work this out please help me. **
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
how to mount a share path for the big dataset in windows os ...
In the docker-compose file, you are creating the cvat_share volume with device /mnt/share . The device should be an existing path on the ......
Read more >Mounting File Systems From Windows Instances
Go to Start and scroll down to Apps. · In the Windows System section, press Ctrl+Shift and click Command Prompt.
Read more >How to mount Windows share on Red Hat Enterprise Linux ...
Windows share can be mounted on RHEL system using cifs option of mount command as : · You can specify iocharset to convert...
Read more >Map a network drive in Windows - Microsoft Support
Map a network drive in Windows · Open File Explorer from the taskbar or the Start menu, or press the Windows logo key...
Read more >The Ultimate Guide to Windows Shared Drives in 2022
A shared drive can be directly mapped on a destination computer, where a separate drive or resource (like a printer) can be shared...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, so thanks to issue #2315 (https://github.com/openvinotoolkit/cvat/issues/2315) and particularly answer of https://github.com/ChrisCurrin I found out that it can be fixed manually on WSL. The actions he described could be performed after cleaning up containers and volumes, make external volume in docker-compose.override.yml and add volume manually via docker volume create --name cvat_share --opt type=none --opt device=YOUR-PATH --opt o=bind
After adding it manually everything seemed to be working fine
P.S.: One thing to mention: under WSL in Windows I had to write win-style path, i.e. YOUR-PATH = C:\someFolder Otherwise powershell still resulted in mounting error.
@MannAgrawal , you need to create the directory. Please run
mkdir /mnt/share
orsudo mkdir /mnt/share
(or choose any other directory and update docker-compose.override.yml accordingly). After that run yourup -d
command again. It should be without errors. Put your data into/mnt/share
directory and inside CVAT you will be able to use it.