zfs error: cannot import 'raid1': no such pool available (500)

dudenamedben

New Member
Sep 10, 2021
15
2
3
Many months agao created a zfs-pool `local-hdd`

2021-09-10.19:57:15 zpool create -o ashift=12 local-hdd /dev/disk/by-id/ata-ST500LM021-1KJ152_W62BB0MS 2021-09-10.19:57:20 zfs set compression=on local-hdd 2021-09-10.20:18:06 zpool import -c /etc/zfs/zpool.cache -aN

This is the output of zpool list today:

NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT local-hdd 464G 45.5G 418G - - 50% 9% 1.00x ONLINE -

and lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 465.8G 0 part └─sda9 8:9 0 8M 0 part zd0 230:0 0 32G 0 disk ├─zd0p1 230:1 0 1M 0 part ├─zd0p2 230:2 0 1G 0 part └─zd0p3 230:3 0 31G 0 part zd16 230:16 0 50G 0 disk ├─zd16p1 230:17 0 512K 0 part ├─zd16p2 230:18 0 2G 0 part └─zd16p3 230:19 0 48G 0 part


This was workign fine, no issue. However roll forward to present day, I am gettgin an error as follows:

could not activate storage 'local-hdd', zfs error: cannot import 'raid1': no such pool available (500)

Where is `raid1` coming from as an error?


Note ZFS is only used for VM disk hosting, NVME is used for ProxMox Boot

nvme0n1 259:0 0 119.2G 0 disk ├─nvme0n1p1 259:1 0 1007K 0 part ├─nvme0n1p2 259:2 0 512M 0 part /boot/efi └─nvme0n1p3 259:3 0 118.7G 0 part ├─pve-swap 253:0 0 4G 0 lvm [SWAP] ├─pve-root 253:1 0 29.5G 0 lvm / ├─pve-data_tmeta 253:2 0 1G 0 lvm │ └─pve-data 253:4 0 68.5G 0 lvm └─pve-data_tdata 253:3 0 68.5G 0 lvm └─pve-data 253:4 0 68.5G 0 lvm
 
Last edited:
Hi,
please provide the output of the following:
Code:
cat /etc/pve/storage.cfg
zpool status -v
ls -l /dev/disk/by-id
 
cat /etc/pve/storage.cfg snippet


zfspool: local-hdd pool raid1 content images,rootdir mountpoint /raid1 sparse 1

pool: local-hdd state: ONLINE status: Some supported and requested features are not enabled on the pool. The pool can still be used, but some features are unavailable. action: Enable all features using 'zpool upgrade'. Once this is done, the pool may no longer be accessible by software that does not support the features. See zpool-features(7) for details. scan: scrub repaired 0B in 00:50:39 with 0 errors on Sun Jun 12 01:14:40 2022 config: NAME STATE READ WRITE CKSUM local-hdd ONLINE 0 0 0 ata-ST500LM021-1KJ152_W62BB0MS ONLINE 0 0 0 errors: No known data errors


lrwxrwxrwx 1 root root 9 Jun 20 23:19 ata-ST500LM021-1KJ152_W62BB0MS -> ../../sda lrwxrwxrwx 1 root root 10 Jun 20 23:19 ata-ST500LM021-1KJ152_W62BB0MS-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Jun 20 23:19 ata-ST500LM021-1KJ152_W62BB0MS-part9 -> ../../sda9 lrwxrwxrwx 1 root root 10 Jun 20 23:19 dm-name-pve-root -> ../../dm-1 lrwxrwxrwx 1 root root 10 Jun 20 23:19 dm-name-pve-swap -> ../../dm-0 lrwxrwxrwx 1 root root 10 Jun 20 23:19 dm-uuid-LVM-dklf2wkZ0gnQYkgbR5YboUE8rHR5LXBYDgeBpTndj79DxnXFf9TVsSUF0c1n7XAM -> ../../dm-1 lrwxrwxrwx 1 root root 10 Jun 20 23:19 dm-uuid-LVM-dklf2wkZ0gnQYkgbR5YboUE8rHR5LXBYS8otukJz6v7sCnJzbnNhQM1vfmFOCpNf -> ../../dm-0 lrwxrwxrwx 1 root root 11 Jun 20 23:19 lvm-pv-uuid-AnkgA1-c6Xw-Nf1N-yIzD-5CT1-vOEq-unc1XU -> ../../zd0p3 lrwxrwxrwx 1 root root 15 Jun 20 23:19 lvm-pv-uuid-Wltv5l-WJAi-wGgj-aZcr-2qQV-eGIc-x3XW9Z -> ../../nvme0n1p3 lrwxrwxrwx 1 root root 13 Jun 20 23:19 nvme-eui.00000000000000000000010000000000 -> ../../nvme0n1 lrwxrwxrwx 1 root root 15 Jun 20 23:19 nvme-eui.00000000000000000000010000000000-part1 -> ../../nvme0n1p1 lrwxrwxrwx 1 root root 15 Jun 20 23:19 nvme-eui.00000000000000000000010000000000-part2 -> ../../nvme0n1p2 lrwxrwxrwx 1 root root 15 Jun 20 23:19 nvme-eui.00000000000000000000010000000000-part3 -> ../../nvme0n1p3 lrwxrwxrwx 1 root root 13 Jun 20 23:19 nvme-M_Series_NVMe_SSD_128G_21251061070403 -> ../../nvme0n1 lrwxrwxrwx 1 root root 15 Jun 20 23:19 nvme-M_Series_NVMe_SSD_128G_21251061070403-part1 -> ../../nvme0n1p1 lrwxrwxrwx 1 root root 15 Jun 20 23:19 nvme-M_Series_NVMe_SSD_128G_21251061070403-part2 -> ../../nvme0n1p2 lrwxrwxrwx 1 root root 15 Jun 20 23:19 nvme-M_Series_NVMe_SSD_128G_21251061070403-part3 -> ../../nvme0n1p3 lrwxrwxrwx 1 root root 9 Jun 20 23:19 wwn-0x5000c5009ace8267 -> ../../sda lrwxrwxrwx 1 root root 10 Jun 20 23:19 wwn-0x5000c5009ace8267-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Jun 20 23:19 wwn-0x5000c5009ace8267-part9 -> ../../sda9
 
Your storage configuration mentions the pool raid1, but the pool is called local-hdd. You probably also want to adapt the mountpoint.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!