[pve-devel] use our own format for LXC containers

Alexandre DERUMIER aderumier at odiso.com
Fri Aug 7 09:20:21 CEST 2015


>>In future, we can now also add additional mount entries like:
>>
>>rootfs: local:101/subvol-101-disk-1.raw,size=4
>>mount0: faststore:101/subvol-101-disk-1.raw,size=1,mp=/mnt/faststore
>>mount1: slowbigstore:101/subvol-101-disk-1.raw,size=1024,mp=/mnt/slowbigstore



I wonder if we could use something generic like

hdd0: local:101/subvol-101-disk-1.raw,size=4,mp=/
hdd1: faststore:101/subvol-101-disk-1.raw,size=1,mp=/mnt/faststore
hdd2: slowbigstore:101/subvol-101-disk-1.raw,size=1024,mp=/mnt/slowbigstore


?


----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Jeudi 6 Août 2015 16:59:00
Objet: Re: [pve-devel] use our own format for LXC containers

> In future, I want to implement 'subvol' for normal directories (maps to 
> simple subdirectories). 
> 
> So that we can remove those get_private_dir hacks... 

In future, we can now also add additional mount entries like: 

rootfs: local:101/subvol-101-disk-1.raw,size=4 
mount0: faststore:101/subvol-101-disk-1.raw,size=1,mp=/mnt/faststore 
mount1: slowbigstore:101/subvol-101-disk-1.raw,size=1024,mp=/mnt/slowbigstore 

I assume that is what you requested recently? 



More information about the pve-devel mailing list