[PVE-User] ZFS: Limited usages ?

Petric Frank pfrank at gmx.de
Sun Apr 29 00:50:40 CEST 2018


Hello,

Am Samstag, 28. April 2018, 22:51:43 CEST schrieb Christian Kivalo:
> On 2018-04-28 17:52, Petric Frank wrote:
> > Hello,
> > 
> > Am Samstag, 28. April 2018, 07:14:25 CEST schrieb Christian Kivalo:
> >> On April 27, 2018 11:30:09 PM GMT+02:00, Petric Frank <pfrank at gmx.de>
> >> 
> >> wrote:
> >> >> > running PVE GUI 5.1-51
> >> >> > 
> >> >> > I've mounted a ZFS storage (Datacenter -> Storage).
> >> >> > 
> >> >> > Is there a reason why the GUI allows to select Disk Image and
> >> >
> >> >Container
> >> >
> >> >> > only ?
> >> >> > 
> >> >> > No Backup, ...
> >> >> > 
> >> >> > In my means ZFS is a file system like for example ext4.
> >> >> 
> >> >> you can create a dataset ("zfs create ...") and then configure it as
> >> >> directory storage with appropriate content types if you want to
> >> >
> >> >backup
> >> >
> >> >> to a ZFS dataset.
> >> >
> >> >The mounted ZFS volumes are datasets. Created by zfs create
> >> ><Pool>/<Dataset>.
> >> >The current type is filesystem.
> >> >
> >> >I'm not an expert in ZFS - how to set a content type on a dataset ?
> >> 
> >> In proxmox go to Datacenter -> Storage, select your storage and click
> >> on
> >> Edit and there you can select to content types for this storage.
> > 
> > Here i am presented with a list which contains "Disk Images" and
> > "Container"
> > only !
> > No other selections were possible because they are not listed. "ISO
> > image",
> > "Container Template" and "VZDump backup file" are NOT in the drop down
> > list.
> > 
> > Does this limitation have a the reason - either intentional or a bug ?
> 
> See https://pve.proxmox.com/wiki/Storage and the links to the storage
> types at the end of that site.
> 
> On a ZFS storage proxmox creates ZVOLs to storage VM disk data, it's not
> used as file based storage and thus is not suitable as a backup target.
> To use a ZFS filesystem as backup target you need to create "Directory"
> type storage in proxmox which points to a directory on your ZFS
> filesystem. For this storage type you can select the content type
> "backup".

That is the info i missed. Understood.

I've selected zfs when defining it in the GUI because of the underlying file 
system. The side effects of this decision was not known to me.

Thanks for your explanation.

regards






More information about the pve-user mailing list