Remove glusterfs.
This commit is contained in:
19
CLAUDE.md
19
CLAUDE.md
@@ -30,10 +30,7 @@ NixOS cluster configuration using flakes. Homelab infrastructure with Nomad/Cons
|
||||
└── services/ # Nomad job specs (.hcl files)
|
||||
```
|
||||
|
||||
## Current Architecture (transitioning)
|
||||
|
||||
**OLD**: GlusterFS on c1/c2/c3 at `/data/compute` (being phased out)
|
||||
**NEW**: NFS from zippy at `/data/services` (current target)
|
||||
## Current Architecture
|
||||
|
||||
### Storage Mounts
|
||||
- `/data/services` - NFS from `data-services.service.consul` (zippy primary, c1 standby)
|
||||
@@ -86,26 +83,18 @@ NixOS cluster configuration using flakes. Homelab infrastructure with Nomad/Cons
|
||||
|
||||
## Migration Status
|
||||
|
||||
**Phase**: 4 in progress (20/35 services migrated)
|
||||
**Current**: Migrating services from GlusterFS → NFS
|
||||
**Next**: Finish migrating remaining services, update host volumes, remove GlusterFS
|
||||
**Later**: Convert fractal to NixOS (deferred)
|
||||
**Phase 3 & 4**: COMPLETE! GlusterFS removed, all services on NFS
|
||||
**Next**: Convert fractal to NixOS (deferred)
|
||||
|
||||
See `docs/MIGRATION_TODO.md` for detailed checklist.
|
||||
|
||||
**IMPORTANT**: When working on migration tasks:
|
||||
1. Always update `docs/MIGRATION_TODO.md` after completing each service migration
|
||||
2. Update both the individual service checklist AND the summary counts at the bottom
|
||||
3. Pattern: `/data/compute/appdata/foo` → `/data/services/foo` (NOT `/data/services/appdata/foo`!)
|
||||
4. Migration workflow per service: stop → copy data → edit config → start → update MIGRATION_TODO.md
|
||||
|
||||
## Common Tasks
|
||||
|
||||
**Deploy a host**: `deploy -s '.#hostname'`
|
||||
**Deploy all**: `deploy`
|
||||
**Check replication**: `ssh zippy journalctl -u replicate-services-to-c1.service -f`
|
||||
**NFS failover**: See `docs/NFS_FAILOVER.md`
|
||||
**Nomad jobs**: `services/*.hcl` - update paths: `/data/compute/appdata/foo` → `/data/services/foo` (NOT `/data/services/appdata/foo`!)
|
||||
**Nomad jobs**: `services/*.hcl` - service data stored at `/data/services/<service-name>`
|
||||
|
||||
## Troubleshooting Hints
|
||||
|
||||
|
||||
Reference in New Issue
Block a user