Files
obsidian-vault/100 inbox/Filesystem Drive Map.md

202 lines
9.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
created: 2026-05-28
modified: 2026-05-28
type: note
tags: [dev-ops, filesystem, drives, network, consolidation]
aliases: [drive-map, filesystem-map]
---
# Filesystem Drive Map
> A comprehensive map of all drives across the four machines, including backup roles and consolidation notes.
---
## Machine Legend
| Short | Hostname | IP | OS | Role |
|-------|----------|-----|-----|------|
| **.27** | `sam-4screen-desktop` | 192.168.20.27 | NixOS 26.05 | Desktop / daily driver |
| **.35** | `sam-ubuntu1` | 192.168.20.35 | Ubuntu 24.04 | Docker server / app host |
| **.13** | `nixos-desktop` | 192.168.20.13 | NixOS 26.05 | NAS / backup target |
| **.23** | `file-server` | 192.168.20.23 | (VM) | NFS file server (USB host) |
---
## .27 — sam-4screen-desktop (192.168.20.27)
### Local NVMe (internal)
| Logical Name | Device | Size | Used | Avail | Mount | Label | UUID | Note |
|-------------|--------|------|------|-------|-------|-------|------|------|
| **System Root** | `nvme0n1p2` | 884G | 335G | 490G (41%) | `/` | root | `fb26cb12-...` | NixOS system + home |
| **Boot** | `nvme0n1p1` | 1G | 224M | 799M (22%) | `/boot` | — | `4A17-D854` | EFI system partition |
### External / USB Drives
| Logical Name | Device | Size | Used | Avail | Mount | Label | UUID | Note |
|-------------|--------|------|------|-------|-------|-------|------|------|
| **SmartDrive** | `sdc1` | 687G | 105G | 548G (17%) | `/run/media/sam/SmartDrive` | `SmartDrive` | `819c3228-...` | Integral300 backup (105GB extracted) |
| **TempBackup** | `sdd1` | 458G | 299G | 136G (69%) | `/mnt/tempbackup` | `TempBackup` | `4f9c4bd5-...` | Holds recovery .img (298GB) |
| **Back Up** | `sda2` | 224G | 67G | 158G (30%) | `/mnt/backup` | `Back Up` | `0806B920...` | NTFS, read-only, old photo archive |
| **XPSystemDrive** | `sdb1` | 146G | ~0 | 139G (1%) | `/mnt/xpsystemdrive` | `XPSystemDrive` | `82c994f1-...` | From old XPS laptop, empty |
### Loop Mount (from .img file)
| Logical Name | Device | Size | Used | Avail | Mount | Label | Note |
|-------------|--------|------|------|-------|-------|-------|------|
| **Integral300 Recovery** | `loop0` | 293G | 105G | 173G (38%) | `/run/media/sam/Integral300` | `Integral300` | Mounted from `/mnt/tempbackup/recovery/integral300_recovery.img` |
### Backup Role
| Direction | Method | Target | Schedule |
|-----------|--------|--------|----------|
| `.27 → .13` | Borg via SSH | `sam@192.168.20.13:/mnt/ubuntu_storage_3TB/backup/borg/.27` | Daily 4am (systemd timer) |
| Also managed via | Vorta GUI | Same repo | Manual browsing only |
---
## .35 — sam-ubuntu1 (192.168.20.35) — Docker Host
### Local Drive
| Logical Name | Device | Size | Used | Avail | Mount | Label | Note |
|-------------|--------|------|------|-------|-------|-------|------|
| **System Root** | `sda2` | 442G | 165G | 256G (40%) | `/` | — | Ubuntu 24.04 |
### Not Mounted
| Logical Name | Device | Size | FSType | Label | Note |
|-------------|--------|------|--------|-------|------|
| **My Passport** | `vda1` | 1.8T | ntfs | `My Passport` | Western Digital USB drive — needs mounting to check content |
### NFS Mount (from .23)
| Logical Name | Device | Size | Used | Avail | Mount | Note |
|-------------|--------|------|------|-------|-------|------|
| **USB 3TB (file-server)** | `//192.168.20.23/usb_3tb` | 2.7T | 199G | 2.5T (8%) | `/mnt/nfs_usb_3tb` | CIFS mount, contains backup repos |
#### Contents of `/mnt/nfs_usb_3tb/`
| Path | Size | Description |
|------|------|-------------|
| `kopia/` | **46G** | Kopia backup repo (Docker containers, volumes, trilium) |
| `backups/restic/` | **13G** | Restic/Backrest backup repo (Docker containers, volumes) |
| `backups/homeassistant/` | — | Home Assistant backups |
| `media/` | — | Empty media library structure (Anime, Movies, TV, etc.) |
| `sam/` | 1.2G | Personal files (books, documents, thesis, footy) |
| `paperless/` | 58M | Paperless-ngx data |
| `downloads/` | — | Download stubs (subdirs only, empty) |
| `kopia_0.23.0_linux_amd64.deb` | 17M | Kopia installer |
### Immich (Photo Library — DATA LOST)
| Path | Status |
|------|--------|
| `/mnt/hd/immich/` | ❌ Empty (data lost Apr 21 2026) |
| PostgreSQL DB | ✅ Metadata for 40,769 assets survives (Dec 2024 Jan 2025) |
| Docker containers | ✅ Running (crashed, needs folder init) |
### Backup Role
| Direction | Method | Target | Schedule |
|-----------|--------|--------|----------|
| `.35 → .23` | Kopia (host) | `/mnt/nfs_usb_3tb/kopia/` | Weekly (Sun 8am) |
| `.35 → .23` | Backrest/Restic (Docker) | `/mnt/nfs_usb_3tb/backups/restic/` | Daily? |
| **Gap** | **`/mnt/hd/` NOT backed up** | — | ❌ No backup covers host-level paths |
---
## .13 — nixos-desktop (192.168.20.13) — NAS / Backup Server
### Local Drives
| Logical Name | Device | Size | Used | Avail | Mount | Label | UUID | Note |
|-------------|--------|------|------|-------|-------|-------|------|------|
| **System Root** | `sdc2` | 907G | 143G | 718G (17%) | `/` | root | `0d57bb68-...` | NixOS 26.05 system |
| **Boot** | `sdc1` | 1G | 98M | 925M (10%) | `/boot` | — | `4D80-F99E` | EFI boot |
| **Storage (Windows)** | `sda2` | 932G | 271G | 662G (30%) | `/mnt/storage` | (System Reserved) | `063E316A...` | NTFS, old Windows drive (Users, Program Files) |
| **Data** | `sdb2` | 1.8T | 1.5T | 416G (78%) | `/mnt/data` | Data | `96502969...` | NTFS, main data — contains ALL_TRANFERS (Pictures) |
| **Ubuntu Storage** | `sdd1` | 2.7T | 95G | 2.6T (4%) | `/mnt/ubuntu_storage_3TB` | ubuntu_storage_3 | `037a542c-...` | **Backup target** for .27 + .13 Borg repos |
### Not Mounted
| Logical Name | Device | Size | FSType | Label | UUID | Note |
|-------------|--------|------|--------|-------|------|------|
| **MaxtorBackup** | `sde1` | 1.4T | ext4 | `MaxtorBackup` | `b0fa7768-...` | Seagate ST31500341AS — old backup drive, content unknown |
### Key Photo Location
```
/mnt/data/ALL_TRANFERS/Pictures/
├── sorted_pictures_holder/ ← 31,279 photos, year→month organized (20032023)
├── PICTURES_GROUPED_SUBJECT_OLD/ ← Same as Back Up drive (old subject-organized)
├── Photos-001 (1-4)/ ← Phone dumps (May-Jun 2023)
├── sorted_pictures/2019/ ← One year
├── temp_transfer/ ← 2024 event photos (by event, not date)
└── sam rolfe/previous years/ ← 2018, 2019
```
### Backup Role
| Direction | Method | Target | Schedule |
|-----------|--------|--------|----------|
| `.13 local` | Borg (local) | `/mnt/ubuntu_storage_3TB/backup/borg/.13` | Daily 4am |
| `.13 → .35` | Rsync | `.35:` `/mnt/nfs_usb_3tb` (→ .23) | Daily 5am after Borg |
| **Hosts .27's repo** | Borg (remote) | `/mnt/ubuntu_storage_3TB/backup/borg/.27` | .27 pushes here daily |
---
## .23 — file-server (192.168.20.23) — NFS Share Host
| Logical Name | Path from .35 | Size | Used | Avail | Note |
|-------------|--------------|------|------|-------|------|
| **USB 3TB Drive** | `//192.168.20.23/usb_3tb``/mnt/nfs_usb_3tb` | 2.7T | 199G | 2.5T (8%) | Serves as backup destination for .35 |
No SSH access available. Contents fully visible via .35's CIFS mount.
**What lives here:**
- Kopia repo (46G) — Docker container backups from .35
- Restic repo (13G) — Docker container backups from .35
- Other empty directories (media structure, downloads stubs)
---
## Backup Schedule Summary
| From | To | Tool | What's Covered | Gap |
|------|-----|------|---------------|-----|
| **.27** → | **.13** (USB 3TB) | Borg | `~/Documents`, Docker configs, SSH keys, nix config | ❌ Misses `.local/state`, caches |
| **.13** → | **local USB 3TB** + rsync → .35 | Borg + Rsync | `~/Docker`, pocketbase, dotfiles, SSH | — |
| **.35** → | **.23** (USB 3TB via NFS) | Kopia + Restic | Docker containers + volumes only | **❌ MISSES `/mnt/hd/immich` photos, `/mnt/hd/*`** |
| **.23** → | ??? | ??? | ??? | **❌ Not backed up anywhere** |
---
## Consolidation Notes
### Biggest Drives by Free Space
| Rank | Machine | Mount | Label | Free | Use Case |
|------|---------|-------|-------|------|----------|
| 1 | .13 | `/mnt/ubuntu_storage_3TB` | ubuntu_storage_3 | **2.6T free** | Backup target (vastly underutilized) |
| 2 | .23→.35 | `/mnt/nfs_usb_3tb` | USB 3TB | **2.5T free** | Backup target (vastly underutilized) |
| 3 | .27 | `/` | nvme root | **490G free** | Main system |
| 4 | .13 | `/mnt/data` | Data | **416G free** | Photo archive sits here |
| 5 | .27 | `/run/media/sam/SmartDrive` | SmartDrive | **548G free** | Old backup archive |
### Key Gaps to Address
1. **Immich photos — lost forever** unless on disconnected drive or MaxtorBackup (.13)
2. **`/mnt/hd/` on .35 is not backed up** — any Docker host bind-mount data is unprotected
3. **.23 has no backup** — single point of failure for .35's backup repos
4. **MaxtorBackup on .13 is unmounted** — needs investigation
5. **My Passport on .35 is unmounted** — needs investigation
### Next Steps
- [ ] Check MaxtorBackup (`/dev/sde1` on .13 — 1.4T ext4)
- [ ] Check My Passport (`/dev/vda1` on .35 — 1.8T ntfs)
- [ ] Decide if `/mnt/hd/` on .35 should be added to Kopia/Restic backup scope
- [ ] Consider if .23 needs its own backup