I doubt you will ever be able to make that setup work. LinuxMCE has an automounter program that mounts and unmounts filesystems on demand, and expects them to be available as normal local drives or remote samba shares. you would make your life alot easier by tossing the tinfoil hat in the trash and only encrypting stuff that really needs it (ie not a/v media files).
Merkur2k, thanks for the quick and straightforward reply.
I appreciate you have advised me this is a bad idea, but I'd still like to look into it, as the purpose of /dev/mapper is to present something that appears just like a normal local drive to the layers above - surely /dev/mapper/foobar and /dev/foobar look the same to the automounter scripts?
Put it this way, at the least I can present iscsi volumes to the core since when I first ISCSI mounted my remote drives the orbiter on the core popped up messages asking me if I wanted to use them, so that much works fine - I could, therefore, do the encryption and decryption on the file server, present cleartext iscsi volumes to the core, and have it mount and use them. That would definitely work, but I'd prefer to do the encryption and decryption on the mce core as it is a much faster machine.
Going even further with the silliness of multiple layers, I could go fileserver -> iscsi -> mce core -> luksOpen -> iscsi -> mce core
so by iscsi-ing out the decrypted mappings in /dev/mapper I could make them appear to the local host as if they were remote iscsi volumes, then they would pop up in the orbiter just like local drives. It just seems like another unnecessary layer of complication, although I'm sure it would work as I've tested something very similar by mounting the volumes that the fileserver iscsi's out on the fileserver itself. Work or not, it's still messy and I'd sort of rather look at the scripts to see if I can do it in a more elegant way.
If you (or someone else) can tell me where the automounter scripts are, when they are run (and what runs them) etc. I'd like to have a look and see if I can hack something together. At the very least it would be educational. The other thing I'd like to know is at what point during boot this automounting process begins, so I can ensure my volumes are ready in time, and at what point during shutdown the automounting process stops so I can ensure my volumes stay up until after that.
Again, thanks for the reply. I don't wish to appear ungrateful for the help by replying that I'd still like to fiddle with it, I will bear in mind what you've said and if necessary I will revert to a simpler configuration.
Paul