ZFS Pool Not Found Error 500

dudenamedben

New Member
Sep 10, 2021
15
2
3
Last year create 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 2021-09-10.20:35:11 zfs create -V 52428800k local-hdd/vm-100-disk-0

As you can see added VM 100 disk to this pool.

zpool status as of today and lsbllk:

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

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

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

Can you help? Where has raid 1 import error popped up from?
 
can you post your storage config? /etc/pve/storage.cfg
 
ah I see the mount point is /raid 1

root@pve91:~# cat /etc/pve/storage.cfg dir: local path /var/lib/vz content vztmpl,iso,backup lvmthin: local-lvm thinpool data vgname pve content rootdir,images nfs: pve_iso export /volume1/pve_iso path /mnt/pve/pve_iso server 192.168.1.69 content iso,vztmpl prune-backups keep-all=1 nfs: pve_disk export /volume1/pve_disk path /mnt/pve/pve_disk server 192.168.1.69 content images,rootdir prune-backups keep-all=1 zfspool: local-hdd pool raid1 content images,rootdir mountpoint /raid1 sparse 1 pbs: PBS93 datastore NFSfromSynology server 192.168.1.93 content backup fingerprint c7:04:3d:f0:1a:37:ed:10:7e:b6:d4:69:ea:60:da:a9:81:70:57:fb:63:fa:56:9b:c9:6d:ce:5e:ea:f7:8a:9d prune-backups keep-all=1 username root@pam
 
also the pool is set to 'raid1' for 'local-hdd', i guess that must be also 'local-hdd'
 
well the pool name in your zpool output is 'local-hdd' and that is the pool you want to use, no?
 
edited the /etc/pve/storage.cfg changed the following:

pool = local-hdd
mountpoint /local-hdd

System disks are back !!!

Thanks for the posts :)