Files
obsidian-vault/300 areas/360 Dev-Ops Network Computers/Filesystem Drive Map.md

203 lines
9.7 KiB
Markdown

---
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 VM |
### Attached Virtual Disk (My Passport — Data Drive)
| Logical Name | Device | Size | Used | Avail | Mount | Label | UUID | Note |
|-------------|--------|------|------|-------|-------|-------|------|------|
| **My Passport** | `vda1` | 1.8T | — | — | **`/mnt/hd`** | `My Passport` | `AE5A06ED...` | NTFS, physical WD drive passed through to VM. **Contains all real Docker service data.** Previously mounted at `/mnt/my_passport` — fixed 2026-05-28. |
### 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 — RECOVERED)
| Path | Status |
|------|--------|
| `/mnt/hd/immich/` | ✅ **Recovered 2026-05-28** — all 40K photos found on My Passport |
| PostgreSQL DB | ✅ Metadata intact |
| Docker containers | ✅ Running again after mount fix |
| **Cause** | My Passport was mounted at `/mnt/my_passport` instead of `/mnt/hd` — Docker looked at `/mnt/hd` which was empty stubs on root |
### Backup Role
| Direction | Method | Target | Schedule |
|-----------|--------|--------|----------|
| `.35 → .23` | Kopia | `/mnt/nfs_usb_3tb/kopia/` | Weekly Sun 22:00 |
| `.35 → .23` | Backrest (Restic) | `/mnt/nfs_usb_3tb/backups/restic/` | Weekly Sun 23:00 |
| `.35` VM-level | Proxmox Backup Server (.48) | — | Full VM backup |
| **`/mnt/hd/`** | **Backrest (Restic)** | **Same restic repo** | ✅ **Added 2026-05-28**`/host_fs/mnt/hd` now in `Docker_Containers` plan |
---
## .13 — nixos-desktop (192.168.20.13) — NAS / Backup Server
> **Updated 2026-08-06** — drive letters/state verified live. `/mnt/data` and `/mnt/storage` were reformatted 2026-05-30 and are now EMPTY ext4. Photos now live in `archive/03_photos` (see below).
### Local Drives
| Logical Name | Device | Size | Used | Avail | Mount | Label | UUID | Note |
|-------------|--------|------|------|-------|-------|-------|------|------|
| **System Root** | `sda2` | 907G | 424G | 437G (50%) | `/` | root | `0d57bb68-...` | NixOS system |
| **Boot** | `sda1` | 1G | — | — | `/boot` | — | `4D80-F99E` | EFI boot |
| **Storage** | `sdc2` | 931G | 2.1M | **870G (1%)** | `/mnt/storage` | archive_storage | — | **EMPTY** — reformatted ext4 2026-05-30 (was NTFS Windows drive) |
| **Data** | `sdb2` | 1.8T | 2.1M | **1.7T (1%)** | `/mnt/data` | Data | — | **EMPTY** — reformatted ext4 2026-05-30. **Planned Takeout landing zone** |
| **Ubuntu Storage** | `sdd1` | 2.7T | 810G | **1.9T (30%)** | `/mnt/ubuntu_storage_3TB` | ubuntu_storage_3 | `037a542c-...` | Holds `archive/` (649G), `timeshift` (64G), `backup/` (35G). Backup target for .27 + .13 Borg repos |
| **MaxtorBackup** | `sde1` | 1.4T | ~0 | — | `/mnt/maxtor_backup` | MaxtorBackup | `b0fa7768-...` | Now mounted — EMPTY (4KB). Old backup drive, content unknown/clear |
### Key Photo Location (NEW — moved 2026-05-30)
```
/mnt/ubuntu_storage_3TB/archive/03_photos/ ← 472G, 58,948 files
├── by_date/ ← year→month organized
├── by_subject/ ← subject-organized
├── phone_dumps/ ← phone exports
├── Pictures/ ← old Pictures folder
├── temp_transfer/ ← event photos
└── lily.jpg, lily2jpg.jpg
archive/ also contains: 01_family, 02_projects, 04_education, 05_documents,
06_creative, 07_notes, 08_transfer
```
### 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 | **1.9T 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 | **1.7T free (empty)** | **Takeout staging — NEW target 2026-08-06** |
| 5 | .27 | `/run/media/sam/SmartDrive` | SmartDrive | **548G free** | Old backup archive |
| 6 | .13 | `/mnt/storage` | archive_storage | **870G free (empty)** | Spare capacity |
### Key Gaps to Address
1.**Immich photos recovered** — found on My Passport, now mounted at `/mnt/hd`
2.**`/mnt/hd/` backup added** — `/host_fs/mnt/hd` added to Backrest (Restic) plan
3. **.23 has no backup** — single point of failure for .35's backup repos
4. **MaxtorBackup on .13 now mounted**`/mnt/maxtor_backup` empty (4KB), verified 2026-08-06
### Next Steps
- [ ] Confirm Backrest backup of `/host_fs/mnt/hd` runs successfully on Sunday
- [ ] Consider if `.23` file-server needs its own backup
- [ ] Check MaxtorBackup (`/dev/sde1` on .13) if needed