"/data/osm-ng/data/postgres/base" = { device = "data/postgres"; fsType = "zfs"; }; I…
- User
"/data/osm-ng/data/postgres/base" = {
codedevice = "data/postgres"; fsType = "zfs"; };I have zfs dataset mounted here. On running system, I would like to add new mount with different configuration for temp:
code"/data/osm-ng/data/postgres/base/pgsql_tmp" = { device = "data/tmp/postgres"; fsType = "zfs"; };How to do that without breaking applications (non-destructive lag is acceptable). I'm thinking like stop any IO to that folder, mount new tmp folder at pgsql_tmp2 and copy all files there. Remove original and place pgsql_tmp2 in its place. Resume all IO. Idk if that's possible, perhaps there are better ways of doing it. I can't stop postgres.
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.