Dietmar Maurer
509d787eef
bump version to 3.0-35
2016-06-09 18:08:53 +02:00
Wolfgang Bumiller
85f1c7914f
Dir storage creation: check for a sane path
...
Ideally we don't need this, but this with the directory
storage this is a user-input field which gets returned
by the storage's path() method which is used in various
external command calls.
2016-06-09 18:06:54 +02:00
Wolfgang Bumiller
57edcabdad
split udevam command call
2016-06-09 18:06:39 +02:00
Wolfgang Bumiller
eecfae6b51
upload: whitelist filename chars instead of blacklisting
2016-06-09 18:06:20 +02:00
Dietmar Maurer
1b76e4d6eb
bump version to 3.0-34
2015-11-18 11:04:48 +01:00
Phillip Schichtel
93a5039843
Fixed ZFS over iSCSI snapshot rollback
...
I converted several zfs_request($class, ...) calls to $class->zfs_request(...) calls in ZFSPoolPlugin.pm and removed a superfluous $class parameter in ZFSPlugin.pm.
Fixes #816
Signed-off-by: Phillip Schichtel <phillip.public@schich.tel>
2015-11-18 11:03:46 +01:00
Dietmar Maurer
626d300f34
ZFSPoolPlugin: allow nested datasets
2015-04-30 06:50:59 +02:00
Dietmar Maurer
a66d02e674
bump version to 3.0-33
2015-04-27 10:15:53 +02:00
Dietmar Maurer
626da4ffd4
whitespace cleanups
2015-04-27 10:09:18 +02:00
Wolfgang Link
7eccaed5fb
implement offline migration on zfs
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2015-04-27 10:02:11 +02:00
Dietmar Maurer
c262656e2d
bump version to 3.0-32
2015-03-06 09:50:09 +01:00
Wolfgang Link
4405ecf28a
fix bug #602 : now zfs will wait 5 sec if error msg is "dataset is busy"
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2015-03-06 09:48:14 +01:00
Dietmar Maurer
0bbd354a44
depend on cstream
...
Because it is used by new LVM saferemove_throughput option.
2015-03-06 08:35:54 +01:00
Pawel Boguslawski
15dca6b0d8
Fixed LV cleaning function. saferemove_throughput parameter added.
...
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
2015-03-06 08:34:34 +01:00
Alexandre Derumier
d8a93d72fe
rbd: monhost string : escape only ":" character
...
we need to escape ":" used to defined mon ports
"10.5.0.11:6789; 10.5.0.12:6789; 10.5.0.13:6789"
->
"10.5.0.11\:6789; 10.5.0.12\:6789; 10.5.0.13\:6789"
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-03-05 13:59:35 +01:00
Dietmar Maurer
42ed78dab1
bump version to 3.0-31
2015-02-16 11:36:47 +01:00
Wolfgang Link
82e08809fd
change var name to prevent side effects.
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2015-02-16 11:35:13 +01:00
Wolfgang Link
4eff810db8
Bug-fix alloc_image in ZFSPlugin.pm
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2015-02-16 11:31:28 +01:00
Dietmar Maurer
114c48a4ac
bump version to 3.0-30
2015-02-12 11:47:45 +01:00
Wolfgang Link
8a55ff7d39
bug-fix for size output
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2015-02-12 11:47:45 +01:00
Dietmar Maurer
76fd7dc7c2
ZFSPoolPlugin: use udevadm settle with --exit-if-exists
...
And silently ignore error if that command fails.
2015-02-12 11:47:45 +01:00
Dietmar Maurer
f824c72250
cleanup error messages
2015-02-12 09:40:17 +01:00
Dietmar Maurer
b3f302c638
call volume_rollback_is_possible from PVE::Storage::volume_snapshot_rollback
...
That way it is automatically called for all plungins.
2015-02-12 09:28:52 +01:00
Wolfgang Link
1597f1f9ad
Storage: add method volume_rollback_is_possible
...
add method volume_rollback_is_possible and redactor
Improve error handling
If snapshot is not reversible catch it before vm will lock and shutdown.
This is the case if zfs has an younger snapshot.
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2015-02-12 09:15:02 +01:00
Wolfgang Link
a4034b9f19
zfspoolplugin: fix volume_resize
...
copy methode volume_resize form ZFSPlugin.pm to ZFSPoolPlugin.pm
refactor volume_resize
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2015-02-10 12:48:34 +01:00
Dietmar Maurer
02c33525df
bump version to 3.0-29
2015-02-09 12:28:15 +01:00
Wolfgang Link
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
Wolfgang Link
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
Dietmar Maurer
8870a5f0f9
bump version to 3.0-28
2015-01-30 06:27:26 +01:00
Wolfgang Link
9b61bc9e88
zfs: fix wait by alloc_image
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2015-01-30 06:24:56 +01:00
Dietmar Maurer
584d97f646
implement zfsscan to list local zfs pools
2015-01-26 09:05:09 +01:00
Dietmar Maurer
0a3d992f72
move activate_storage into ZFSPoolPlugin
2015-01-24 14:30:10 +01:00
Dietmar Maurer
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
Dietmar Maurer
6ab6e0a260
bump version to 3.0-27
2015-01-23 13:02:31 +01:00
Dietmar Maurer
0a71b39457
zfs: remove useless warning inside clone_image
2015-01-23 12:57:38 +01:00
Wolfgang Link
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
Dietmar Maurer
2fc59177c9
zfs: implement zfs_get_latest_snapshot
...
To improve code sharing.
2015-01-23 12:57:38 +01:00
Wolfgang Link
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
Wolfgang Link
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
Wolfgang Link
f3e632d073
zfs: ZFSDirPlugin add methode path
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2015-01-23 12:57:38 +01:00
Wolfgang Link
ca04180f3b
zfs: move methode list_image
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2015-01-23 12:57:38 +01:00
Wolfgang Link
e9565df58e
zfsdir: implement free_image
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2015-01-23 12:57:38 +01:00
Wolfgang Link
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
Wolfgang Link
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
Dietmar Maurer
52f8fb7191
zfs: remove duplicate $object definition
2015-01-22 10:22:54 +01:00
Dietmar Maurer
b5e5f7e3a8
zfs: move common code to ZFSDirPlugin
2015-01-22 10:10:35 +01:00
Dietmar Maurer
6b5bca68e6
zfs: white space cleanups
2015-01-22 09:45:32 +01:00
Dietmar Maurer
34eaae3f8d
zfs: cleanup zfs_get_lu_name
2015-01-22 09:40:22 +01:00
Dietmar Maurer
e8004c9cb7
zfs: cleanup zfs_request
2015-01-22 09:37:52 +01:00
Dietmar Maurer
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