Files
proxmox/docs/03-deployment/LVM_THIN_PVE_ENABLED.md

104 lines
2.2 KiB
Markdown
Raw Normal View History

# LVM Thin Storage Enabled on pve
**Date**: $(date)
**Status**: ✅ LVM Thin Storage Configured
## Summary
LVM thin storage has been successfully enabled on pve node for migrations.
## Configuration
### Volume Group
- **Name**: `pve`
- **Physical Volumes**: 2 disks (sdc, sdd)
- **Total Size**: ~465.77GB
- **Free Space**: ~257.77GB
### Thin Pool
- **Name**: `thin1`
- **Volume Group**: `pve`
- **Size**: 208GB
- **Type**: LVM thin pool
- **Status**: Created and configured
### Proxmox Storage
- **Name**: `thin1`
- **Type**: `lvmthin`
- **Configuration**:
- Thin pool: `thin1`
- Volume group: `pve`
- Content: `images,rootdir`
- Nodes: `pve`
## Storage Status
```
pve storage:
- local: active (directory storage)
- thin1: configured (LVM thin storage)
- local-lvm: disabled (configured for ml110 only)
```
## Usage
### Migrate VMs to pve with thin1 storage
```bash
# From source node (e.g., ml110)
ssh root@192.168.11.10
# Migrate with thin1 storage
pct migrate <VMID> pve --storage thin1
# Or using API
pvesh create /nodes/ml110/lxc/<VMID>/migrate --target pve --storage thin1 --online 0
```
### Create new VMs on pve
When creating new containers on pve, you can now use:
- `thin1` - LVM thin storage (recommended for performance)
- `local` - Directory storage (slower but works)
## Storage Capacity
- **thin1**: 208GB total (available for VMs)
- **local**: 564GB total, 2.9GB used, 561GB available
## Verification
### Check storage status
```bash
ssh root@192.168.11.11 "pvesm status"
```
### Check volume groups
```bash
ssh root@192.168.11.11 "vgs"
```
### Check thin pools
```bash
ssh root@192.168.11.11 "lvs pve"
```
### List storage contents
```bash
ssh root@192.168.11.11 "pvesm list thin1"
```
## Notes
- The thin pool is created and ready for use
- Storage may show as "inactive" in `pvesm status` until first use - this is normal
- The storage is properly configured and will activate when used
- Both `thin1` (LVM thin) and `local` (directory) storage are available on pve
## Related Documentation
- `docs/STORAGE_FIX_COMPLETE.md`: Complete storage fix documentation
- `docs/MIGRATION_STORAGE_FIX.md`: Migration guide
- `scripts/enable-lvm-thin-pve.sh`: Script used to enable storage