Ok, i think i managed to get it work, i just changed "Before" and "Wanted by" to network-online.target
root@proxmox:~# cat /etc/systemd/system/zfs-load-key.service
[Unit]
Description=Load encryption keys
DefaultDependencies=no
Before=pve-storage.target
After=network-online.target
[Service]...
My dataset is unlocked with the key placed on NFS share. I followed ARCH LINUX guide and made systemd service to load all keys on startup.
https://wiki.archlinux.org/index.php/ZFS#Unlock_at_boot_time
Unfortunately this does not work with NFS as in the moment of starting this service there is...
Well i have similar problem. My storage with ext4 already contains some container templates but i cant make my own. Its not big issue but i have such preconfigured templates on other machine and its handy to have such nonwriteable clones for making new containers
When i return to home i will get these data. But meanwhile, i just deleted my containers and recover them again from backups. And what is weird, their base volumes instead of old subvol-ID-disk-1 names have now subvol-ID-disk-0 (zero instead one at the end). I checked before recovery and im 100%...
Recently i moved from pair of 500GB to pair of 1000GB. This is how i did it.
ZFSpool - name of my old pool
ZFSpool1 - name of ma new pool
zfs snapshot ZFSpool@now
zpool create ZFSpool1 /dev/sdc /dev/sdd
zfs send ZFSpool@now | zfs receive ZFSpool1@now
in proxmox GUI i deleted storage ZFSpool...
I have NAS -> Openmediavault with transmission, gogs, nextcloud and dokuwiki. Those services and mysql (for gogs and nextcloud) are on system drive but their data directories are pointing to folders on ZFS mirrored drives.
ZFSpool/nextcloud/data
ZFSpool/googs/data
ZFSpool/transmission/downloaded...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.