pve - louisa-uno/wiki GitHub Wiki
General
VMs
ZFS RAID
How to recreate
Proxmox UI config:
Name: raid3
Raid Level: RAIDZ2
Compression: on
ashift: 12
zpool add raid2 log /dev/disk/by-id/nvme-eui.e8238fa6bf530001001b448b4a4345ad-part2
zpool add raid2 cache /dev/disk/by-id/nvme-eui.e8238fa6bf530001001b448b4a4345ad-part1
How to read status & stats
zpool status
## reading iostats with refresh every 60s
zpool iostat -v raid2 -n 60
How to replace disk
zpool offline zpool_name disk_name
zpool replace zpool_name old_disk new_disk
## Example:
## zpool offline raid2 ata-ST4000VN006-3CW104_ZW62Y7P7-part1
## zpool replace raid2 /dev/disk/by-id/ata-ST4000VN006-3CW104_ZW62Y7P7-part1 /dev/disk/by-id/ata-ST4000VN008-2DR166_ZDHBJ41W