02c33525df
bump version to 3.0-29
2015-02-09 12:28:15 +01:00
86d472394a
zfs: auto import after reboot
...
this is necessary, because after a reboot all pools except rpool are gone
Signed-off-by: Wolfgang Link <w.link@proxmox.com >
2015-02-09 12:26:28 +01:00
90a11abe78
ZfsPoolPlugin: fix add disks
...
now it is possible add disk to an vm on rpool
Signed-off-by: Wolfgang Link <w.link@proxmox.com >
2015-02-09 12:09:43 +01:00
8870a5f0f9
bump version to 3.0-28
2015-01-30 06:27:26 +01:00
9b61bc9e88
zfs: fix wait by alloc_image
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com >
2015-01-30 06:24:56 +01:00
584d97f646
implement zfsscan to list local zfs pools
2015-01-26 09:05:09 +01:00
0a3d992f72
move activate_storage into ZFSPoolPlugin
2015-01-24 14:30:10 +01:00
85fda4dd7f
rename ZFSDirPlugin to ZFSPoolPlugin
...
Turned out it makes no sense to duplicated DirPlugin features. So I
also changed the name to make it less confusing. So we can only
create zvols inside a zfs pool with this plugin.
2015-01-24 14:17:55 +01:00
6ab6e0a260
bump version to 3.0-27
2015-01-23 13:02:31 +01:00
0a71b39457
zfs: remove useless warning inside clone_image
2015-01-23 12:57:38 +01:00
d3a282e83e
zfs: move and refactor code
...
copy and modify create_base and refactor clone_image
Signed-off-by: Wolfgang Link <w.link@proxmox.com >
2015-01-23 12:57:38 +01:00
2fc59177c9
zfs: implement zfs_get_latest_snapshot
...
To improve code sharing.
2015-01-23 12:57:38 +01:00
2b40ffaea9
zfs: move code fix metode call
...
duplicate code because can't refactor volume_snapshot_rollback
Signed-off-by: Wolfgang Link <w.link@proxmox.com >
2015-01-23 12:57:38 +01:00
d4c63dc147
zfs: move code
...
move activate_volume deactivate_volume from ZFSPlugin to ZFSDirPlugin
Signed-off-by: Wolfgang Link <w.link@proxmox.com >
2015-01-23 12:57:38 +01:00
f3e632d073
zfs: ZFSDirPlugin add methode path
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com >
2015-01-23 12:57:38 +01:00
ca04180f3b
zfs: move methode list_image
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com >
2015-01-23 12:57:38 +01:00
e9565df58e
zfsdir: implement free_image
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com >
2015-01-23 12:57:38 +01:00
cc80ed9c00
zfs: move code
...
move parse_volume from ZFSPlugin to ZFSDirPlugin, to avoid duplication
Signed-off-by: Wolfgang Link <w.link@proxmox.com >
2015-01-23 12:57:38 +01:00
b3ba95e493
zfs: move some code
...
move the most part of alloc_image to ZFSDirPlugin
Signed-off-by: Wolfgang Link <w.link@proxmox.com >
2015-01-23 12:57:28 +01:00
52f8fb7191
zfs: remove duplicate $object definition
2015-01-22 10:22:54 +01:00
b5e5f7e3a8
zfs: move common code to ZFSDirPlugin
2015-01-22 10:10:35 +01:00
6b5bca68e6
zfs: white space cleanups
2015-01-22 09:45:32 +01:00
34eaae3f8d
zfs: cleanup zfs_get_lu_name
2015-01-22 09:40:22 +01:00
e8004c9cb7
zfs: cleanup zfs_request
2015-01-22 09:37:52 +01:00
7730694e54
zfs: make zfs_request a virtual method
...
So that we can move common code into ZFSDirPlugin class.
2015-01-22 09:29:13 +01:00
060ef890eb
zfsdir: cleanup zfs_parse_size
2015-01-22 07:58:42 +01:00
5bb8e01076
ZFSDirPlugin: new plugin for local zfs storage
...
We also want to use this as base class for ZFSPlugin, to increase
code sharing.
2015-01-22 07:54:10 +01:00
0a42c9db92
bump version to 3.0-26
2014-11-21 08:04:12 +01:00
3fad260379
rbd, zfs, sheepdog: bugfix : fix alloc_image if name is specified
...
Currently vmstate snapshot with rbd have wrong name,
because rbd alloc_image don't care if $name is provided
Signed-off-by: Alexandre Derumier <aderumier@odiso.com >
2014-11-21 08:03:08 +01:00
e3c51a6c38
bump version to 3.0-25
2014-10-25 09:47:39 +02:00
b200cefd06
fix modification of read only bug
...
Signed-off-by: Michael Rasmussen <mir@datanom.net >
2014-10-25 09:46:28 +02:00
8c75f56d21
bump version to 3.0-24
2014-10-17 09:30:47 +02:00
187ca53927
Add transport option for glusterfs storage
...
Signed-off-by: Stoyan Marinov <stoyan@marinov.us >
2014-10-17 09:29:18 +02:00
705a40e67a
bump version to 3.0-23
2014-09-10 14:18:42 +02:00
e384c898d3
allow iso upload for glusterfs
2014-09-10 14:15:11 +02:00
9761664972
bump version to 3.0-22
2014-08-27 11:31:42 +02:00
a66159e356
glusterfs: new option server2 to specify backup volfile server
2014-08-27 11:29:36 +02:00
475d595513
bump version to 3.0-21
2014-07-17 08:59:55 +02:00
44c3689afc
RBD: enable clone of snaps
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag >
2014-07-17 08:04:12 +02:00
f90a0a20e7
rbd: unprotect snapshots before deletion
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag >
2014-07-17 08:00:34 +02:00
7bbc40045a
pass snapname to vdisk_clone and plugin clone_image
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag >
2014-07-17 07:59:49 +02:00
63da6d7983
cleanups
2014-07-17 07:59:13 +02:00
f236eaf80e
Storage Plugins: extend clone_image by snap parameter and add support to RBDPlugin
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag >
2014-07-17 07:54:36 +02:00
2362bc8798
fix ' escaping of $snap parameter
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag >
2014-07-17 07:38:43 +02:00
c97c5b3b0b
coding style cleanup
2014-07-17 07:37:23 +02:00
c693f74953
ceph/rbd: has a pretty strange error handling - install custom run_command function
...
Always use a custom error sub to get the real errors out of rbd command instead of the typical:
2014-02-06 11:20:20.187190 7f3b6c37c760 -1 librbd: removing snapshot from header failed: (16) Device or resource busy
before:
rbd: snapshot 'abc' is protected from removal.
TASK ERROR: rbd snapshot vm-173-disk-1' error: 2014-02-06 11:06:02.438336 7f6f4ac92760 -1 librbd: removing snapshot from header failed: (16) Device or resource busy
now:
TASK ERROR: rbd: snapshot 'abc' is protected from removal.
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag >
2014-07-17 07:26:09 +02:00
90e3ff4825
bump version to 3.0-20
2014-06-25 09:17:20 +02:00
a315b9ff56
Added code to abort a snapshot rollback in ZFS if the snapshot selected is not the most recent. This is to avoid lu deletion when trying to rollback to a snapshot that isn't the newest.
...
Signed-off-by: Chris Allen <Chris Allen>
2014-06-25 09:14:03 +02:00
454c15e270
Added target-group and host-group options for ZFS comstar views. Use "comstar_tg" and "comstar_hg" in "/etc/pve/storage.pm".
...
Signed-off-by: Chris Allen <Chris Allen>
2014-06-25 09:13:54 +02:00
551534a3bc
Fixed Istgt LUN Options handling.
...
Signed-off-by: Chris Allen <Chris Allen>
2014-06-25 09:13:45 +02:00