[pve-devel] [PATCH 4/9] vm_start : attach loop devices for non rootfs mountpoint
Alexandre DERUMIER
aderumier at odiso.com
Mon Aug 17 14:44:23 CEST 2015
>>You can now create 'subvol' with normal directory storage, by passing zero size
>>with "pct create", or simply:
Ok, I'll improve my patches, because it don't work currently with subvol. (I have only tested with loop raw and block device).
It's a little bit different with subvol.
----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 17 Août 2015 11:06:53
Objet: Re: [pve-devel] [PATCH 4/9] vm_start : attach loop devices for non rootfs mountpoint
> >>I currently use $scfg->{path} to test for filesystem based storages
> >>(that also works with glusterfs).
> >>But you need to exclude volumes with format 'subvol'. See code inside
> >>PVE::LXC::update_lxc_config(
> Oh, ok. I'll fix this.
>
> (Sorry I don't have zfs on my dev server currently)
You can now create 'subvol' with normal directory storage, by passing zero size
with "pct create", or simply:
# pvesm alloc local 100 vm-100-subvol-test.subvol 0 -format subvol
this just creates a directory, so there are no disk quotas ...
More information about the pve-devel
mailing list