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
8a55ff7d39
bug-fix for size output
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com >
2015-02-12 11:47:45 +01:00
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
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
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
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
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
9b61bc9e88
zfs: fix wait by alloc_image
...
Signed-off-by: Wolfgang Link <w.link@proxmox.com >
2015-01-30 06:24:56 +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