I decerypt it at boot and name it sdc1_crypt and it shows up just fine under /dev/mapper/sdc1_crypt
LMCE wants to automatically add /dev/sdc1 so I chose No, and never for this device.
I then manually added the harddisk in the webadmin panel.
Advanced -> Configuration -> Devices
Opened CORE and clicked add new child device
Named it "Internal HDD (sdc1_crypt)" and picked the device template 1790. The same as the other hard drives have.
Filled out all the input boxes in the same way as the other hard drives are.
Block device "/dev/mapper/sdc1_crypt"
File system "ext2"
The Free Disk Space in Megabytes gets updated just fine.
The disk gets mounted as /mnt/device/38 after a reboot and I can use it.
But then, suddenly, after about 5 minutes it get unmounted and the folder /mnt/device/38 gets removed.
Then it won't show up again until I reboot the system and then works for another 5 minutes before it just disappears.
There are no information in dmesg or in /var/log/syslog...
Does anyone have a clue to why it just gets removed after a short while?
There is absolutely nothing wrong with the device if I run fsck on it, and all files are there if I manually mount it in a manually created tmp folder. So it seems the LMCE thinks that it shouldn't be there. I just can't figure out why nor why it works for a short period...