DERUMIER:
I think we should eject it automatically instead of do not start the
machine!
+1 for this.
Simply do an eject before migration, if the iso is local
- Mail original -
De: Wolfgang Link w.l...@proxmox.com
À: Stefan Priebe s.pri...@profihost.ag, pve-devel
pve-devel@pve.proxmox.com
I think we should eject it automatically instead of do not start the
machine!
This could be done easily if we check this on start.
On 08/20/2015 09:39 AM, Stefan Priebe - Profihost AG wrote:
Hi,
i've no real idea how to solve this.
Currently the following happens pretty easily.
You insert
---
PVE/API2/Qemu.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index c4516de..669cfc2 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -2171,7 +2171,8 @@ __PACKAGE__-register_method({
# do not copy snapshot
I'm wondering if it is really necessary to use krdb when lxc is on ceph?
or there are any other possibility?
There are any pitfalls with krdb?
___
pve-devel mailing list
pve-devel@pve.proxmox.com
Yes sure we need this clean up.
On 08/17/2015 09:13 AM, Dietmar Maurer wrote:
- system(/sbin/tc filter del dev $iface parent : protocol ip prio
50 estimator 1sec 8sec /dev/null 21);
+system(/sbin/tc filter del dev $iface parent : protocol all
pref 50 u32 /dev/null 21);
in the pvesm and pvesh we are giving the correct size of the used space from a
disk.
this change make the output of Gui and CLI consistent.
---
bin/pvestatd |5 +
www/manager/storage/StatusView.js |7 +--
2 files changed, 2 insertions(+), 10 deletions(-)
in the pvesm and pvesh we are giving the correct size of the used space from a
disk.
this change make the output of Gui and CLI consistent.
---
bin/pvestatd |5 +
www/manager/storage/StatusView.js |7 +--
2 files changed, 2 insertions(+), 10 deletions(-)
---
src/PVE/VZDump/LXC.pm | 48
1 file changed, 32 insertions(+), 16 deletions(-)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index 32a85db..cd43f98 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.pm
@@ -105,6 +105,13 @@
---
src/PVE/VZDump/LXC.pm | 31 +--
1 file changed, 17 insertions(+), 14 deletions(-)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index 359b5c0..d415444 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.pm
@@ -13,6 +13,8 @@ use PVE::Tools;
we can use this also, if we mount snapshots
---
src/PVE/VZDump/LXC.pm | 28 +---
1 file changed, 21 insertions(+), 7 deletions(-)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index 112bc84..24f81ef 100644
--- a/src/PVE/VZDump/LXC.pm
+++
this is necessary because we use snapshots and some (zfs) are read only.
---
src/PVE/VZDump/LXC.pm | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index 24f81ef..32a85db 100644
--- a/src/PVE/VZDump/LXC.pm
+++
---
src/PVE/VZDump/LXC.pm | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index d415444..42c5e44 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.pm
@@ -132,6 +132,10 @@ sub prepare {
# fixme:
---
src/PVE/VZDump/LXC.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index cd43f98..359b5c0 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.pm
@@ -307,6 +307,7 @@ sub cleanup {
# We use -d to automatically free used loop
---
src/PVE/VZDump/LXC.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index 42c5e44..03f056c 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.pm
@@ -175,6 +175,7 @@ sub prepare {
if ($scfg-{type} eq
This Patch implement the subvol backup for snapshot and stoped mode.
Also refactoring code for reuse.
And change the way tar include the pct.conf as first file in tar archive.
___
pve-devel mailing list
pve-devel@pve.proxmox.com
---
PVE/API2/APT.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/PVE/API2/APT.pm b/PVE/API2/APT.pm
index 1a46cf1..c6e2bda 100644
--- a/PVE/API2/APT.pm
+++ b/PVE/API2/APT.pm
@@ -537,7 +537,8 @@ __PACKAGE__-register_method({
# comment out old packages uses before
when create a archive the container config will be the fist file in archive.
This is useful if we recover the archive.
---
src/PVE/VZDump/LXC.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index ceff324..21fb3c1 100644
---
this patch recovers the config form the tarball.
It will nt recover the nework setting if you recover from OVZ
---
src/PVE/API2/LXC.pm | 30 +++-
src/PVE/LXCCreate.pm | 125 ++---
src/PVE/VZDump/ConvertOVZ.pm | 319 +++
when create a archive the container config will be the fist file in archive.
This is useful if we recover the archive.
---
PVE/VZDump/OpenVZ.pm |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/VZDump/OpenVZ.pm b/PVE/VZDump/OpenVZ.pm
index 779c3a1..9fa37c7 100644
---
---
src/PVE/VZDump/LXC.pm | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index 21fb3c1..6fad10f 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.pm
@@ -9,6 +9,7 @@ use PVE::Cluster qw(cfs_read_file);
this patch recovers the config form the tarball.
It will nt recover the nework setting if you recover from OVZ
---
src/PVE/API2/LXC.pm | 30 +++-
src/PVE/LXCCreate.pm | 105 +++---
src/PVE/VZDump/ConvertOVZ.pm | 319 +++
---
src/PVE/VZDump/LXC.pm | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index 21fb3c1..c984abb 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.pm
@@ -9,6 +9,7 @@ use PVE::Cluster qw(cfs_read_file);
use
this patch recovers the config form the tarball.
It will nt recover the nework setting if you recover from OVZ
---
src/PVE/API2/LXC.pm | 30 +++-
src/PVE/LXCCreate.pm | 136 +++---
src/PVE/VZDump/ConvertOVZ.pm | 319 +++
this patch recovers the config form the tarball.
It will nt recover the nework setting if you recover from OVZ
---
src/PVE/API2/LXC.pm | 30 +++-
src/PVE/LXCCreate.pm | 105 +++---
src/PVE/VZDump/ConvertOVZ.pm | 319 +++
---
src/PVE/VZDump/LXC.pm | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index 21fb3c1..fc74007 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.pm
@@ -221,14 +221,20 @@ sub resume_vm {
sub assemble {
---
www/manager/storage/ZFSPoolEdit.js | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/www/manager/storage/ZFSPoolEdit.js
b/www/manager/storage/ZFSPoolEdit.js
index dfefa0b..9ad1284 100644
--- a/www/manager/storage/ZFSPoolEdit.js
+++
---
src/PVE/API2/LXC.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 4dfb582..3e4e862 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -278,6 +278,8 @@ __PACKAGE__-register_method({
---
src/PVE/API2/LXC.pm | 12 +---
src/PVE/LXCCreate.pm | 5 +++--
src/PVE/VZDump/ConvertOVZ.pm | 5 -
3 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 3e4e862..3bde6c1 100644
--- a/src/PVE/API2/LXC.pm
---
src/PVE/LXCCreate.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/LXCCreate.pm b/src/PVE/LXCCreate.pm
index bfb6060..ad5fcbc 100644
--- a/src/PVE/LXCCreate.pm
+++ b/src/PVE/LXCCreate.pm
@@ -304,7 +304,7 @@ sub create_rootfs {
foreach my $opt (qw(disk
there where an changing in the internal name so it is necessary to adapt the
parser regex.
---
PVE/Storage/ZFSPoolPlugin.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm
index d7204b2..dbaa5ca 100644
---
---
src/PVE/API2/LXC.pm | 2 +-
src/PVE/LXCCreate.pm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 17cb0a6..93ab537 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -309,7 +309,7 @@
there was the allocation missed
---
src/PVE/LXC.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 21f03a4..bf084ba 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -643,6 +643,7 @@ sub parse_ct_mountpoint {
if ($p =~
if the packet on the opt list is not installed, it will not shown.
---
PVE/API2/APT.pm | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/PVE/API2/APT.pm b/PVE/API2/APT.pm
index 2eac330..b665a5b 100644
--- a/PVE/API2/APT.pm
+++ b/PVE/API2/APT.pm
@@ -536,9 +536,12 @@
---
src/PVE/VZDump/ConvertOVZ.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/PVE/VZDump/ConvertOVZ.pm b/src/PVE/VZDump/ConvertOVZ.pm
index 72f1c0d..dedd640 100644
--- a/src/PVE/VZDump/ConvertOVZ.pm
+++ b/src/PVE/VZDump/ConvertOVZ.pm
@@ -304,9 +304,9 @@ sub
This is necessary if we use Container because they use subvol.
subvol has no size but a quota.
if return is 0 there is no quota set.
---
PVE/Storage/ZFSPoolPlugin.pm | 16
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/PVE/Storage/ZFSPoolPlugin.pm
---
src/PVE/API2/LXC.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 93ab537..8823ae4 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -301,7 +301,7 @@ __PACKAGE__-register_method({
my $code = sub {
---
www/manager/storage/ZFSPoolEdit.js | 9 +
1 file changed, 9 insertions(+)
diff --git a/www/manager/storage/ZFSPoolEdit.js
b/www/manager/storage/ZFSPoolEdit.js
index b0a17b2..dfefa0b 100644
--- a/www/manager/storage/ZFSPoolEdit.js
+++ b/www/manager/storage/ZFSPoolEdit.js
@@ -91,6
this patch recovers the config form the tarball.
It will nt recover the nework setting if you recover from OVZ
---
src/PVE/API2/LXC.pm | 30 +++-
src/PVE/LXCCreate.pm | 102 +++---
src/PVE/VZDump/ConvertOVZ.pm | 319 +++
this change will provide that it will be possibel to restore LXC and OVZ
dumpfiles over the gui.
---
www/manager/storage/ContentView.js | 4 ++--
www/manager/window/Restore.js | 8
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/www/manager/storage/ContentView.js
Catch the error, if the dataset doesn't exists.
If it will not catched, you can't remove a VM.
---
PVE/Storage/ZFSPoolPlugin.pm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm
index 6b095f1..d3bb0fd 100644
---
---
www/manager/storage/ZFSPoolEdit.js | 18 +++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/www/manager/storage/ZFSPoolEdit.js
b/www/manager/storage/ZFSPoolEdit.js
index b0a17b2..9ad1284 100644
--- a/www/manager/storage/ZFSPoolEdit.js
+++
Signed-off-by: Wolfgang Link w.l...@proxmox.com
---
PVE/API2/APT.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/API2/APT.pm b/PVE/API2/APT.pm
index 2eac330..4adb2ec 100644
--- a/PVE/API2/APT.pm
+++ b/PVE/API2/APT.pm
@@ -537,7 +537,7 @@ __PACKAGE__-register_method
Signed-off-by: Wolfgang Link w.l...@proxmox.com
---
PVE/Storage/ZFSPoolPlugin.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm
index 6b095f1..b99e7e5 100644
--- a/PVE/Storage/ZFSPoolPlugin.pm
+++ b/PVE/Storage
Signed-off-by: Wolfgang Link w.l...@proxmox.com
---
src/PVE/API2/LXC.pm | 60 +
src/PVE/LXC.pm | 8 +++
src/pct | 2 ++
3 files changed, 70 insertions(+)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index
Signed-off-by: Wolfgang Link w.l...@proxmox.com
---
www/manager/Makefile| 2 +
www/manager/Utils.js| 3 +
www/manager/lxc/Config.js | 9 +-
www/manager/lxc/Snapshot.js | 198 ++
www/manager/lxc/SnapshotTree.js | 304
Signed-off-by: Wolfgang Link w.l...@proxmox.com
---
src/PVE/API2/LXC.pm | 98 ++---
src/PVE/LXC.pm | 104 +++-
2 files changed, 107 insertions(+), 95 deletions(-)
diff --git a/src/PVE/API2/LXC.pm b
This patch series add the capability to make snapshots with LXC on storages who
support sanpshots.
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Signed-off-by: Wolfgang Link w.l...@proxmox.com
---
src/PVE/LXC.pm | 56 ++--
1 file changed, 54 insertions(+), 2 deletions(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index d52b743..ff4eef9 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
now it is possible to add sanpshots to the config.
The snapshot include all config information what are set at the snapshot.
So if you make a rolback all settings will restored
Signed-off-by: Wolfgang Link w.l...@proxmox.com
---
src/PVE/LXC.pm | 323
Signed-off-by: Wolfgang Link w.l...@proxmox.com
---
src/PVE/LXC.pm | 126 +++--
1 file changed, 123 insertions(+), 3 deletions(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 3bb69ca..dc351c6 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE
Signed-off-by: Wolfgang Link w.l...@proxmox.com
---
src/PVE/API2/LXC.pm | 253
1 file changed, 253 insertions(+)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 4e50b78..8d79021 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2
Signed-off-by: Wolfgang Link w.l...@proxmox.com
---
src/PVE/API2/LXC.pm | 43 +++
src/PVE/LXC.pm | 5 +
src/pct | 2 ++
3 files changed, 50 insertions(+)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 1c4d788..daf68ca
Signed-off-by: Wolfgang Link w.l...@proxmox.com
---
src/PVE/LXC.pm | 56 +++-
1 file changed, 55 insertions(+), 1 deletion(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index f04db22..3ebb2e0 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
Signed-off-by: Wolfgang Link w.l...@proxmox.com
---
src/PVE/API2/LXC.pm | 48
src/PVE/LXC.pm | 6 ++
src/pct | 2 ++
3 files changed, 56 insertions(+)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index e63b73b
Signed-off-by: Wolfgang Link w.l...@proxmox.com
---
www/manager/Makefile| 2 +
www/manager/Utils.js| 3 +
www/manager/lxc/Config.js | 9 +-
www/manager/lxc/Snapshot.js | 198 ++
www/manager/lxc/SnapshotTree.js | 304
This patch series add the capability to make snapshots with LXC on storages who
support sanpshots.
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
This is necessary because CPU are not hot-plug-able and memory are
hot-plug-able.
also this will be useful for the new resource window.
---
www/manager/Makefile| 1 +
www/manager/lxc/ResourceEdit.js | 79 +++
www/manager/lxc/Resources.js| 92
---
www/manager/lxc/CreateWizard.js | 15 +++--
www/manager/lxc/ResourceEdit.js | 49 -
2 files changed, 56 insertions(+), 8 deletions(-)
diff --git a/www/manager/lxc/CreateWizard.js b/www/manager/lxc/CreateWizard.js
index c0a30a3..c862d44 100644
this is logical because we change all hotplug feature and the the changes are
updated in the config.
---
src/PVE/LXC.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 4b9ace5..3195fbd 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@
---
src/PVE/LXC.pm | 57 +
1 file changed, 57 insertions(+)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 093d4f4..d3315f4 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -18,11 +18,14 @@ use PVE::Tools qw($IPV6RE $IPV4RE
---
src/PVE/LXC.pm | 57 +
1 file changed, 57 insertions(+)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 0fd2ec8..e3160e4 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -18,11 +18,14 @@ use PVE::Tools qw($IPV6RE $IPV4RE
---
src/PVE/API2/LXC.pm| 147 +
src/PVE/API2/LXC/Config.pm | 146
src/PVE/CLI/pct.pm | 2 +-
3 files changed, 148 insertions(+), 147 deletions(-)
diff --git a/src/PVE/API2/LXC.pm
It is necessary because if we resize a disk it can take longer. so to prevent
long waiting time fork a worker process.
---
src/PVE/API2/LXC.pm | 72 -
1 file changed, 38 insertions(+), 34 deletions(-)
diff --git a/src/PVE/API2/LXC.pm
---
www/manager/lxc/Resources.js | 9 +
1 file changed, 9 insertions(+)
diff --git a/www/manager/lxc/Resources.js b/www/manager/lxc/Resources.js
index f99d62b..7149ff0 100644
--- a/www/manager/lxc/Resources.js
+++ b/www/manager/lxc/Resources.js
@@ -81,6 +81,15 @@
---
www/manager/lxc/Options.js | 4
www/manager/lxc/Resources.js | 5 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/www/manager/lxc/Options.js b/www/manager/lxc/Options.js
index 8461514..fffd8e7 100644
--- a/www/manager/lxc/Options.js
+++ b/www/manager/lxc/Options.js
---
www/css/ext-pve.css | 15 +++
www/images/Makefile | 4 +++-
www/images/swap.png | Bin 0 -> 926 bytes
3 files changed, 18 insertions(+), 1 deletion(-)
create mode 100644 www/images/swap.png
diff --git a/www/css/ext-pve.css b/www/css/ext-pve.css
index 39c5e50..d9461d2 100644
---
www/manager/Makefile | 1 +
www/manager/lxc/MPResize.js | 104 +++
www/manager/lxc/Resources.js | 51 -
3 files changed, 154 insertions(+), 2 deletions(-)
create mode 100644 www/manager/lxc/MPResize.js
diff --git
---
bin/pvereport | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/bin/pvereport b/bin/pvereport
index 0fe3482..514cc9a 100755
--- a/bin/pvereport
+++ b/bin/pvereport
@@ -20,6 +20,8 @@ my @net = ('ifconfig', 'cat /etc/network/interfaces', 'grep .
/etc/pve/firewall/
---
src/PVE/LXC.pm | 71 ++
1 file changed, 71 insertions(+)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 4b9ace5..4d8446c 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -18,11 +18,14 @@ use PVE::Tools qw($IPV6RE $IPV4RE
---
src/PVE/LXC.pm | 14 ++
1 file changed, 14 insertions(+)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 3ba0e58..d1f9ad5 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -893,6 +893,20 @@ sub vmstatus {
}
}
+my $netdev =
---
src/PVE/LXC.pm | 57 +
1 file changed, 57 insertions(+)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 093d4f4..3ba0e58 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -18,11 +18,14 @@ use PVE::Tools qw($IPV6RE $IPV4RE
qemu-img needs now the format to resize image.
---
PVE/Storage/Plugin.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm
index d65bd11..ccec759 100644
--- a/PVE/Storage/Plugin.pm
+++ b/PVE/Storage/Plugin.pm
@@ -655,7 +655,9 @@
This can make probelems with zvol that have lvm pools on it.
---
patchdir/filter_zvols_in_lvm.conf.patch | 15 +++
patchdir/series | 1 +
2 files changed, 16 insertions(+)
create mode 100644 patchdir/filter_zvols_in_lvm.conf.patch
diff --git
LXC: MP are in the default setting exclude from backup, so we do not sync mp at
default.
if they have the flag backup=1 we sync them.
QEMU: VMDisk will be synced always except they have a flag backup=no.
---
pve-zsync | 21 +
1 file changed, 17 insertions(+), 4 deletions(-)
---
pve-zsync | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/pve-zsync b/pve-zsync
index 5edf4aa..38dc317 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -415,16 +415,16 @@ sub list {
my $cfg = read_cron();
-my $list =
---
PVE/QemuServer.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index a109ea9..aa4ba2b 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -5433,6 +5433,7 @@ sub restore_vma_archive {
print "restore vma archive: $cmd\n";
this corrupt zfs recv
---
pve-zsync | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pve-zsync b/pve-zsync
index 4941456..005795f 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -43,7 +43,7 @@ my $HOSTv4RE0 = "(?:[\\w\\.\\-_]+|$IPV4RE)"; # hostname
or ipv4 address
my
---
pve-zsync | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/pve-zsync b/pve-zsync
index 4941456..1029b30 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -825,10 +825,13 @@ sub send_image {
my $bwl = $param->{limit}*1024;
push @$cmd, \'|', 'cstream', '-t', $bwl;
---
pve-zsync | 35 ---
1 file changed, 28 insertions(+), 7 deletions(-)
diff --git a/pve-zsync b/pve-zsync
index 3af504b..caf0712 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -699,11 +699,18 @@ sub get_disks {
my $cmd = [];
push @$cmd, 'ssh',
---
pve-zsync | 29 +
1 file changed, 21 insertions(+), 8 deletions(-)
diff --git a/pve-zsync b/pve-zsync
index d16b60a..1211ff1 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -17,7 +17,9 @@ my $CONFIG_PATH = "/var/lib/${PROGNAME}/";
my $STATE =
what can be used to make local backups
---
pve-zsync | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/pve-zsync b/pve-zsync
index caf0712..705d311 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -576,8 +576,10 @@ sub sync {
$source->{last_part} =
---
pve-zsync | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pve-zsync b/pve-zsync
index 302c33e..3af504b 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -864,7 +864,7 @@ sub send_image {
sub send_config{
my ($source, $dest, $method) = @_;
-my $source_target
The name of the dir, where the conf will be saved. Is the same name like the
last subvol from the dest path.
---
pve-zsync | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/pve-zsync b/pve-zsync
index 705d311..0f31c46 100644
--- a/pve-zsync
+++ b/pve-zsync
@@
---
pve-zsync | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pve-zsync b/pve-zsync
index 1029b30..d16b60a 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -830,8 +830,8 @@ sub send_image {
push @$cmd, \'|';
push @$cmd, 'ssh', "root\@$dest->{ip}", '--' if $dest->{ip};
now it is handeled if the mountpoint is not mounted by loopdev.
---
src/PVE/API2/LXC.pm | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 3f6bafe..552f6f9 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@
The backuped config will now include in the name of the config file the type of
vm.
.conf..rep__
---
pve-zsync | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pve-zsync b/pve-zsync
index 0f31c46..0add81a 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -888,7 +888,7 @@ sub
Your on the latest version?
On 11/06/2015 07:54 AM, Martin Waschbüsch wrote:
Hi all,
I just noticed that on my (upgraded to version 4) cluster, a qmrestore will
result with this warning:
WARNING: Image format was not specified for
---
pve-zsync | 614 +++---
1 file changed, 307 insertions(+), 307 deletions(-)
diff --git a/pve-zsync b/pve-zsync
index 0add81a..0d8088f 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -31,15 +31,15 @@ my $IPV6H16 = "(?:[0-9a-fA-F]{1,4})";
my
---
pve-zsync | 172 +++---
1 file changed, 86 insertions(+), 86 deletions(-)
diff --git a/pve-zsync b/pve-zsync
index 0d8088f..c7e6e81 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -13,15 +13,15 @@ use IO::File;
use String::ShellQuote
---
PVE/Storage/ZFSPlugin.pm | 6 ++
1 file changed, 6 insertions(+)
diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm
index df4c6d7..00f727e 100644
--- a/PVE/Storage/ZFSPlugin.pm
+++ b/PVE/Storage/ZFSPlugin.pm
@@ -312,6 +312,12 @@ sub volume_resize {
return $new_size;
}
---
pve-zsync | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pve-zsync b/pve-zsync
index c54441d..283b55c 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -761,6 +761,8 @@ sub parse_disks {
push @$cmd, 'pvesm', 'path', "$stor$disk";
my $path = run_cmd($cmd);
+ die "Get no
---
pve-zsync | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pve-zsync b/pve-zsync
index c7e6e81..c54441d 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -774,13 +774,13 @@ sub parse_disks {
$disks->{$num}->{all} .= "\/$disk";
$num++;
- } elsif
---
src/PVE/LXC.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 8efc0c6..69bc502 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -887,7 +887,7 @@ sub parse_ct_mountpoint {
return undef if !defined($res->{volume});
if
---
src/PVE/LXC.pm | 34 --
1 file changed, 34 deletions(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 69bc502..a9a67c1 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -838,40 +838,6 @@ sub vmstatus {
return $list;
}
-my $parse_size = sub {
-
---
src/PVE/API2/LXC/Config.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/API2/LXC/Config.pm b/src/PVE/API2/LXC/Config.pm
index cd1a9cd..d43489f 100644
--- a/src/PVE/API2/LXC/Config.pm
+++ b/src/PVE/API2/LXC/Config.pm
@@ -261,7 +261,7 @@
---
Makefile | 2 +-
.../0001-worker-validate-correctly-surfaces.patch | 117 +
...d-double-free-or-double-create-of-surface.patch | 41
...efine-a-constant-to-limit-data-from-guest.patch | 42
---
PVE/Storage/ZFSPoolPlugin.pm | 19 +++
1 file changed, 19 insertions(+)
diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm
index 72dfd0f..b8bd509 100644
--- a/PVE/Storage/ZFSPoolPlugin.pm
+++ b/PVE/Storage/ZFSPoolPlugin.pm
@@ -577,11 +577,30 @@ sub
---
PVE/Storage/ZFSPoolPlugin.pm | 20 ++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm
index 8002dda..72dfd0f 100644
--- a/PVE/Storage/ZFSPoolPlugin.pm
+++ b/PVE/Storage/ZFSPoolPlugin.pm
@@ -308,6
---
src/PVE/LXC/Migrate.pm | 4
1 file changed, 4 insertions(+)
diff --git a/src/PVE/LXC/Migrate.pm b/src/PVE/LXC/Migrate.pm
index 1a51829..58e4ea2 100644
--- a/src/PVE/LXC/Migrate.pm
+++ b/src/PVE/LXC/Migrate.pm
@@ -113,6 +113,10 @@ sub phase1 {
PVE::LXC::umount_all($vmid,
Not really.
It makes an shnapshot but can't mount the snapshot, but we get no error.
Try to mount a snapshot with this code.
> Dietmar Maurer hat am 18. November 2015 um 17:38
> geschrieben:
>
>
> > now it is possible to make a snapshot and mount it to backup it.
>
> This
101 - 200 of 954 matches
Mail list logo