It's not rounded, i get an error saying i have to match the block size Il ven 5 mar 2021, 17:55 Thomas Lamprecht <t.lampre...@proxmox.com> ha scritto:
> On 05.03.21 17:25, Gandalf Corvotempesta wrote: > > Ciao, > > i'm almost done in creating a script to directly import a XenServer VM > > storage to Proxmox (without exporting the XVA file, decompress, > > convert and so on). > > > > I just need to know how to create ad attach a ZFS volume to an > > existing PVE VM, in bytes. > > In example, my source disk is 4311744512 how can I create the same > > exact zfs pool ? > > > > "qm set" only allow a GB size and 4311744512/1024/1024/1024 result in > > a 4GB image that is too small > > You can pass a floating point number, i.e., in this case: > 4311744512/1024/1024/1024 == 4.015625 > > The image will then be rounded up with the target storage blocksize, if > it does not matches it exact. > > hope that helps! > > Thomas > > _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel