Hi I just installed proxmox(7.1-2), setup a zfs pool.
But on every boot the service zfs-import@asgard.service fails to start, but if I look in the /asgard directory everything seems fine?
I am fairly new to Proxmox, Linux and ZFS so I hope I have gathered all the logs that can be of use, if not just tell me what more could be of interest.
Starting the service after boot also fails.
So what is wrong here?
Also a minor question, when I created a VM I selected the pool as storage, but no file has been created in the pool for the VM, where are VM Disks stored when a zfs pool is selected?
Edit: the pool was created using the web ui.
But on every boot the service zfs-import@asgard.service fails to start, but if I look in the /asgard directory everything seems fine?
I am fairly new to Proxmox, Linux and ZFS so I hope I have gathered all the logs that can be of use, if not just tell me what more could be of interest.
Bash:
root@proxmox:~# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● zfs-import@asgard.service loaded failed failed Import ZFS pool asgard
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed.
Bash:
root@proxmox:~# systemctl status zfs-import@asgard.service
● zfs-import@asgard.service - Import ZFS pool asgard
Loaded: loaded (/lib/systemd/system/zfs-import@.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2021-12-13 20:26:53 CET; 9min ago
Docs: man:zpool(8)
Process: 1112 ExecStart=/sbin/zpool import -N -d /dev/disk/by-id -o cachefile=none asgard (code=exited, status=1/FAILURE)
Main PID: 1112 (code=exited, status=1/FAILURE)
CPU: 11ms
Bash:
root@proxmox:~# journalctl -u zfs-import@asgard.service
-- Journal begins at Fri 2021-12-10 19:04:34 CET, ends at Mon 2021-12-13 20:27:21 CET. --
Dec 12 18:29:29 proxmox systemd[1]: Starting Import ZFS pool asgard...
Dec 12 18:29:29 proxmox zpool[1112]: cannot import 'asgard': no such pool available
Dec 12 18:29:29 proxmox systemd[1]: zfs-import@asgard.service: Main process exited, code=exited, status=1/FAILURE
Dec 12 18:29:29 proxmox systemd[1]: zfs-import@asgard.service: Failed with result 'exit-code'.
Dec 12 18:29:29 proxmox systemd[1]: Failed to start Import ZFS pool asgard.
Bash:
root@proxmox:~# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
asgard 18.2T 1.59G 18.2T - - 0% 0% 1.00x ONLINE -
Bash:
root@proxmox:~# zpool status
pool: asgard
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
asgard ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
ata-TOSHIBA_HDWG440_9190A00KFZ0G ONLINE 0 0 0
ata-TOSHIBA_HDWG440_9190A00EFZ0G ONLINE 0 0 0
ata-TOSHIBA_HDWG440_91U0A06JFZ0G ONLINE 0 0 0
ata-TOSHIBA_HDWG440_X180A08DFZ0G ONLINE 0 0 0
ata-TOSHIBA_HDWG440_9170A007FZ0G ONLINE 0 0 0
errors: No known data errors
Starting the service after boot also fails.
So what is wrong here?
Also a minor question, when I created a VM I selected the pool as storage, but no file has been created in the pool for the VM, where are VM Disks stored when a zfs pool is selected?
Edit: the pool was created using the web ui.
Last edited: