]>
git.proxmox.com Git - pve-storage.git/log
Alexandre Derumier [Thu, 14 Feb 2013 16:27:34 +0000 (17:27 +0100)]
nexenta : has_feature : copy
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 14 Feb 2013 16:27:33 +0000 (17:27 +0100)]
sheppdog : has_feature : copy
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 14 Feb 2013 16:27:32 +0000 (17:27 +0100)]
rbd : has_feature : copy
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 14 Feb 2013 16:27:31 +0000 (17:27 +0100)]
plugin : has_feature : copy
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Thu, 14 Feb 2013 10:13:31 +0000 (11:13 +0100)]
bump version to 2.3-3
Alexandre Derumier [Thu, 14 Feb 2013 10:05:11 +0000 (11:05 +0100)]
nexenta : has_feature : clone base
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 14 Feb 2013 10:05:10 +0000 (11:05 +0100)]
sheepdog : has_feature : clone base
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 14 Feb 2013 10:05:09 +0000 (11:05 +0100)]
rbd : has_feature : clone from base
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 14 Feb 2013 10:05:08 +0000 (11:05 +0100)]
plugin : has_feature : clone from base + fix
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:56:11 +0000 (12:56 +0100)]
nexenta : volume_snapshot_delete : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:56:10 +0000 (12:56 +0100)]
nexenta : volume_snapshot_rollback : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:56:09 +0000 (12:56 +0100)]
nexenta : volume_snapshot : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:56:08 +0000 (12:56 +0100)]
nexenta : volume_resize : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:56:07 +0000 (12:56 +0100)]
nexenta : volume_size_info : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:56:06 +0000 (12:56 +0100)]
nexenta : free_image
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:56:04 +0000 (12:56 +0100)]
nexenta : list_images
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:56:03 +0000 (12:56 +0100)]
nexenta : clone_image
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:56:02 +0000 (12:56 +0100)]
nexenta : create_base
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:56:01 +0000 (12:56 +0100)]
nexenta : find_free_diskname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:56:00 +0000 (12:56 +0100)]
nexenta : nexenta_list_zvol : parse base volumes
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:59 +0000 (12:55 +0100)]
nexenta : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:58 +0000 (12:55 +0100)]
sheepdog : volume_snapshot_delete : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:57 +0000 (12:55 +0100)]
sheepdog : volume_snapshot_rollback : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:56 +0000 (12:55 +0100)]
sheepdog : volume_snapshot : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:55 +0000 (12:55 +0100)]
sheepdog : volume_resize : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:54 +0000 (12:55 +0100)]
sheepdog : volume_size_info: parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:53 +0000 (12:55 +0100)]
sheepdog : list_images
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:52 +0000 (12:55 +0100)]
sheepdog : free_image : parse volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:50 +0000 (12:55 +0100)]
sheepdog : clone_image
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:49 +0000 (12:55 +0100)]
sheepdog : create_base
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:48 +0000 (12:55 +0100)]
sheepdog : find_free_diskname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:47 +0000 (12:55 +0100)]
sheepdog : sheepdog_snapshot_ls : fix
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:46 +0000 (12:55 +0100)]
sheepdog : sheepdog_ls : parse base volumes
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:45 +0000 (12:55 +0100)]
sheepdog : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:41 +0000 (12:55 +0100)]
rbd : volume_snapshot_delete : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:40 +0000 (12:55 +0100)]
rbd : volume_snapshot_rollback : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:39 +0000 (12:55 +0100)]
rbd : volume_snapshot : parse volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:38 +0000 (12:55 +0100)]
rbd: volume_resize : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:37 +0000 (12:55 +0100)]
rbd: volume_size_info : parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:36 +0000 (12:55 +0100)]
rbd : free_image : unprotect snapshot is base
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:35 +0000 (12:55 +0100)]
rbd: fix: move find_free_diskname + fix trailing whitespace
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:34 +0000 (12:55 +0100)]
rbd : clone_image
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:33 +0000 (12:55 +0100)]
rbd : create_base
- rename volume
- take snapshot '__base__'
- protect the snapshot
Fix: the volume_snapshot sub need a $running parameter,
to known if it need to use rbd command or qmp command to take the snapshot.
for now, I pass undef, as it should be always offline.
(But we need to verify somewhere that vm is not running,
because take a snapshot with rbd command on a running vm can break it.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:32 +0000 (12:55 +0100)]
rbd : find_free_diskname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:30 +0000 (12:55 +0100)]
rbd : rbd_ls : parse base
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 5 Feb 2013 11:55:29 +0000 (12:55 +0100)]
rbd : parse_volname : parse base
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Thu, 14 Feb 2013 07:41:15 +0000 (08:41 +0100)]
vmid is integer an can be 0, so we need to use defined() to check if it is set
Note: The plan is to use vmid 0 to mark shared volumes.
Alexandre Derumier [Tue, 5 Feb 2013 11:55:28 +0000 (12:55 +0100)]
storage : vdisk_free : eval parse_volname
If the storage have some customs volumes name, vdisk_free will hang
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Thu, 14 Feb 2013 06:58:57 +0000 (07:58 +0100)]
depend on libfile-chdir-perl
Dietmar Maurer [Thu, 14 Feb 2013 05:53:48 +0000 (06:53 +0100)]
use File::chdir instead of Cwd
To avoid errors in taint mode.
Dietmar Maurer [Fri, 1 Feb 2013 05:55:39 +0000 (06:55 +0100)]
check base image use count inside vdisk_free
To make it work with all storage types.
Dietmar Maurer [Thu, 31 Jan 2013 10:52:31 +0000 (11:52 +0100)]
use chattr to set immutable flag on base images
Dietmar Maurer [Thu, 31 Jan 2013 10:36:49 +0000 (11:36 +0100)]
free_image: correctly check if base volume is not used
moved parse_volume_id to PVE::Storage::Plugin::parse_volume_id
Dietmar Maurer [Thu, 31 Jan 2013 07:47:27 +0000 (08:47 +0100)]
return the volid, not the storage path
Dietmar Maurer [Thu, 31 Jan 2013 07:42:26 +0000 (08:42 +0100)]
new method volume_is_base() to check if volume is a base volume
Dietmar Maurer [Thu, 31 Jan 2013 07:14:55 +0000 (08:14 +0100)]
fix path_to_volume_id to work with base volumes and clones
Dietmar Maurer [Thu, 31 Jan 2013 06:47:02 +0000 (07:47 +0100)]
add stubs for create_base and cone_image
Dietmar Maurer [Wed, 30 Jan 2013 11:55:37 +0000 (12:55 +0100)]
implement vdisk_clone and vdisk_create_base
This is an iplementation for file base storage types.
changes compared to patches from Alexandre:
* use correct locking
* private find_free_diskname() with bug fixes
* changed names of new methods
* always refer to base volumes in volume names
Example volume names:
local:6000/base-6000-disk-9.raw
local:6000/base-6000-disk-9.raw/7000/vm-7000-disk-9.qcow2
local:6000/base-6000-disk-9.raw/7000/base-7000-disk-10.qcow2
Stefan Priebe [Mon, 21 Jan 2013 14:27:08 +0000 (15:27 +0100)]
RBDPlugin: introduce rbd_unittobytes / rbd tends to be human readable
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Dietmar Maurer [Thu, 3 Jan 2013 10:46:27 +0000 (11:46 +0100)]
bump version to 2.3-2
Alexandre Derumier [Thu, 3 Jan 2013 08:57:54 +0000 (09:57 +0100)]
create rbd volume with format v2
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 3 Jan 2013 08:57:53 +0000 (09:57 +0100)]
rbd: use rbd ls -l
avoid to call rbd info for each volume
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 27 Dec 2012 15:07:20 +0000 (16:07 +0100)]
iscsidirect : has_feature
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 27 Dec 2012 15:07:19 +0000 (16:07 +0100)]
iscsi : has_feature
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 27 Dec 2012 15:07:18 +0000 (16:07 +0100)]
lvm: has_feature
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 27 Dec 2012 15:07:17 +0000 (16:07 +0100)]
nexenta: has_feature
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 27 Dec 2012 15:07:16 +0000 (16:07 +0100)]
sheepdog : has_feature
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 27 Dec 2012 15:07:15 +0000 (16:07 +0100)]
rbd : has_feature
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 27 Dec 2012 15:07:14 +0000 (16:07 +0100)]
plugin : has_feature
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 27 Dec 2012 15:07:13 +0000 (16:07 +0100)]
storage : has_feature
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Mon, 17 Dec 2012 10:50:22 +0000 (11:50 +0100)]
fix typo
Dietmar Maurer [Thu, 13 Dec 2012 11:51:52 +0000 (12:51 +0100)]
also list vma backup archives
bump version to 2.3-1
Alexandre Derumier [Wed, 12 Dec 2012 12:02:33 +0000 (13:02 +0100)]
sheepdog : fix volume_size_info && parentid check
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Wed, 21 Nov 2012 17:11:34 +0000 (18:11 +0100)]
sheepdog : retrieve parent of a clone
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Wed, 21 Nov 2012 17:11:33 +0000 (18:11 +0100)]
rbd: retrieve parent of a clone
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Wed, 21 Nov 2012 17:11:32 +0000 (18:11 +0100)]
nexenta: retrieve parent of a clone
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Wed, 21 Nov 2012 17:11:31 +0000 (18:11 +0100)]
files: retrieve parent of a clone
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Fri, 2 Nov 2012 07:52:50 +0000 (08:52 +0100)]
remove timeouts from 'qemu-img snapshot' commands.
Those commands can take several minutes on larger files.
Dietmar Maurer [Wed, 31 Oct 2012 13:08:20 +0000 (14:08 +0100)]
bump version to 2.0-35
Alexandre Derumier [Wed, 31 Oct 2012 11:28:37 +0000 (12:28 +0100)]
sheepdog : delete snapshots when deleting volume
sheepdog don't delete snapshots automatically when deleting volume
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Wed, 31 Oct 2012 10:24:53 +0000 (11:24 +0100)]
rbd: purge snapshots before delete volume
we can't delete a rbd volume if snapshots exist
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Stefan Priebe [Wed, 31 Oct 2012 11:16:56 +0000 (12:16 +0100)]
PVE/API2/Storage/Status: remove hardcoded blowfish cipher PVE/Storage: remove hardcoded blowfish cipher
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Dietmar Maurer [Mon, 22 Oct 2012 10:30:20 +0000 (12:30 +0200)]
bump version to 2.0-34
Alexandre Derumier [Tue, 16 Oct 2012 14:38:13 +0000 (16:38 +0200)]
rbd: get volume size for volumes list
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 16 Oct 2012 14:08:25 +0000 (16:08 +0200)]
rbd: add storage space stats
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Tue, 2 Oct 2012 11:35:10 +0000 (13:35 +0200)]
create 'dump' directory if storage contains containers
This is needed by openvz migrate to store state.
Dietmar Maurer [Tue, 25 Sep 2012 04:02:43 +0000 (06:02 +0200)]
bump version to 2.0-32
Dietmar Maurer [Thu, 20 Sep 2012 05:18:59 +0000 (07:18 +0200)]
code cleanup
Alexandre Derumier [Wed, 19 Sep 2012 10:20:21 +0000 (12:20 +0200)]
qcow2 : preallocate metadatas at file creation
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Wed, 19 Sep 2012 06:55:23 +0000 (08:55 +0200)]
use longer timeouts for snapshot commands
Dietmar Maurer [Wed, 19 Sep 2012 06:39:25 +0000 (08:39 +0200)]
nexenta: implement status
Dietmar Maurer [Wed, 19 Sep 2012 06:16:58 +0000 (08:16 +0200)]
nexenta: use import_lu on rollback
To avoid generation of new GUID.
Dietmar Maurer [Wed, 19 Sep 2012 05:38:40 +0000 (07:38 +0200)]
nexenta: fix parse_volname
And some coding style cleanups.
Dietmar Maurer [Mon, 17 Sep 2012 08:32:09 +0000 (10:32 +0200)]
nexenta: recursively delete all snapshots on vdisk_free
Dietmar Maurer [Mon, 17 Sep 2012 08:26:21 +0000 (10:26 +0200)]
nexenta: fix parameter for create_snapshot
Dietmar Maurer [Mon, 17 Sep 2012 08:12:36 +0000 (10:12 +0200)]
nexenta API cleanups
remove all uncommented sleep calls (will add them later if required). Use
new nexenta_request() syntax. Also removed strangs eval{} sections which
hide errors.
Dietmar Maurer [Mon, 17 Sep 2012 05:58:20 +0000 (07:58 +0200)]
nexenta: correctly get volsize (needs extra API call)
Dietmar Maurer [Fri, 7 Sep 2012 10:59:26 +0000 (12:59 +0200)]
fix typo
Alexandre Derumier [Thu, 6 Sep 2012 08:28:11 +0000 (10:28 +0200)]
iscsidirect : add volume_snapshot_delete
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 6 Sep 2012 08:28:10 +0000 (10:28 +0200)]
lvm: add volume_snapshot_delete
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>