[pve-devel] students training question : local storage defined in /etc/pve/storage.cfg, is it the right place ?

Dietmar Maurer dietmar at proxmox.com
Fri Jun 10 08:09:41 CEST 2016



> for example, how can you define a storage name "local" with zfs on node1, and
> another storage "local" with lvm-thin on node2 ?

Yes, you cannot do that, because that would be extremely confusing...
 
> or if you want to define a local storage on node1, you need to define it in
> datacenter then restrict it to node1.

Why is that a problem?
 
> also, if you are on gui on node1, and want to define a zfs storage on node3,
> you can't because you can parse zfs vols of node3 from node1.

Sorry - I don't understand that. Can you try to explain?
 
> Couldn't it better to define local storage in
> 
> /et/pve/nodes/xxxx/storage.fg
> 
> 
> and shared storages in
> 
> /et/pve/storage.cfg

This would change fundamental assumption, and would make whole code base much
more complex.
IMHO the storage model is one of the big advantages of proxmox, so it makes no 
sense to abort that.




More information about the pve-devel mailing list