Mount-health card showed ~31GB free for the growing SMB share when the NAS actually has multi-TB. mam-api never mounts the CIFS share, so df on the container's /growing path reported the local overlay filesystem. Now query the share's true capacity via 'smbclient -c du' (no mount needed) using the configured credentials; falls back to the local df + surfaces the probe error if the share is unreachable. Added smbclient to the mam-api image. |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| .env.example | ||
| .gitignore | ||
| Dockerfile | ||
| package-lock.json | ||
| package.json | ||