Skip to content

Bella - Cloud Storage Gateway

Bella is a local Linux workstation that serves as the Universal Cloud Gateway for all devices on the network.


🎯 Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   MacBook   │────▢│   Bella     │────▢│  Cloud Services         β”‚
β”‚   (SMB)     β”‚     β”‚   (Linux)   β”‚     β”‚  - Google Drive (6 acc) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β”‚             β”‚     β”‚  - OneDrive (4 acc)     β”‚
                    β”‚  rclone     β”‚     β”‚  - Storage Box          β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”‚  systemd    β”‚     β”‚  - Hetzner S3           β”‚
β”‚   iMac      │────▢│  samba      β”‚     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚   (SMB)     β”‚     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Why Bella?

  • Linux FUSE is rock-solid (no disconnects like macOS)
  • Always-on server handles API tokens and keep-alives
  • Your Mac speaks native SMB (fast, reliable)
  • One connection to rule them all

πŸ“ Mounted Drives

Mount Point Remote Storage
storagebox Hetzner Storage Box 5.0 TB
gdrive-kdoi Google Drive (kdoi) 2.0 TB
gdrive-kuatecno Google Drive (kuatecno) 2.0 TB
gdrive-vjoati Google Drive (vjoati) 2.0 TB
gdrive-muralla Google Drive (muralla) 2.0 TB
gdrive-fen Google Drive (fen) 448 TB
gdrive-laberinto Google Drive (laberinto) 240 GB
onedrive-muralla OneDrive (muralla) 1.1 TB
onedrive-kua OneDrive (kua) 1.1 TB
onedrive-kdoi OneDrive (kdoi) 1.1 TB
onedrive-vjoati OneDrive (vjoati) 1.1 TB
hetzner-s3 Hetzner S3 1.0 PB

πŸ”— Connecting from Mac

  1. Open Finder
  2. Press Cmd + K (or Go β†’ Connect to Server)
  3. Enter: smb://100.85.231.14/Cloud
  4. Username: kavi
  5. Password: (your SMB password)

You will see all cloud drives as folders.


βš™οΈ Server Configuration

IP Address

  • Tailscale: 100.85.231.14
  • Hostname: bella

Services

  • Samba (smbd): Shares /home/kavi/Cloud via SMB
  • rclone mounts: 12 systemd services for each cloud

Systemd Services

# Check status of all mounts
systemctl list-units 'rclone-mount@*'

# Restart a specific mount
sudo systemctl restart rclone-mount@gdrive-kdoi

# View logs
journalctl -u rclone-mount@storagebox -f

Samba Config

Located at /etc/samba/smb.conf:

[Cloud]
   path = /home/kavi/Cloud
   browseable = yes
   read only = no
   guest ok = no
   valid users = kavi

πŸ”§ Maintenance

Remount All Drives

# Stop all mounts
sudo systemctl stop 'rclone-mount@*'

# Start all mounts
sudo systemctl start 'rclone-mount@*'

Update rclone Config

If OAuth tokens expire, update on Mac first, then copy to Bella:

# From Mac
scp ~/.config/rclone/rclone.conf kavi@100.85.231.14:~/.config/rclone/rclone.conf