--- Begin Message ---
Add a map containing raw values from /proc/stat and "uptime_ticks" which
can be used in combination with cpuinfo.user_hz to calculate CPU usage
from two samples. "uptime_ticks" is only defined at the top level, as
/proc/stat is read once, so that core-specific raw values match
--- Begin Message ---
Add a map containing raw values from /proc//stat (utime, stime and
guest_time), "uptime_ticks" and "user_hz" (from cpuinfo) to calcuate
physical CPU usage from two samples. In addition, virtual CPU statistics
based on /proc//task//schedstat ( for virtual cores) are
added - bas
--- Begin Message ---
There is no architecture dependent binary files in the final deb
package. There is no shared libs either (says debhelper), so let's remove
that too.
Signed-off-by: Jing Luo
Reviewed-by: Fabian Grünbichler
---
Changes since v1:
Change the $(DEB) in Makefile too, forgot to ad
On 05/09/2024 14:12, Fiona Ebner wrote:
@@ -483,15 +485,173 @@ __PACKAGE__->register_method ({
return $upid;
}});
+sub volume_move {
Should this even be a new top-level method? Or can/should we extend
export/import instead, to not only cover guest images? Because with this
top-l
Signed-off-by: Filip Schauer
---
src/PVE/Storage.pm | 64 +-
1 file changed, 40 insertions(+), 24 deletions(-)
diff --git a/src/PVE/Storage.pm b/src/PVE/Storage.pm
index 12f7b3f..e5f5326 100755
--- a/src/PVE/Storage.pm
+++ b/src/PVE/Storage.pm
@@ -1682
Add the ability to move an iso, snippet or vztmpl between storages and
nodes.
Use curl to call the API method:
```
curl
https://$APINODE:8006/api2/json/nodes/$SOURCENODE/storage/$SOURCESTORAGE/content/$SOURCEVOLUME
\
--insecure --cookie "$(
---
src/PVE/API2/Storage/Content.pm | 149 +++
Signed-off-by: Filip Schauer
---
src/PVE/API2/Storage/Content.pm | 41 ++--
src/PVE/Storage.pm | 10 +++-
src/PVE/Storage/Plugin.pm | 42 ++---
3 files changed, 87 insertions(+), 6 deletions(-)
diff --git a/src/PVE/AP
Extend the move API to support moving VMA backups to a Proxmox Backup
Server.
Signed-off-by: Filip Schauer
---
debian/control | 1 +
src/PVE/API2/Storage/Content.pm | 86 ++---
src/PVE/Storage/PBSPlugin.pm| 65 +
3 files c
The method can be called from the PVE shell with `pvesm move-volume`:
```
pvesm move-volume [--target-node ]
[--delete]
```
For example to move a VMA backup to a Proxmox Backup Server:
```
pvesm move-volume \
local:backup/vzdump-qemu-100-2024_06_25-13_08_56.vma.zst pbs
```
Or move a cont
Signed-off-by: Filip Schauer
---
src/PVE/Storage/Plugin.pm | 67 +--
1 file changed, 43 insertions(+), 24 deletions(-)
diff --git a/src/PVE/Storage/Plugin.pm b/src/PVE/Storage/Plugin.pm
index 8cc693c..57536c6 100644
--- a/src/PVE/Storage/Plugin.pm
+++ b/src/PV
Add the ability to move a backup, ISO, container template or snippet
between storages and nodes via an API method. Moving a VMA backup to a
Proxmox Backup Server requires the proxmox-vma-to-pbs package to be
installed. Currently only VMA backups can be moved to a Proxmox Backup
Server and moving ba
11 matches
Mail list logo