I currently use mergerfs, it gives me a simple union mount of a bunch of drives, for example: /media/*/datahoard/
( * meaning several stand alone drives )
I wanted to use git-annex instead, so I went to one of those drives:
cd /media/strange/
and created a git annex repo, then if I go to another drive
cd /media/charm/
and attempt to clone the repo, it complains because /datahoard/ already exists (and isn't empty)
I want to import all of my single drives into git-annex and have the resulting directory structure be the same as the original union mount, is this possible and how would I go about doing it?
Thanks

I recommend you to first init each repo on each drive separately and add it's files with
git annex add .; git annex sync, then add each other as a remote and rungit annex sync, which will merge the file-trees together.I guess you don't want each drive to contain the content of each file, so you should add all drives to a group and set a preferred-content expression such as
git annex groupwanted drives "(not copies=drives:1) or present"and then set that on all drives by runninggit annex group here drives; git annex wanted here groupwantedon all drives. This way,git annex sync --contentwon't copy the content of each file to each drive.You might also want to run
git annex config --set annex.dotfiles truebefore adding any files or else dotfiles will be added to git directly.