9280153e10
rename check_available to assert_sid_unused
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2018-10-03 14:49:14 +02:00
4dcb16c0dc
fix #1929 : only check storage if user want to create one
...
this is useful if a user wants to create similar storage on each host
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2018-10-03 14:30:22 +02:00
76c1e57be7
refactor disk/storage checks for Disk API
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2018-10-03 14:30:22 +02:00
e39e8ee213
refactor diskmanagement lock_file calls
...
so that we only have one place where we reference the lockfile
and the timeout
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2018-08-08 12:01:02 +02:00
5e35281da2
rename lvmcreate to lvmthincreate for lvm thin
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2018-08-08 07:44:14 +02:00
0ea9f3844e
add API for LVMThin management
...
like the LVM API, but return an array for the list,
because we do not have nested data here
and create a vg and thin lv with the name given and use the full size
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2018-08-02 11:29:47 +02:00