summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-20 17:23:17 +0300
committerPaul Buetow <paul@buetow.org>2026-06-20 17:23:17 +0300
commit6c13b6a253aec415b8ad850df4abfcecc8efbcd7 (patch)
tree466fcea5a71bc17ed3f56213aa10d424ac5853d0 /packages
parent87d8b7b36c3528b7ad14e01ac0aec06df88d6ff3 (diff)
carp: flip sink dataset read-write on MASTER takeover, read-only on BACKUP
When f1 (BACKUP) becomes MASTER, its zrepl sink dataset (zdata/sink/f0/zdata/enc/nfsdata) was kept readonly=on. NFS clients could mount and read but all writes failed with EROFS. carpcontrol.sh now sets readonly=off before starting NFS services on MASTER takeover, and restores readonly=on before stopping them on BACKUP transition so zrepl can resume receiving snapshots from f0. Without this, every controlled CARP failover to f1 left NFS read-only until manually fixed with `zfs set readonly=off`. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions