Can't write datas in other disk

Hello !
First time creating a post in a forum for a question like this, and as a non-native english speaker, i’ll try to make it as clear as possible !

I installed InfluxDB3 on a VM, and the VM has a second disk mounted on it, XFS filesystem, on a specific VG (vg2-data), mounted as /data.

In my influxdb3-core.conf, I changed the field “data-dir” to “/data/influxdb3”, created the folder /data/influxdb3 and restarted my influx-db3-core service.

Here’s the thing… influxdb3-core service can’t start, status “failed”, logs telling me “Read-Only Filesystem” (while filesystem isn’t read-only)… What I tried :

  • Setting /data to 777 and everything under it to allow influxdb3-core service to create it’s folders → Not working
  • Setting the user influxdb3 as owner of /data → not working
  • Removing noexec to my fstab for the /data folder → not working

I installed InfluxDB2 instead, and it worked out of the box, writing everything inside /data.

Any tips ?

Thanks for any answers !

Fixed :
In /usr/lib/systemd/system/influxdb3-core.service you need to add a ReadWritePaths= to allow the service to write in it.