I enabled USB logging on my Vera 3/UI5. Everything appears OK with the USB:
USB status
Enabled
Mounted: read-only
Usage: 13%
Errors log:
2015-09-12_18:36:58 CHECKDISK: Starting to check device: /dev/sda1 with: /usr/sbin/e2fsck
2015-09-12_18:36:59 (/dev/sda1) : Successfully checked
When I SCP or Putty into the system and cd /tmp/log/cmh, there is nothing in that directory. I then used cat /tmp/log/cmh/LuaUPnp.log. In fact when I search for LuaUPnp.log I don’t find anything. I’m no Unix expert so I am sure I am just missing something. Can anyone help here.
How does a log get written if the file system is read only? You need to get your USB mounted read-write.
Also, when you do get it working, be aware that if you have “Archive old logs on server (recommended)” checked, then the nightly archive operation will still wipe out all of your local logs.
[quote=“Z-Waver, post:2, topic:188807”]Nope. Everything is not OK with the USB.
How does a log get written if the file system is read only? You need to get your USB mounted read-write.
Also, when you do get it working, be aware that if you have “Archive old logs on server (recommended)” checked, then the nightly archive operation will still wipe out all of your local logs.[/quote]
Of course! I totally missed what was staring me right in the face. I must have flipped something on the USB case to cause it to be read only. Thanks for the input.
[quote=“Z-Waver, post:2, topic:188807”]Nope. Everything is not OK with the USB.
How does a log get written if the file system is read only? You need to get your USB mounted read-write.
Also, when you do get it working, be aware that if you have “Archive old logs on server (recommended)” checked, then the nightly archive operation will still wipe out all of your local logs.[/quote]
I’ve installed 2 different USB’s and they both come back as “read-only”. Is there something I should be doing to the USB before I attach it to Vera 3 for logging?
So long as any physical switches on the USB drove are not set to write protect, then there is not much for you to do.
Have you power cycled Vera?
There might be a problem if the drive you plug in is very large. Vera only uses 512MB of it anyway. It’s also possible that Vera has an issue with the particular brand you are using. I don’t have specifics on maximum size or incompatible brands. I’ve used Kingston, Sandisk and some others. The largest I’ve tried so far was 16GB, a huge waste.
If you can SSH into the Vera, this command may provide something useful:
dmesg | grep -E 'sd|EXT3'
Best Home Automation shopping experience. Shop at Ezlo!