Where storages PROXMOX 5.1 the VM's and CT's LXC?

ramses

Active Member
Dec 2, 2013
33
7
28
Hi everyone,

The PROXMOX 2.2-31 storages the VM's and the CT's in:

/vz/private/<CTID>

/vz/images/<VMID>

But can anybody tell me where storages PROXMOX 5.1 the VM's and CT's LXC?


Regards,

Ramses
 
Can be any storage you configure. Default is to use lvm-thin volumes.

dietmar, thanks, yes, there is defined a lvm-thin storage.

And can you or anybody tell me how I can access to the files of this storage?

By example, if I need copy the raw disk of a VM or view the content of a LXC CT that not start.


Regards,

Ramses
 
LVM provides block devices, and the default pve lvm-thin storage exposes the volumes at /dev/pve/*

Also see

# man lvm
 
LVM provides block devices, and the default pve lvm-thin storage exposes the volumes at /dev/pve/*

Also see

# man lvm

dietmar, very thank by your answer.

Yes, in the "/dev/pve/" appear all disk of the VM's and CT's:

--------------------------------------------------------------------------
# ls /dev/pve -la
.
.
lrwxrwxrwx 1 root root 7 Feb 17 19:18 vm-100-disk-1 -> ../dm-6
lrwxrwxrwx 1 root root 8 Feb 17 19:18 vm-1020-disk-1 -> ../dm-13
.
.

# ls /dev/dm-6
/dev/dm-6
# ls /dev/dm-13
/dev/dm-13
#
--------------------------------------------------------------------------

The vm-100 is a LXC CT and the vm-1020 is a VM.

But I don't not know how to access to the contain of that disk, by example, to copy the disk if I couldn't make a backup.

Can anybody tell me if It's possible?


Regards,

Ramses