[PVE-User] how to check commands behind webconsole

Muhammad Yousuf Khan sirtcp at gmail.com
Sat May 11 11:20:42 CEST 2013


Thanks it is working, how ever i seems like i have to learn "pversh" to get
more control over pve node.


On Sat, May 11, 2013 at 11:40 AM, Dietmar Maurer <dietmar at proxmox.com>wrote:

> > 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 at 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?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20130511/48d5ba92/attachment.htm>


More information about the pve-user mailing list