USB mounting issue

First - to Chris - thanks for the plugin. It’s looks fantastic!

Onto my problem: After installing the plugin I could not get datamine to bring up the option to mount my USB drive. Looking at the log I could see that it is there. After reading through the forum I came to the conclusion that if there is another USB device plugged in and it is not formatted as fat32 that datamine would not bring up the configuration window. I have a Insteon PLM in the other USB port of my Vera3

So I went the manual route and added the drive myself. I’m just not sure if I did it right. Please look at my attached log and let me know if it is properly mounted and in use. How can I tell from the log if the USB is being used?

I was having a similar problem. I manually entered the mount into the plug-in (SetMountPoint). The plug-in then recognized it and gave me the dialog to select the UUID. I selected the UUID then went back into the plug-in and cleared the mount (SetMountPoint) and everything works fine now.

Hi @swazi,
There’s a bug in the last version that means for new installations the install window doesn’t come up - foolishly I didn’t test it with a completely new install. I’ve now fixed this, and it should be available in the next day or so…

Regarding your config - it looks ok, but as @ChrisAZ points out, removing the SetMountPoint setting is best - then it will use the UUID rather than the mount point (which can change).

Working out if the USB is correctly mapped under Linux isn’t easy since it mounts over an existing directory. However, looking at the output from mount (which is between the -3 and -4 lines in the log) we can see the line

/dev/sda1 on /dataMine type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)

This shows that the device on /dev/sda1 is mounted into the /dataMine directory. We can further see that the device /dev/sda1 is your USB by looking at the output from blkid (which is between the -2 and -3 lines)

/dev/sda1: LABEL="DATAMINE" UUID="BA19-8806"

So, all looks good :slight_smile:

Cheers
Chris

I have a Vera3 with a Usb hub with 3 usb2serial cables and I have 2 Usb sticks. The first Usb stick is for storing Vera logs. The second is intended for dataMine.

On my system Vera sometimes claims the dataMine usb stick. It is then reformatted by Vera and mounted for the use of logging and always both sticks then get the MIOS label. The stick gets a different setMountUUID because of this. Data is then directly written to the Vera directory dataMine instead of on the usbstick. I suspect it happens on a hardware reboot and has to do with how Vera Mounts the usb sticks. I don’t know if this is hardware specific or only for my setup.