Mount additional disks #235
-
Hi there. I wanted to ask if there is already a possibility to mount additional USB connected disks in gokrazy? I'd like to use minio with additional USB disks on my gokrazy powered raspberry pi. If this is not possible so far, I was thinking about an '/etc/fstab' similar approach, but instead of a file, the additional disks can be specified in the gokrazy config. Then the supervise init process could take care of mounting before starting all configured applications and unmounting after all the applications have finished. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
This is not currently implemented. You can deploy a small Go program to mount the external disk, though. Hopefully the minio process recovers automatically? Otherwise, you could disable starting minio automatically and start it from your program. |
Beta Was this translation helpful? Give feedback.
-
For the time being, I added a rough implementation which allows to mount additional partitions, by specifying them in a {
"disks": [
{
"partUUID": "<found via blkid>",
"type": "ext4",
"mountpoint": "/perm/mounts/disk1",
"options": ""
}
]
} I then used a |
Beta Was this translation helpful? Give feedback.
This is not currently implemented.
You can deploy a small Go program to mount the external disk, though. Hopefully the minio process recovers automatically? Otherwise, you could disable starting minio automatically and start it from your program.