Hello,
I just bought some new disks and though it would be a good time to try out ZFS. I have been explained by some people that first
you create a zpool and then on top of that you create a filesystem data-set, after which you can store you files on the mounted
location. I added my zfs filesystem as a storage pool within Proxmox and then as a test I created testvm with a 100G hard disk.
Then I went to look for the raw image file under the location I have my filesystem data-set mounted. But I don't see any raw images
created for the hard disk. However I do see the following:
So it seems Proxmox creates a blockdevice that it uses for a virtual hard disk. Currently I have two raw images files which I have stored under a
local filesystem location and then location is used as a storage pool in Proxmox. I was hoping just to copy them over to my new zfs filesystem
mountpoint and then just to have to adjust my vm to look at the right Proxmox storage pool, Is that possible? Or is creating new blockdevices(/dev/zmedia/zimages) the
normal way Proxmox deals with zfs storage pools and that I will either have to copy the files within my vm or dd the raw images files to newly created zdX block devices? I'm still new to zfs, so I only have a basic understanding of how it works, maybe I am missing something?
I just bought some new disks and though it would be a good time to try out ZFS. I have been explained by some people that first
you create a zpool and then on top of that you create a filesystem data-set, after which you can store you files on the mounted
location. I added my zfs filesystem as a storage pool within Proxmox and then as a test I created testvm with a 100G hard disk.
Then I went to look for the raw image file under the location I have my filesystem data-set mounted. But I don't see any raw images
created for the hard disk. However I do see the following:
Code:
zd0 230:0 0 100G 0 disk
~# ls -l /dev/zmedia/zimages
total 0 lrwxrwxrwx 1 root root 9 Jun 25 08:22 vm-108-disk-0 -> ../../zd0
vm-108-disk-0
local filesystem location and then location is used as a storage pool in Proxmox. I was hoping just to copy them over to my new zfs filesystem
mountpoint and then just to have to adjust my vm to look at the right Proxmox storage pool, Is that possible? Or is creating new blockdevices(/dev/zmedia/zimages) the
normal way Proxmox deals with zfs storage pools and that I will either have to copy the files within my vm or dd the raw images files to newly created zdX block devices? I'm still new to zfs, so I only have a basic understanding of how it works, maybe I am missing something?
Last edited: