I am trying to set up OVMS logging and I am getting this error:
OVMS# vfs mkdir /sd/test010 Error: Could not create VFS directory
In the OVMS console I see:
SD Card SD CARD is inserted Status: available Name: SC32G Size: 30420 MB Free: 30420 MB Card type: SDHC/SDXC Max speed: 25000 kHz Capacity: 30436 MB CSD: ver=1, sector_size=512, capacity=62333952 read_bl_len=9 SCR: sd_spec=2, bus_width=5
So it appears that OVMS recognizes my MicroSD card but I am not able to create any folders or files on it. Any ideas?
-Wes
Can you try 'vfs ls /sd'? Perhaps the directory already exists?
This what I get:
So, it looks like the MicroSD card is empty. Any other ideas?
This MicroSD card is an older 8Gig card and when I try to read or write to it I get this:
OVMS# vfs mkdir /sd/logs
Error: Could not create VFS directory
Can you try a different SD card to rule that out as the cause of the problem?
Also if you have an older OVMS module, please check 'config list sdcard' to see the maxfreq.khz parameter. That should be 16000 for older OVMS modules.
I found the answer to my problem in this thread:
https://www.openvehicles.com/node/3294
Turns out that you have to uncheck the "ENABLE GLOBAL FILE AUTH" option under the Config | Webserver page of the OVMS console.
-Wes
No. See my post in the other thread.
Regards,
Michael