> Because it is more easier for a user to understand where he is making mistakes
> and why command is not working. for example i run the command via following
> the manual format which is mentioned as below
> qm snapshot <vmid> <snapname> [OPTIONS]

You can also use:

> qm help snapshot

To get a more detailed help.

> root@acivirtsrv:~# qm snapshot 502 testsnap -freezefs -vmstate
> Formatting '/var/lib/vz/images/502/vm-502-state-testsnap.raw', fmt=raw
> size=4819255296
> 
> Undefined subroutine &PVE::QemuServer::gqa_unfreezefs called at
> /usr/share/perl5/PVE/QemuServer.pm line 4287.

This is a bug. I suggest you do not use the '-freezefs' option (It has
not effect currently).

> secondly, how could we list snapshots via command line?

There is no extra command for that, but you can use the API, like:

# pvesh get /nodes/<nodename>/qemu/<vmid>/snapshot

Does that help?

_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to