]>
git.proxmox.com Git - pve-storage.git/log
Dietmar Maurer [Thu, 12 Feb 2015 08:42:31 +0000 (09:42 +0100)]
bump version to 3.0-30
Wolfgang Link [Thu, 12 Feb 2015 10:38:17 +0000 (11:38 +0100)]
bug-fix for size output
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Thu, 12 Feb 2015 10:40:55 +0000 (11:40 +0100)]
ZFSPoolPlugin: use udevadm settle with --exit-if-exists
And silently ignore error if that command fails.
Dietmar Maurer [Thu, 12 Feb 2015 08:40:17 +0000 (09:40 +0100)]
cleanup error messages
Dietmar Maurer [Thu, 12 Feb 2015 08:28:52 +0000 (09:28 +0100)]
call volume_rollback_is_possible from PVE::Storage::volume_snapshot_rollback
That way it is automatically called for all plungins.
Wolfgang Link [Thu, 12 Feb 2015 07:41:35 +0000 (08:41 +0100)]
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>
Wolfgang Link [Tue, 10 Feb 2015 11:24:26 +0000 (12:24 +0100)]
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>
Dietmar Maurer [Mon, 9 Feb 2015 11:28:15 +0000 (12:28 +0100)]
bump version to 3.0-29
Wolfgang Link [Tue, 3 Feb 2015 11:59:08 +0000 (12:59 +0100)]
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>
Wolfgang Link [Mon, 2 Feb 2015 08:48:09 +0000 (09:48 +0100)]
ZfsPoolPlugin: fix add disks
now it is possible add disk to an vm on rpool
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Fri, 30 Jan 2015 05:27:26 +0000 (06:27 +0100)]
bump version to 3.0-28
Wolfgang Link [Wed, 28 Jan 2015 09:37:58 +0000 (10:37 +0100)]
zfs: fix wait by alloc_image
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Mon, 26 Jan 2015 08:05:09 +0000 (09:05 +0100)]
implement zfsscan to list local zfs pools
Dietmar Maurer [Sat, 24 Jan 2015 13:30:10 +0000 (14:30 +0100)]
move activate_storage into ZFSPoolPlugin
Dietmar Maurer [Sat, 24 Jan 2015 13:13:24 +0000 (14:13 +0100)]
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.
Dietmar Maurer [Fri, 23 Jan 2015 12:02:31 +0000 (13:02 +0100)]
bump version to 3.0-27
Dietmar Maurer [Fri, 23 Jan 2015 11:44:50 +0000 (12:44 +0100)]
zfs: remove useless warning inside clone_image
Wolfgang Link [Fri, 23 Jan 2015 09:32:45 +0000 (10:32 +0100)]
zfs: move and refactor code
copy and modify create_base and refactor clone_image
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Fri, 23 Jan 2015 11:38:21 +0000 (12:38 +0100)]
zfs: implement zfs_get_latest_snapshot
To improve code sharing.
Wolfgang Link [Fri, 23 Jan 2015 09:32:44 +0000 (10:32 +0100)]
zfs: move code fix metode call
duplicate code because can't refactor volume_snapshot_rollback
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Link [Fri, 23 Jan 2015 09:32:43 +0000 (10:32 +0100)]
zfs: move code
move activate_volume deactivate_volume from ZFSPlugin to ZFSDirPlugin
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Link [Fri, 23 Jan 2015 09:32:41 +0000 (10:32 +0100)]
zfs: ZFSDirPlugin add methode path
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Link [Fri, 23 Jan 2015 09:32:40 +0000 (10:32 +0100)]
zfs: move methode list_image
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Link [Fri, 23 Jan 2015 09:32:39 +0000 (10:32 +0100)]
zfsdir: implement free_image
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Link [Fri, 23 Jan 2015 09:32:38 +0000 (10:32 +0100)]
zfs: move code
move parse_volume from ZFSPlugin to ZFSDirPlugin, to avoid duplication
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Wolfgang Link [Fri, 23 Jan 2015 09:32:37 +0000 (10:32 +0100)]
zfs: move some code
move the most part of alloc_image to ZFSDirPlugin
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Dietmar Maurer [Thu, 22 Jan 2015 09:22:54 +0000 (10:22 +0100)]
zfs: remove duplicate $object definition
Dietmar Maurer [Thu, 22 Jan 2015 09:10:35 +0000 (10:10 +0100)]
zfs: move common code to ZFSDirPlugin
Dietmar Maurer [Thu, 22 Jan 2015 08:45:32 +0000 (09:45 +0100)]
zfs: white space cleanups
Dietmar Maurer [Thu, 22 Jan 2015 08:40:22 +0000 (09:40 +0100)]
zfs: cleanup zfs_get_lu_name
Dietmar Maurer [Thu, 22 Jan 2015 08:37:52 +0000 (09:37 +0100)]
zfs: cleanup zfs_request
Dietmar Maurer [Thu, 22 Jan 2015 08:29:13 +0000 (09:29 +0100)]
zfs: make zfs_request a virtual method
So that we can move common code into ZFSDirPlugin class.
Dietmar Maurer [Thu, 22 Jan 2015 06:58:42 +0000 (07:58 +0100)]
zfsdir: cleanup zfs_parse_size
Dietmar Maurer [Thu, 22 Jan 2015 06:54:10 +0000 (07:54 +0100)]
ZFSDirPlugin: new plugin for local zfs storage
We also want to use this as base class for ZFSPlugin, to increase
code sharing.
Dietmar Maurer [Fri, 21 Nov 2014 07:04:12 +0000 (08:04 +0100)]
bump version to 3.0-26
Alexandre Derumier [Thu, 20 Nov 2014 15:01:44 +0000 (16:01 +0100)]
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>
Dietmar Maurer [Sat, 25 Oct 2014 07:47:39 +0000 (09:47 +0200)]
bump version to 3.0-25
Michael Rasmussen [Fri, 24 Oct 2014 22:16:32 +0000 (00:16 +0200)]
fix modification of read only bug
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Dietmar Maurer [Fri, 17 Oct 2014 07:30:47 +0000 (09:30 +0200)]
bump version to 3.0-24
Stoyan Marinov [Thu, 16 Oct 2014 16:14:18 +0000 (19:14 +0300)]
Add transport option for glusterfs storage
Signed-off-by: Stoyan Marinov <stoyan@marinov.us>
Dietmar Maurer [Wed, 10 Sep 2014 12:18:42 +0000 (14:18 +0200)]
bump version to 3.0-23
Dietmar Maurer [Wed, 10 Sep 2014 12:15:11 +0000 (14:15 +0200)]
allow iso upload for glusterfs
Dietmar Maurer [Wed, 27 Aug 2014 09:31:42 +0000 (11:31 +0200)]
bump version to 3.0-22
Dietmar Maurer [Wed, 27 Aug 2014 09:29:36 +0000 (11:29 +0200)]
glusterfs: new option server2 to specify backup volfile server
Dietmar Maurer [Thu, 17 Jul 2014 06:06:47 +0000 (08:06 +0200)]
bump version to 3.0-21
Stefan Priebe [Fri, 4 Jul 2014 08:30:56 +0000 (10:30 +0200)]
RBD: enable clone of snaps
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Stefan Priebe [Fri, 4 Jul 2014 08:30:55 +0000 (10:30 +0200)]
rbd: unprotect snapshots before deletion
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Stefan Priebe [Fri, 4 Jul 2014 08:30:53 +0000 (10:30 +0200)]
pass snapname to vdisk_clone and plugin clone_image
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Dietmar Maurer [Thu, 17 Jul 2014 05:59:13 +0000 (07:59 +0200)]
cleanups
Stefan Priebe [Fri, 4 Jul 2014 08:30:54 +0000 (10:30 +0200)]
Storage Plugins: extend clone_image by snap parameter and add support to RBDPlugin
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Stefan Priebe [Fri, 4 Jul 2014 08:30:52 +0000 (10:30 +0200)]
fix ' escaping of $snap parameter
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Dietmar Maurer [Thu, 17 Jul 2014 05:37:23 +0000 (07:37 +0200)]
coding style cleanup
Stefan Priebe [Fri, 4 Jul 2014 08:30:51 +0000 (10:30 +0200)]
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>
Dietmar Maurer [Wed, 25 Jun 2014 07:17:20 +0000 (09:17 +0200)]
bump version to 3.0-20
Chris Allen [Wed, 12 Mar 2014 00:32:17 +0000 (17:32 -0700)]
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>
Chris Allen [Tue, 11 Mar 2014 22:07:53 +0000 (15:07 -0700)]
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>
Chris Allen [Tue, 11 Mar 2014 17:46:24 +0000 (10:46 -0700)]
Fixed Istgt LUN Options handling.
Signed-off-by: Chris Allen <Chris Allen>
Chris Allen [Mon, 10 Mar 2014 20:06:09 +0000 (13:06 -0700)]
Fixed command substitution and output redirection in Istgt module to work in csh - the default shell in FreeBSD. Changed Istgt "restart" to "onerestart". This way a running istgt daemon will always restart whether or not it is enabled in rc.conf.
Signed-off-by: Chris Allen <Chris Allen>
Chris Allen [Mon, 10 Mar 2014 19:07:35 +0000 (12:07 -0700)]
Added "nowritecache" option to ZFS storage plugin. Turns off write caching on Comstar and Istgt LUNs created by the plugin. Has no effect on IET, as IET always uses write-through caching for blockio volumes not in read-only mode.
Signed-off-by: Chris Allen <Chris Allen>
Chris Allen [Sat, 1 Mar 2014 07:56:02 +0000 (23:56 -0800)]
Added sparse zvol support to ZFS.
To enable, add "sparse" to the ZFS storage section, you wish to use it on, in "/etc/pve/storage.pm"
Signed-off-by: Chris Allen <Chris Allen>
Pablo Ruiz Garcia [Sat, 22 Feb 2014 23:00:43 +0000 (00:00 +0100)]
Improve parsing of zfs volumes (ZVOLs) in order to avoid filtering of zvols nested under another ZFS dataset.
The actual code would only accept zvols like: POOL/vm-123-disk-1.
However, using POOL/DataSet/vm-123-disk-1 allows setting specific
proparties at POOL/DataSet level (like compression, etc.) which
would be inherited by any zvol created under such DataSet.
This allows more flexibility of zfs/zvol's management.
Signed-off-by: Pablo Ruiz GarcĂa <pablo.ruiz@gmail.com>
Alexandre Derumier [Mon, 27 Jan 2014 02:57:22 +0000 (03:57 +0100)]
update sheepdog storage module to 0.8
- collie command is now 'dog'
- KB size is now k
- snapshot rollback need force -f flag, to avoid confirm prompt
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Thu, 16 Jan 2014 08:38:52 +0000 (09:38 +0100)]
bump version to 3.0-19
Alexandre Derumier [Tue, 7 Jan 2014 22:50:02 +0000 (23:50 +0100)]
glusterfs : create volume through gluster block driver instead fuse mount point
forum user report slow qcow2 volume create with preallocated metadatas
http://forum.proxmox.com/threads/17471-GlusterFS-amp-Proxmox-Future-amp-QCOW2-Issues
(note that I can't reproduce it with qemu 1.7)
But redhat bugzilla have an entry about possible problem with volume is create through mount point.
https://bugzilla.redhat.com/show_bug.cgi?id=895830
So,It's better to manage it through gluster block driver directly.
(We need only the mount point to create directory and list images files)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Michael Rasmussen [Wed, 23 Oct 2013 00:53:08 +0000 (02:53 +0200)]
Use ssh key stored in pmxcfg. Use ssh -i /etc/pve/priv/zfs/portal_id_rsa for remote commands
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Wed, 23 Oct 2013 00:47:18 +0000 (02:47 +0200)]
Code clean up. Fix wrong indentation.
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Dietmar Maurer [Mon, 21 Oct 2013 04:14:43 +0000 (06:14 +0200)]
install Iet.pm
Michael Rasmussen [Sun, 20 Oct 2013 11:20:35 +0000 (13:20 +0200)]
Added support for iSCSI Enterprise Target Daemon (iet) iscsitarget used in Linux distributions.
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Sun, 20 Oct 2013 11:20:34 +0000 (13:20 +0200)]
Code clean up
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Dietmar Maurer [Fri, 18 Oct 2013 07:41:16 +0000 (09:41 +0200)]
add missing Makefile to install LunCmd/ modules
Dietmar Maurer [Fri, 18 Oct 2013 07:36:29 +0000 (09:36 +0200)]
bump version to 3.0-18
Michael Rasmussen [Wed, 16 Oct 2013 23:18:50 +0000 (01:18 +0200)]
Module to support istgt lun commands Istgt is used on any *BSD. As of FreeBSD 10 it seems FreeBSD will provide thier own native replacement.
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Wed, 16 Oct 2013 23:18:49 +0000 (01:18 +0200)]
Comstar lun commands moved to separate module
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Michael Rasmussen [Wed, 16 Oct 2013 23:18:48 +0000 (01:18 +0200)]
Prepare for adding support for istgt and openiscsi Refactor code. Move any LUN related to proper LUN module.
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Dietmar Maurer [Mon, 14 Oct 2013 05:40:09 +0000 (07:40 +0200)]
bump version to 3.0-17
Michael Rasmussen [Sat, 12 Oct 2013 23:51:41 +0000 (01:51 +0200)]
Fixes bug in calculating pool size
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Alexandre Derumier [Fri, 4 Oct 2013 12:44:45 +0000 (14:44 +0200)]
remove nexenta plugin
zfs plugin is better and faster and backward compatible
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Thu, 3 Oct 2013 05:32:59 +0000 (07:32 +0200)]
bump version to 3.0-16
Michael Rasmussen [Wed, 2 Oct 2013 20:13:37 +0000 (22:13 +0200)]
Remove unused functionality
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Dietmar Maurer [Wed, 2 Oct 2013 04:56:17 +0000 (06:56 +0200)]
bump version to 3.0-15
Dietmar Maurer [Wed, 2 Oct 2013 04:54:56 +0000 (06:54 +0200)]
code cleanups for ZFSPlugin
Michael Rasmussen [Wed, 2 Oct 2013 02:58:10 +0000 (04:58 +0200)]
Added support for ZFS Storage Plugin
example of storage.cfg
zfs: omnios
blocksize 8k
target iqn.2010-09.org.openindiana:target1
pool pool1
iscsiprovider comstar
portal 192.168.0.1
sudo 1 (optionnal)
content images
note for fast ssh login:
on solaris host :
/etc/ssh/sshd_config
LookupClientHostnames no
VerifyReverseMapping no
GSSAPIAuthentication no
note for nexenta:
rm /root/.bash_profile
to avoid to go in nmc console by default
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Tue, 1 Oct 2013 11:07:46 +0000 (13:07 +0200)]
use warnings instead of global -w flag
Dietmar Maurer [Tue, 1 Oct 2013 10:39:02 +0000 (12:39 +0200)]
improve changelog
Dietmar Maurer [Tue, 1 Oct 2013 10:26:19 +0000 (12:26 +0200)]
new helper abs_filesystem_path()
Returns the absolute path for a <volid>. Also activates storage if possible.
Dietmar Maurer [Tue, 1 Oct 2013 09:28:57 +0000 (11:28 +0200)]
bump version to 3.0-14
Alexandre Derumier [Wed, 25 Sep 2013 08:26:54 +0000 (10:26 +0200)]
storage: add parse_volname
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Thu, 19 Sep 2013 04:44:40 +0000 (06:44 +0200)]
bump version to 3.0-13
Dietmar Maurer [Thu, 19 Sep 2013 04:41:51 +0000 (06:41 +0200)]
bug fix: use filesysetm_path for LVM/iSCSI storage
So that the genrice Storage::Plugin code works again (get_subdir() fails on
this type of storage).
Dietmar Maurer [Tue, 17 Sep 2013 07:09:44 +0000 (09:09 +0200)]
bump version to 3.0-12
Dietmar Maurer [Tue, 17 Sep 2013 07:03:01 +0000 (09:03 +0200)]
introduce new method filesystem_path()
If a plugin overwrites method path() to return optimized setting for qemu,
it can now still use the generic methods from PVE::Storage::Plugin which works
on file system paths (for example the glusterfs plugin).
Dietmar Maurer [Thu, 5 Sep 2013 11:14:27 +0000 (13:14 +0200)]
fix RELEASE
Dietmar Maurer [Thu, 5 Sep 2013 11:02:40 +0000 (13:02 +0200)]
add reference to git version
Dietmar Maurer [Wed, 4 Sep 2013 11:21:18 +0000 (13:21 +0200)]
avoid nested parameter exception
Dietmar Maurer [Wed, 4 Sep 2013 09:16:38 +0000 (11:16 +0200)]
bump version to 3.0-11
Dietmar Maurer [Wed, 4 Sep 2013 08:18:50 +0000 (10:18 +0200)]
auto-detect format for files with vmdk extension
Dietmar Maurer [Wed, 4 Sep 2013 08:17:47 +0000 (10:17 +0200)]
return error if volume does not exists
Dietmar Maurer [Tue, 13 Aug 2013 08:06:03 +0000 (10:06 +0200)]
API: add scan method for glusterfs
Dietmar Maurer [Tue, 13 Aug 2013 04:45:42 +0000 (06:45 +0200)]
bump version to 3.0-10
Dietmar Maurer [Mon, 12 Aug 2013 09:56:41 +0000 (11:56 +0200)]
delete trailing white-space