401b56fc54
fix #1912 : find the partition instead of guessing it
...
instead of using '$dev1' as partition,
get the information from /sys/block/$dev
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2018-09-14 11:24:42 +02:00
4d12dbffc4
add return description for zfs detail api call
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2018-08-08 12:01:54 +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
7058abe29e
add 'single' raidlevel for zfs
...
the syntax for creating a pool with a single disk is
not the same as for mirror, so let the user select it
explicitely
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2018-08-08 12:00:18 +02:00
38572a8f56
rename raidlvl to raidlevel
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2018-08-08 11:56:35 +02:00
fdc863c705
fix descriptions of api calls
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2018-08-08 11:56:17 +02:00
7d597888a4
cleanup descriptions
2018-08-08 08:22:27 +02:00
5be1a092d6
fix schema - 'string-list' is a format, not a type
2018-08-08 08:21:06 +02:00
c84106edc9
add API for ZFS management
...
a list, a detail and a create api call
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2018-08-08 08:02:14 +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
fd87487b3a
fix typo
2018-08-02 12:44:30 +02:00
793d720cd2
add API for add Directory storage
...
creates/lists systemd mount units for /mnt/pve/.*
filetypes allowed are ext4 and xfs for now
mount with /dev/disk/by-uuid
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2018-08-02 12:28:27 +02:00
fc1880566c
cleanup: do not convert exceptions to strings.
2018-08-02 11:39:35 +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
8b6842caa2
add API for LVM management
...
currently only list and create,
the list is in a format so that we can use it in an extjs tree
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2018-08-02 10:38:27 +02:00