I’m extracting the following from another thread, where @Hek & @Chris talked about the ability to logg your data to a remote share rather than to a USB drive.
Please Note : the following requires SSH access and if followed, it will add a non standard module to your Vera. Therefore only do this with that clear in your mind.
[quote=“hek, post:13, topic:175444”]The NAS mount/logging has been working flawlessly for a month now! Seems to be a really good solution to all this data problems we’ve seen using USB.
Chris has been pretty busy@work lately and it would be good if he would add re-mount functionality before release (in case NAS goes offline for a long time and Vera unmounts the NAS).
Meanwhile you can install the CIFS packages:
cd /tmp/
opkg update
wget http://download.mios.com/firmware/openwrt/ramips/packages/kmod-crypto-md5_2.6.37.1-1_ramips.ipk
opkg install kmod-crypto-md5_2.6.37.1-1_ramips.ipk
wget http://download.mios.com/firmware/openwrt/ramips/packages/kmod-crypto-hmac_2.6.37.1-1_ramips.ipk
opkg install kmod-crypto-hmac_2.6.37.1-1_ramips.ipk
wget http://download.mios.com/firmware/openwrt/ramips/packages/kmod-fs-cifs_2.6.37.1-1_ramips.ipk
opkg install kmod-fs-cifs_2.6.37.1-1_ramips.ipk
opkg install cifsmount
rm kmod-crypto-md5_2.6.37.1-1_ramips.ipk kmod-fs-cifs_2.6.37.1-1_ramips.ipk kmod-crypto-hmac_2.6.37.1-1_ramips.ipk
To test mounting manually. Try this:
mkdir /nas
mount -t cifs -o user=<username>,pass=<password> //<nas ip>/<share> /nas
Looks like fhis for me:
[font=courier]root@MiOS_3013232:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 4608 4608 0 100% /rom
tmpfs 63728 740 62988 1% /tmp
tmpfs 512 0 512 0% /dev
/dev/mtdblock7 11264 3452 7812 31% /overlay
overlayfs:/overlay 11264 3452 7812 31% /
/dev/sda1 518320 22448 469544 5% /tmp/log/cmh
/dev/mtdblock8 4480 4480 0 100% /mios
//192.168.178.36/nas/HA/dataMineMounted
2879621632 1069356416 1810162816 37% /nas
root@MiOS_3013232:~#[/font][/quote]
And this…
[quote=“Chris, post:16, topic:175444”]I’ve been running this for a month or two now, and it’s worked fine… The latest version of dataMine has support for this.
Install CIFS as per the info earlier in this thread, and copy all the files from the /dataMine directory on your USB to your NAS. Set the variable SetMountOption to “-t cifs -o user=XXX,pass=YYY”, and SetMountPoint to the NAS share (eg “//192.168.2.10/share”).
dataMine should then mount the NAS on your next startup - in theory it should also unmount your USB - it worked for me, but you should double check this.
The current version won’t attempt to remount, so, if you have a power cut, then if Vera starts before your NAS, you may end up with the mounting failing. To resolve this you’d need to press the restart button in UI5. This will be addressed in the next version.
Chris[/quote]
Once again keep in mind this is early adoption stuff, and I’m thinking @Chris is very busy with other things at the moment, so all we can do is support each other.
I have done the above myself and sadly I’m unable to get it to work successfully, but if you read the full thread where this all started you can see @Hek and others have got it working well. http://forum.micasaverde.com/index.php/topic,14910.0.html