refaunit.blogg.se

Postgresql install db on external drive
Postgresql install db on external drive







postgresql install db on external drive

Side note, I was initially confused by the Mounting external storage media documentation because it is for the non-Alpine base images despite the example project using an Alpine base image. I recognize that the Balena base images do some additional work for udev and device/hardware access, but regardless of the base/parent image used, I am still having problems. The TimescaleDB source image contains an Alpine distribution, and I have done the above with the balenalib/jetson-xavier-nx-devkit-alpine and balenalib/jetson-xavier-nx-devkit-ubuntu base images, too. At least the NVMe is recognized by the host and I can manually access it from a container. I SSH-ed into the running container, and I manually mounted the NVMe SSD, where I have formatted the NVMe with the ext4 format and given it the nvme label. This successfully builds an image with Postgres/Timescale, but the data will be stored at /var/lib/postgres/data on the SD card, or eMMC depending on the Jetson Xavier NX devkit and device provisioning.

postgresql install db on external drive

# FROM balenalib/jetson-xavier-nx-devkit-alpine I have the following Dockerfile: # FROM balenalib/jetson-xavier-nx-devkit-ubuntu I have BalenaOS and the containers running from the SD Card, but I would like the database to be persisted and stored on the NVMe. var/lib/postgres/data, in my single-container application on my Jetson Xavier NX SD Card devkit.

#POSTGRESQL INSTALL DB ON EXTERNAL DRIVE HOW TO#

I am utterly lost on how to use my NVMe SSD for my Postgres data, i.e.









Postgresql install db on external drive