USB, 2 Partitions, Store logs on USB device, dataMine

I am a Linux rookie…so pls. forgive me if I ask something stupid… :wink:

Vera3, 1.5.322

I googled a lot but I didn´t find a solution

I have a 2GB USB stick connected on the lower usb port of vera3.

I enabled to store logs on USB device
x Store logs on USB device*[i]

WARNING: please do not remove USB stick while Vera is running.
USB status
Enabled
Mounted: read-write
Usage: 5%
Errors log:
2012-03-13_13:42:46 CHECKDISK: Starting to check device: /dev/sda1 with: /usr/sbin/e2fsck
2012-03-13_13:42:48 (/dev/sda1) : Successfully checked[/i]

as far as I understand and see the data logging should work an /dev/sda1

I have a problem to setup dataMine
http://code.mios.com/trac/mios_datamine

I have a problem with the following comand: mount /dev/scsi/host0/bus0/target0/lun0/part1 /dataMine

I get the following error message:
mount: mounting /dev/scsi/host0/bus0/target0/lun0/part1 on /dataMine failed: No such file or directory

The dataMine directory is there - for sure!

My understanding is, that Vera is making 2 partitions when I enable logging to the USB stick → it would not be a good idea to mount dataMine to sda1 because there the logging should take place.

I think that there is also sda2:[i]
fdisk -l
Disk /dev/mtdblock0: 0 MB, 524288 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock0 doesn’t contain a valid partition table

Disk /dev/sda: 2021 MB, 2021654528 bytes
63 heads, 62 sectors/track, 1010 cylinders
Units = cylinders of 3906 * 512 = 1999872 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 269 525356+ 83 Linux
/dev/sda2 270 1010 1447173 83 Linux[/i]

I tried to mount partition 2:
mount /dev/sda2 /dataMine
mount: mounting /dev/sda2 on /dataMine failed: Invalid argument

What must I do to mount everything right for dataMine?

!!THANK YOU!!!

Did you ever find an answer to this? I’m in the same boat and looking to do the same thing.

You do not need to do the option of store logs on USB device unless you are wanting Vera logs on your USB as well. Logging is already stored on Vera servers.

Have you viewed the PDF with the detailed instructions in the DataMine thread?

Also, DataMine is no longer being developed. You might want to consider dataYours which is the next gen version of DataMine.

Hi Tom, thanks for the reply.

Yeah I looked at the PDF but I am actually installing DataYours like you mentioned. I’m just trying to use one USB stick for both logging and DataYours. I realize the logs are stored on the servers but I’d like a local copy as well. I came across this thread because I’m looking at partitioning a single USB stick, especially since the logging partition that Vera creates is so small anyway.

Did you ever find a way to log vera to usb and use that same usb for datayours?