Commit Graph

523 Commits

Author SHA1 Message Date
4f692721be set RELEASE=4.1 2015-12-09 08:27:19 +01:00
2e30d08bec bump version to 4.0-36 2015-12-09 07:40:44 +01:00
f482231e48 Revert "Change zfspoolplugin path when snapshot is given."
This reverts commit fdd31ce759.

The assumption was wrong. Turned out that we cannot assume
snapshots are always mounted there.
2015-12-09 07:38:36 +01:00
db7e96b7b8 bump version to 4.0-35 2015-11-26 12:06:06 +01:00
1f5734bb8d 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.
2015-11-26 12:04:59 +01:00
baa724b5d0 bump version to 4.0-34 2015-11-19 12:38:56 +01:00
fdd31ce759 Change zfspoolplugin path when snapshot is given.
Zfs subvol snapshots are always mounted under $path_of_subvol/.zfs/$snapname
2015-11-19 12:36:19 +01:00
e2fbf28fbd bump version to 4.0-33 2015-11-18 11:01:57 +01:00
281f958706 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:00:40 +01:00
2275d75fb9 bump version to 4.0-32 2015-11-14 10:38:24 +01:00
80b647882e make use of the new ProcFSTools::parse_proc_mounts 2015-11-14 10:37:06 +01:00
30650d3c46 lvmthin: enable copy from snapshot feature 2015-11-12 11:15:37 +01:00
33adbdc447 lvmthin: allow to acces snapshots in filesystem_path 2015-11-12 11:14:47 +01:00
faabe9e297 lvmthin: fix used space (only use data%) 2015-11-12 09:47:49 +01:00
f1b59efc0d lvmthin: implement template/clone 2015-11-12 09:31:45 +01:00
b13784612d new helper lvm_find_free_diskname() 2015-11-12 09:29:00 +01:00
5b41084a6a lvmthin alloc_image: add additional test if VG exists 2015-11-12 08:02:50 +01:00
663372bc4d lvmthin: implement snapshot and rollback 2015-11-12 07:28:28 +01:00
a9f0c6c4f5 lvmthin volume_resize: reuse code from parent class 2015-11-11 10:18:44 +01:00
5c687bd921 white space cleanups 2015-11-11 09:17:31 +01:00
15334c831c LvmThinPlugin: improve basic functionality, better code reuse 2015-11-11 09:14:06 +01:00
3e44cd8498 implement generic lvm_list_volumes()
This replace lvm_lvs, and return a list of all volumes. That way
we can reuse code for LvmThin.
2015-11-11 09:14:06 +01:00
610798bc2d add lvm thin plugin 2015-11-11 09:14:06 +01:00
5dca5c7c7e move format registration to Plugin.pm 2015-11-11 09:13:57 +01:00
c2dea8e503 bump version to 4.0-31 2015-11-06 16:40:35 +01:00
efaf4017f4 zfs: enable posixacl and xattr for subvolumes 2015-11-06 16:39:17 +01:00
4c76432a70 bump version to 4.0-30 2015-11-06 08:37:02 +01:00
27a2764632 fix bug #809: inheritance from ZFSPoolPlugin is not possible because we have to handle there subvols too. 2015-11-06 08:34:49 +01:00
37df4de083 bump version to 4.0-29 2015-11-02 17:14:21 +01:00
bb3fc38b2d ISCSIPlugin: improve session parser 2015-11-02 17:12:14 +01:00
b28c71735c bump version to 4.0-28 2015-10-28 11:31:18 +01:00
0589e5f933 insert the format type at volume_resize
qemu-img needs now the format to resize image.
2015-10-28 11:30:05 +01:00
323ab5baa8 fix bug #769: migrate: use -p on 'zfs send' to include properties 2015-10-15 10:33:34 +02:00
0bdf560cff DRBD: Fix typo in comment. 2015-10-15 08:54:48 +02:00
046fd4cb61 DRBD: Remove search loop, limit results via the query. 2015-10-15 08:53:08 +02:00
e3ce57d4b2 bump version to 4.0-27 2015-10-12 06:54:37 +02:00
dc6ff39f57 allow to choose content type for local storage
Also allow to disable local storage.
2015-10-12 06:52:28 +02:00
a6ad1a0815 bump version to 4.0-26 2015-10-08 11:51:39 +02:00
79f2b938d4 zfspool: fix volume_size_info and volume_resize for subvols 2015-10-08 09:49:36 +02:00
68b2c18acd allow containers on lvm 2015-10-01 13:02:13 +02:00
85e924cf22 bump version to 4.0-25 2015-10-01 10:57:49 +02:00
b70b0c58b3 complete_volume: avoid large list 2015-10-01 10:56:19 +02:00
f3bd890d98 add missing completion hooks 2015-10-01 07:59:48 +02:00
bf7aed2674 implement complete_volume 2015-10-01 07:59:48 +02:00
98437f4c85 add bash completion for content type 2015-10-01 07:16:59 +02:00
37ba0aea5b volume_list: moved code from PVE::API2::Storage::Content
For better code reuse.
2015-10-01 06:50:19 +02:00
746e530f72 white space cleanups: correctly intend code 2015-10-01 06:28:22 +02:00
180c8b020c complete_storage: correctly pass storage config to storage_ids() 2015-10-01 06:26:35 +02:00
ba0cf557f4 pvesm list fix 2015-09-29 17:25:05 +02:00
399581a2b3 volume_snapshot_delete: deactivate before deleting 2015-09-25 13:41:04 +02:00