[SOLVED] zfs import pool is in use directory?

killmasta93

Renowned Member
Aug 13, 2017
985
61
93
32
Hi,
I was wondering if someone else has had this is issue before, Currently i import a zfs pool called vmbaks but before on proxmox i add the directory /vmbaks/dumps
then i import the pool, the first time i did it it worked but if i export the pool and re import it i get this

Code:
root@prometheus:~# zpool import  vmbaks
cannot mount '/vmbaks': directory is not empty
cannot mount '/vmbaks/dumps': directory is not empty

Event though the directory has blank folders i wonder whats the ZFS command to import it forcefully? or to ignore it?

zpool import -F vmbaks
?
What im doing right now disable the storage dumps, then delete the folder in /vmbaks then import the pool and then enable the storage on proxmox

Thank you


needed to run zfs set overlay=on vmbaks
then import the pool again
 
Last edited: