]>
git.proxmox.com Git - pve-storage.git/log
Dietmar Maurer [Mon, 4 Apr 2016 06:50:12 +0000 (08:50 +0200)]
fix zfs tests: isBase is a boolean flag
Wolfgang Link [Thu, 31 Mar 2016 07:10:23 +0000 (09:10 +0200)]
Add Tests for ZFSPoolPlugin
Wolfgang Link [Thu, 31 Mar 2016 07:10:22 +0000 (09:10 +0200)]
Change zfs path when link clone are used
The new naming is coherent to Dir plugin.
So if we make an licked clone the parent will be coded in the path of the storage.
Wolfgang Link [Thu, 31 Mar 2016 13:18:38 +0000 (15:18 +0200)]
Skip invalid property's in storage parser
There is no need to remove the hole storage, if one property is not valid.
Just ignore the property.
Fabian Grünbichler [Fri, 25 Mar 2016 14:07:24 +0000 (15:07 +0100)]
Add write_config, drop cfs_read_file
Use PVE::Storage::config() and the new
PVE::Storage::write_config() instead of cfs_read_file and
cfs_write_file with a hardcoded filename.
Dietmar Maurer [Tue, 22 Mar 2016 08:07:54 +0000 (09:07 +0100)]
bump version to 4.0-47
Wolfgang Link [Mon, 21 Mar 2016 15:13:14 +0000 (16:13 +0100)]
Fix LXC migration from local subvol
This patch reconfigured the rsync parameters, so the fs keeps all settings and works recursive.
Dietmar Maurer [Thu, 17 Mar 2016 06:08:46 +0000 (07:08 +0100)]
update changelog
Wolfgang Link [Wed, 16 Mar 2016 13:24:36 +0000 (14:24 +0100)]
Use array to run_command instead of a string.
Wolfgang Link [Wed, 16 Mar 2016 13:24:35 +0000 (14:24 +0100)]
Include all snapshots when migrate storage zfs to zfs.
Dietmar Maurer [Tue, 15 Mar 2016 15:50:45 +0000 (16:50 +0100)]
bump version to 4.0-46
Fabian Grünbichler [Tue, 15 Mar 2016 13:01:11 +0000 (14:01 +0100)]
Use is_worker to decide default timeout for ZFS
Bump timeout to 1 hour if running in a worker and no timeout
specified.
Dietmar Maurer [Tue, 15 Mar 2016 05:49:45 +0000 (06:49 +0100)]
bump version to 4.0-45
Wolfgang Bumiller [Mon, 14 Mar 2016 15:21:39 +0000 (16:21 +0100)]
lvmthin: activate base volumes
create_base() uses '-ky' to prevent base images from being
activated by default, similar to snapshots. This means we
need to activate them like snapshots with the '-K' option.
Dietmar Maurer [Wed, 2 Mar 2016 16:14:56 +0000 (17:14 +0100)]
bump version to 4.0-44
Wolfgang Link [Wed, 2 Mar 2016 15:18:14 +0000 (16:18 +0100)]
Remove content type container from GlusterFS.
Dietmar Maurer [Tue, 1 Mar 2016 07:03:36 +0000 (08:03 +0100)]
depend on thin-provisioning-tools, bump version to 4.0-43
Dietmar Maurer [Wed, 24 Feb 2016 16:17:17 +0000 (17:17 +0100)]
bump version to 4.0-42
Dominik Csapak [Tue, 23 Feb 2016 11:42:58 +0000 (12:42 +0100)]
add sparseinit to has_feature
we will use this for determining
if we need to write zeros to a volume
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Sat, 20 Feb 2016 09:11:59 +0000 (10:11 +0100)]
add lvmthinscan to CLI
Dietmar Maurer [Sat, 20 Feb 2016 08:52:59 +0000 (09:52 +0100)]
bump version to 4.0-41
Dominik Csapak [Fri, 19 Feb 2016 13:51:44 +0000 (14:51 +0100)]
prepare storage for lvmthin gui
this patch adds an lvmthin scan to the api, so that we can get a list
of thinpools for a specific vg via an api call
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Thu, 28 Jan 2016 10:12:23 +0000 (11:12 +0100)]
bump version to 4.0-40
Wolfgang Bumiller [Thu, 28 Jan 2016 08:33:48 +0000 (09:33 +0100)]
storage_migrate: another ipv6 fix for an rsync command
Dietmar Maurer [Mon, 25 Jan 2016 09:49:14 +0000 (10:49 +0100)]
bump version to 4.0-39
Wolfgang Link [Mon, 25 Jan 2016 09:44:35 +0000 (10:44 +0100)]
increase timeout for ZFSPugin
This is useful on large zfs pools because they take longer to response.
Dietmar Maurer [Wed, 20 Jan 2016 10:32:18 +0000 (11:32 +0100)]
lvmthin: allow to clone from snapshot
Dietmar Maurer [Wed, 30 Dec 2015 16:16:37 +0000 (17:16 +0100)]
remove option maxfiles from zfspool plugin
It makse no sense, because this plugin is unable to store backup files.
Dietmar Maurer [Wed, 9 Dec 2015 15:16:31 +0000 (16:16 +0100)]
bump version to 4.0-38
Wolfgang Bumiller [Wed, 9 Dec 2015 12:22:19 +0000 (13:22 +0100)]
nfs: is_mounted: match /^nfs.*/ type
This is consistent with the old behavior.
Dietmar Maurer [Wed, 9 Dec 2015 08:26:23 +0000 (09:26 +0100)]
bump version to 4.0-37
Wolfgang Bumiller [Wed, 9 Dec 2015 07:44:50 +0000 (08:44 +0100)]
nfs/glusterfs: is_mounted fixes
The parse_proc_mounts change made the glusterfs is_mounted
check fail (causing it to be shown as inactive on the GUI).
The NFS check was stricter (not allowing a trailing / in the
source anymore).
Dietmar Maurer [Wed, 9 Dec 2015 07:27:19 +0000 (08:27 +0100)]
set RELEASE=4.1
Dietmar Maurer [Wed, 9 Dec 2015 06:40:44 +0000 (07:40 +0100)]
bump version to 4.0-36
Dietmar Maurer [Wed, 9 Dec 2015 06:38:36 +0000 (07:38 +0100)]
Revert "Change zfspoolplugin path when snapshot is given."
This reverts commit
fdd31ce7594ffc4ccea68260091989a3cbc07cdb .
The assumption was wrong. Turned out that we cannot assume
snapshots are always mounted there.
Dietmar Maurer [Thu, 26 Nov 2015 11:06:06 +0000 (12:06 +0100)]
bump version to 4.0-35
Wolfgang Bumiller [Tue, 24 Nov 2015 08:43:13 +0000 (09:43 +0100)]
allow rx permissions for group/world on .subvol dirs
vdisk_alloc comes in with an umask of 0037, which means the
.subvol dir has permissions 0740, which means that the root
directory of containers has permissions 0740, essentially
preventing the users inside a container from accessing
anything.
Dietmar Maurer [Thu, 19 Nov 2015 11:38:56 +0000 (12:38 +0100)]
bump version to 4.0-34
Wolfgang Link [Thu, 19 Nov 2015 11:28:20 +0000 (12:28 +0100)]
Change zfspoolplugin path when snapshot is given.
Zfs subvol snapshots are always mounted under $path_of_subvol/.zfs/$snapname
Dietmar Maurer [Wed, 18 Nov 2015 10:01:57 +0000 (11:01 +0100)]
bump version to 4.0-33
Phillip Schichtel [Thu, 12 Nov 2015 19:00:37 +0000 (20:00 +0100)]
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>
Dietmar Maurer [Sat, 14 Nov 2015 09:38:24 +0000 (10:38 +0100)]
bump version to 4.0-32
Wolfgang Bumiller [Fri, 13 Nov 2015 11:21:44 +0000 (12:21 +0100)]
make use of the new ProcFSTools::parse_proc_mounts
Dietmar Maurer [Thu, 12 Nov 2015 10:15:37 +0000 (11:15 +0100)]
lvmthin: enable copy from snapshot feature
Dietmar Maurer [Thu, 12 Nov 2015 10:14:47 +0000 (11:14 +0100)]
lvmthin: allow to acces snapshots in filesystem_path
Dietmar Maurer [Thu, 12 Nov 2015 08:47:49 +0000 (09:47 +0100)]
lvmthin: fix used space (only use data%)
Dietmar Maurer [Thu, 12 Nov 2015 08:31:45 +0000 (09:31 +0100)]
lvmthin: implement template/clone
Dietmar Maurer [Thu, 12 Nov 2015 08:29:00 +0000 (09:29 +0100)]
new helper lvm_find_free_diskname()
Dietmar Maurer [Thu, 12 Nov 2015 07:02:50 +0000 (08:02 +0100)]
lvmthin alloc_image: add additional test if VG exists
Dietmar Maurer [Thu, 12 Nov 2015 06:28:28 +0000 (07:28 +0100)]
lvmthin: implement snapshot and rollback
Dietmar Maurer [Wed, 11 Nov 2015 09:18:44 +0000 (10:18 +0100)]
lvmthin volume_resize: reuse code from parent class
Dietmar Maurer [Wed, 11 Nov 2015 08:17:31 +0000 (09:17 +0100)]
white space cleanups
Dietmar Maurer [Wed, 11 Nov 2015 08:07:55 +0000 (09:07 +0100)]
LvmThinPlugin: improve basic functionality, better code reuse
Dietmar Maurer [Wed, 11 Nov 2015 07:42:08 +0000 (08:42 +0100)]
implement generic lvm_list_volumes()
This replace lvm_lvs, and return a list of all volumes. That way
we can reuse code for LvmThin.
Dietmar Maurer [Mon, 9 Nov 2015 10:05:57 +0000 (11:05 +0100)]
add lvm thin plugin
Dietmar Maurer [Mon, 9 Nov 2015 05:47:44 +0000 (06:47 +0100)]
move format registration to Plugin.pm
Dietmar Maurer [Fri, 6 Nov 2015 15:40:35 +0000 (16:40 +0100)]
bump version to 4.0-31
Dietmar Maurer [Fri, 6 Nov 2015 15:39:17 +0000 (16:39 +0100)]
zfs: enable posixacl and xattr for subvolumes
Dietmar Maurer [Fri, 6 Nov 2015 07:37:02 +0000 (08:37 +0100)]
bump version to 4.0-30
Wolfgang Link [Thu, 5 Nov 2015 13:24:07 +0000 (14:24 +0100)]
fix bug #809: inheritance from ZFSPoolPlugin is not possible because we have to handle there subvols too.
Dietmar Maurer [Mon, 2 Nov 2015 16:14:21 +0000 (17:14 +0100)]
bump version to 4.0-29
Dietmar Maurer [Mon, 2 Nov 2015 16:12:14 +0000 (17:12 +0100)]
ISCSIPlugin: improve session parser
Dietmar Maurer [Wed, 28 Oct 2015 10:31:18 +0000 (11:31 +0100)]
bump version to 4.0-28
Wolfgang Link [Wed, 28 Oct 2015 09:41:04 +0000 (10:41 +0100)]
insert the format type at volume_resize
qemu-img needs now the format to resize image.
Wolfgang Bumiller [Thu, 15 Oct 2015 07:41:09 +0000 (09:41 +0200)]
fix bug #769: migrate: use -p on 'zfs send' to include properties
Philipp Marek [Thu, 8 Oct 2015 08:24:47 +0000 (10:24 +0200)]
DRBD: Fix typo in comment.
Philipp Marek [Thu, 8 Oct 2015 08:24:46 +0000 (10:24 +0200)]
DRBD: Remove search loop, limit results via the query.
Dietmar Maurer [Mon, 12 Oct 2015 04:54:37 +0000 (06:54 +0200)]
bump version to 4.0-27
Dietmar Maurer [Mon, 12 Oct 2015 04:52:28 +0000 (06:52 +0200)]
allow to choose content type for local storage
Also allow to disable local storage.
Dietmar Maurer [Thu, 8 Oct 2015 09:51:39 +0000 (11:51 +0200)]
bump version to 4.0-26
Dietmar Maurer [Thu, 8 Oct 2015 07:49:36 +0000 (09:49 +0200)]
zfspool: fix volume_size_info and volume_resize for subvols
Dietmar Maurer [Thu, 1 Oct 2015 11:02:13 +0000 (13:02 +0200)]
allow containers on lvm
Dietmar Maurer [Thu, 1 Oct 2015 08:57:49 +0000 (10:57 +0200)]
bump version to 4.0-25
Dietmar Maurer [Thu, 1 Oct 2015 08:56:19 +0000 (10:56 +0200)]
complete_volume: avoid large list
Dietmar Maurer [Thu, 1 Oct 2015 05:42:37 +0000 (07:42 +0200)]
add missing completion hooks
Dietmar Maurer [Thu, 1 Oct 2015 05:59:05 +0000 (07:59 +0200)]
implement complete_volume
Dietmar Maurer [Thu, 1 Oct 2015 05:12:07 +0000 (07:12 +0200)]
add bash completion for content type
Dietmar Maurer [Thu, 1 Oct 2015 04:50:19 +0000 (06:50 +0200)]
volume_list: moved code from PVE::API2::Storage::Content
For better code reuse.
Dietmar Maurer [Thu, 1 Oct 2015 04:28:22 +0000 (06:28 +0200)]
white space cleanups: correctly intend code
Dietmar Maurer [Thu, 1 Oct 2015 04:26:35 +0000 (06:26 +0200)]
complete_storage: correctly pass storage config to storage_ids()
Alen Grizonic [Mon, 28 Sep 2015 08:16:33 +0000 (10:16 +0200)]
pvesm list fix
Wolfgang Bumiller [Fri, 25 Sep 2015 10:02:33 +0000 (12:02 +0200)]
volume_snapshot_delete: deactivate before deleting
Dietmar Maurer [Fri, 25 Sep 2015 11:36:45 +0000 (13:36 +0200)]
bump version to 4.0-24
Dietmar Maurer [Fri, 25 Sep 2015 11:34:55 +0000 (13:34 +0200)]
drbd: use correct unit for storage sizes
Thomas Lamprecht [Fri, 25 Sep 2015 08:59:27 +0000 (10:59 +0200)]
drbd: return correct used/avail/total sizes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Tue, 22 Sep 2015 10:19:39 +0000 (12:19 +0200)]
bump version to 4.0-23
Wolfgang Link [Fri, 18 Sep 2015 09:57:07 +0000 (11:57 +0200)]
extend functionality to (de)activate_volumes with snapshots
this extension provide the capability to activate or deactivate snapshot,
so we can use this e.g. for LXC backup in snapshot mode.
Dietmar Maurer [Mon, 21 Sep 2015 10:25:57 +0000 (12:25 +0200)]
bump version to 4.0-22
Dietmar Maurer [Fri, 18 Sep 2015 07:33:09 +0000 (09:33 +0200)]
improve bash completions
Dietmar Maurer [Fri, 18 Sep 2015 06:21:17 +0000 (08:21 +0200)]
convert pvesm into a PVE::CLI class
Wolfgang Link [Wed, 16 Sep 2015 11:11:18 +0000 (13:11 +0200)]
remove non used parameter exclusive
This makes no sense because it should always be exclusive.
Also RDB checks it self.
LVM has not possibility to use lvchange.
DRBD is this feature not implemented.
Dietmar Maurer [Fri, 11 Sep 2015 10:13:00 +0000 (12:13 +0200)]
fix lvm storage status
Dietmar Maurer [Thu, 10 Sep 2015 09:10:35 +0000 (11:10 +0200)]
rbd: make activate_volume idempotent
Dietmar Maurer [Thu, 10 Sep 2015 08:43:54 +0000 (10:43 +0200)]
bump version to 4.0-21
Wolfgang Link [Thu, 10 Sep 2015 08:29:10 +0000 (10:29 +0200)]
rbd: skip unmap if device is not mapped
Dietmar Maurer [Thu, 10 Sep 2015 06:41:00 +0000 (08:41 +0200)]
drbd: also allow to configure content property
Dietmar Maurer [Thu, 10 Sep 2015 06:29:23 +0000 (08:29 +0200)]
allow to create containers on DRBD (content == rootdir)
Dietmar Maurer [Wed, 9 Sep 2015 05:57:52 +0000 (07:57 +0200)]
bump version to 4.0-20
Wolfgang Link [Tue, 8 Sep 2015 10:23:53 +0000 (12:23 +0200)]
improve free_image with deactivate_volumes
this is necessary to prevent an error when trying to remove a mapped volume.
Dietmar Maurer [Tue, 8 Sep 2015 08:48:41 +0000 (10:48 +0200)]
bump version to 4.0-19