[SOLVED] Problem about the snapshot location

parker0909

Well-Known Member
Aug 5, 2019
82
0
46
36
Hello All,

I am using the Proxmox 5.4 with Ceph to build the cluster and storage pool. May i know how to identify the snapshot location when we have taken the VM snapshot?
I try to check the ceph storage pool,but i can't be found any file created. Thank you.

Parker
 
Hi,

what do you mean with snapshot location?
if you get a list of the snapshot on image base you can use this command.

Code:
rbd snap list <image>
 
Thank you.
I would like to confirm any extra diskspace will be using when i taken the snapshot for Virtual machine. Thank you.

I have tried to execute the command but i got below message.
rbd: error opening default pool 'rbd'
Ensure that the default pool has been created or specify an alternate pool name

Parker
 
Hi,

what do you mean with snapshot location?
if you get a list of the snapshot on image base you can use this command.

Code:
rbd snap list <image>

I have tried to execute the command again. May i know how to find the <image> value in proxmox?

Thank you.
 
Here is an example.

Code:
# pvesm status
Name             Type     Status           Total            Used       Available        %
local             dir     active         7933384         2749632         4761048   34.66%
local-lvm     lvmthin     active        14675968               0        14675968    0.00%
rbd               rbd     active       164139371         5372203       158767168    3.27%

# pvesm list rbd
Volid             Format  Type             Size VMID
rbd:vm-100-disk-0 raw     images    34359738368 100
rbd:vm-101-disk-0 raw     images    34359738368 101
rbd:vm-106-disk-0 raw     rootdir    8589934592 106

# rbd -p rbd snap list vm-106-disk-0
SNAPID NAME SIZE  PROTECTED TIMESTAMP               
     4 test 8 GiB           Fri Dec  6 13:13:36 2019
 
Here is an example.

Code:
# pvesm status
Name             Type     Status           Total            Used       Available        %
local             dir     active         7933384         2749632         4761048   34.66%
local-lvm     lvmthin     active        14675968               0        14675968    0.00%
rbd               rbd     active       164139371         5372203       158767168    3.27%

# pvesm list rbd
Volid             Format  Type             Size VMID
rbd:vm-100-disk-0 raw     images    34359738368 100
rbd:vm-101-disk-0 raw     images    34359738368 101
rbd:vm-106-disk-0 raw     rootdir    8589934592 106

# rbd -p rbd snap list vm-106-disk-0
SNAPID NAME SIZE  PROTECTED TIMESTAMP              
     4 test 8 GiB           Fri Dec  6 13:13:36 2019
Thank you.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!