Dear Community User! We are updating our platform to a new system.
Read more: Important information on the platform change.

cancel
Showing results for 
Search instead for 
Did you mean: 

InfluxDB configuration when using a storage extension

InfluxDB configuration when using a storage extension

star_board
Established Member

Hello!

I am currently using InfluxDB for data storage. I have an SD card mounted as a memory extension, and in the InfluxDB configuration file (influxdb/config.yaml), I have specified the following paths:

star_board_3-1730996579588.png

However, after some time of storing data, I noticed that my ctrlX internal storage became full, while the memory card remained empty:

star_board_1-1730996274216.png

Once I deleted the respective InfluxDB bucket, the internal memory returned to normal:

star_board_2-1730996322947.png

This indicates that the InfluxDB data is being stored on the internal memory instead of the memory card. Is this the expected behavior?

Thanks in advance! 😊

14 REPLIES 14

TheCodeCaptain
Community Moderator
Community Moderator

Hi @star_board 

your yaml should look like this:

Which version are you using?

bolt-path: /media/mmcblk1p1/influxdb/bolt-path
engine-path: /media/mmcblk1p1/influxdb/engine
 

TheCodeCaptain_0-1731048388894.png

Regards
CodeCaptain

 

MauroRiboniMX
Contributor

As suggested by @TheCodeCaptain , please provide your configuration: apps and versions and which OS version you are using 

Does this means that I can't storage data on the SD card if I have it mounted as removable medium on the ctrlX?

I am currently using Telegraf to write metrics to the InfluxDB App.
I am using LTS Release 2.6: 

star_board_0-1731059689464.pngstar_board_1-1731059705966.png

star_board_2-1731060201497.png

 

Hello, 

I need also the "system apps" version if possible if you can do a system report would be perfect.

It is definitely possible, we have many running since a lot of time collecting many data. Follow this guide and use the memory as "Removable Media" for now, we investigate the root cause of your setup here there is the guide:

https://developer.community.boschrexroth.com/t5/Store-and-How-to/IIoT-Use-ctrlX-CORE-as-a-monitoring...

With your setup you can collect also realtime data: 

https://developer.community.boschrexroth.com/t5/Store-and-How-to/IIoT-Use-Telegraf-app-to-sample-Rea...

 

 

Here are all the applications installed on the device:

star_board_0-1731066800164.png

 

 

I have followed the guide and set the memory as "Removable Media," but I am not sure if data is being saved to the SD card. How can I verify this?

Have you followed the guide setting the memory in the yaml?

Yes!

star_board_0-1731322573634.png

Is there a way to actually verify where data is beeing written to?

 

Is mmcblk1p1 your disk name? Than it is correct. Disk explore feature comes the next release

Yes, that's the name! 

star_board_0-1731332504469.png

 

Then is perfect

Just to clarify, as of now, there isn't a method to check if data is truly being saved to the SD card?

The alternatives I found were:

  • Using SSH to monitor the utilized storage space on the SD card, and periodically comparing it to see if it has increased. 
  • Monitor the DL node: system/resources/storage 

Hello, 

The problem is strictly related to the device used toghether with "EXTENSION OF INTERNAL MEMORY". Any other usage is not affected. 
We are working on a fix. I update you as soon as we have a schedule for fix 😁

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist