Troubleshooting
Common Issues
Solutions to frequently encountered problems
Common Issues
"Connection refused" when mounting
Cause: Server is not running or not reachable.
Solutions:
- Check if server is running:
ps aux | grep ghostfs - Verify server is bound to correct address (use
0.0.0.0for network access) - Check firewall allows port 3444
"Authentication failed"
Cause: Invalid username or token.
Solutions:
- Verify token with
ghostfs auth liston server - Check username matches exactly (case-sensitive)
- Token may have expired — create a new one
"Transport endpoint is not connected"
Cause: Connection to server was lost.
Solutions:
- Unmount with
umount -f /mnt/remote - Check network connectivity
- Remount
"Permission denied" on mount
Cause: FUSE permissions issue.
Solutions:
Linux:
sudo usermod -aG fuse $USER
# Log out and back inmacOS:
# Allow kernel extension in System Preferences → Security & PrivacySlow performance
Cause: Default cache settings may not suit your workload.
Solutions:
For large sequential reads:
ghostfs mount /mnt/remote \
--read-ahead 16 \
--prefetch-workers 100 \
--prefetch-window 40For write-heavy workloads:
ghostfs mount /mnt/remote \
--write-back 128"Operation not permitted" with encryption
Cause: Wrong encryption key or corrupted file.
Solutions:
- Verify using the same key that encrypted the files
- Check key file permissions:
chmod 600 ~/.ghostfs/encryption.key