Add dual NVMe storage documentation and snapshot troubleshooting
- Updated architecture diagram with actual disk sizes (100GB/200GB) - Added Storage section with NVMe layout and snapshot commands - Added VM/Storage troubleshooting section: - Snapshot feature not available (Raw Device fix) - Storage overview and disk migration - Thin pool warnings explanation - Updated changelog with storage optimization 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
4. [Service-spezifische Probleme](#4-service-spezifische-probleme)
|
||||
5. [Backup/Restore Probleme](#5-backuprestore-probleme)
|
||||
6. [Performance Probleme](#6-performance-probleme)
|
||||
7. [Stolperfallen und Lessons Learned](#7-stolperfallen-und-lessons-learned)
|
||||
7. [VM und Storage Probleme](#7-vm-und-storage-probleme)
|
||||
8. [Stolperfallen und Lessons Learned](#8-stolperfallen-und-lessons-learned)
|
||||
|
||||
---
|
||||
|
||||
@@ -344,7 +345,109 @@ docker system df
|
||||
|
||||
---
|
||||
|
||||
## 7. Stolperfallen und Lessons Learned
|
||||
## 7. VM und Storage Probleme
|
||||
|
||||
### VM Snapshots funktionieren nicht
|
||||
|
||||
**Problem:** `qm snapshot` meldet "snapshot feature is not available"
|
||||
|
||||
**Ursache:** Disk ist als Raw Device (`/dev/pve/...`) statt als Proxmox-managed Disk eingebunden
|
||||
|
||||
**Diagnose:**
|
||||
```bash
|
||||
# VM Konfiguration pruefen
|
||||
qm config 100 | grep scsi
|
||||
|
||||
# Falsch (Raw Device - keine Snapshots):
|
||||
# scsi1: /dev/pve/vm-100-data,size=200G
|
||||
|
||||
# Richtig (Proxmox-managed - Snapshots moeglich):
|
||||
# scsi1: local-lvm:vm-100-data,size=200G
|
||||
```
|
||||
|
||||
**Loesung:**
|
||||
```bash
|
||||
# 1. VM stoppen
|
||||
qm stop 100
|
||||
|
||||
# 2. Raw Device entfernen
|
||||
qm set 100 --delete scsi1
|
||||
|
||||
# 3. Als Proxmox-managed Disk neu hinzufuegen
|
||||
qm set 100 --scsi1 local-lvm:vm-100-data
|
||||
|
||||
# 4. VM starten
|
||||
qm start 100
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Storage-Uebersicht und Disk Migration
|
||||
|
||||
**Aktuelles Storage-Layout:**
|
||||
|
||||
| Storage | NVMe | Verwendung | Kapazitaet |
|
||||
|---------|------|------------|------------|
|
||||
| `local-lvm` | nvme0n1 (WDC) | VM System Disks | ~350GB Thin Pool |
|
||||
| `nvme-data` | nvme1n1 (SKHynix) | Nextcloud/Data | ~450GB Thin Pool |
|
||||
|
||||
**Storage Status pruefen:**
|
||||
```bash
|
||||
pvesm status
|
||||
```
|
||||
|
||||
**Disk zwischen Storages verschieben (Live-Migration):**
|
||||
```bash
|
||||
# Disk von local-lvm nach nvme-data verschieben
|
||||
# --delete 1 = altes Volume nach Migration loeschen
|
||||
qm disk move 100 scsi1 nvme-data --delete 1
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### VM Snapshot Befehle
|
||||
|
||||
```bash
|
||||
# Snapshot erstellen
|
||||
qm snapshot 100 <name> --description "Beschreibung"
|
||||
|
||||
# Snapshots auflisten
|
||||
qm listsnapshot 100
|
||||
|
||||
# Zu Snapshot zurueckkehren (VM wird neugestartet)
|
||||
qm rollback 100 <name>
|
||||
|
||||
# Snapshot loeschen
|
||||
qm delsnapshot 100 <name>
|
||||
```
|
||||
|
||||
**Hinweis:** Warnung "QEMU Guest Agent is not running" ist nicht kritisch. Fuer konsistentere Snapshots kann `qemu-guest-agent` in der VM installiert werden:
|
||||
```bash
|
||||
apt install qemu-guest-agent
|
||||
systemctl enable qemu-guest-agent
|
||||
systemctl start qemu-guest-agent
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Thin Pool Warnungen
|
||||
|
||||
**Problem:** `WARNING: Sum of all thin volume sizes exceeds the size of thin pool`
|
||||
|
||||
**Ursache:** Thin Provisioning erlaubt Overprovisioning - die virtuellen Volumes sind groesser als der physische Speicher
|
||||
|
||||
**Loesung:** Dies ist normal bei Thin Provisioning. Wichtig ist, den tatsaechlichen Verbrauch zu ueberwachen:
|
||||
```bash
|
||||
# Tatsaechliche Nutzung pruefen
|
||||
lvs -o lv_name,lv_size,data_percent
|
||||
|
||||
# Thin Pool Status
|
||||
lvs pve/data -o lv_size,data_percent,metadata_percent
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 8. Stolperfallen und Lessons Learned
|
||||
|
||||
### nginx auf Windows
|
||||
|
||||
|
||||
Reference in New Issue
Block a user