-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Trying to run Snapraid in a docker container on MacOS - switching to Snapraid from using RAID storage solutions.
Seems like Snapraid is not working correctly because it is not recognizing volumes as separate drives when Docker Volumes are used.
Is there an option to suppress checking same device error?
Am I doing something wrong when mapping drives into Docker container as volumes?
Appreciate any help except for suggestions to run Linux instead of MacOS. Thank you.
In MacOS following separate physical HDDs are mapped: Conf, Vol1, Vol2, Parity1. Formatted using HFS+
From Docker Compose file:
snapraid:
image: xagaba/snapraid
container_name: snapraid
privileged: true
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
volumes: - /Volumes/Vol1:/mnt/Vol1
- /Volumes/Vol2:/mnt/Vol2
- /Volumes/Parity1:/mnt/Parity1
- /Volumes/Conf/SnapRaid-config:/config
restart: unless-stopped
snapraid.conf (on host - /Volumes/Conf/SnapRaid-config/snapraid.conf):
parity /mnt/Parity1
content /mnt/Vol1/content
content /mnt/Vol2/content
data d1 /mnt/Vol1
data d2 /mnt/Vol2
Running command:
snapraid sync
Error:
Disks ‘/mnt/Vol1’ and ‘/mnt/Vol2’ are on the same device.