My greetings.
I commented that by mistake a node was added to the cluster, the virtual machines that were functioning normally in the proxmox node were lost.
Here we can see that the disks are in storage, the necessary machines are 100, 101 and 102, these files indicate that they are in raw format.
How can I use those raw files to perform the restoration process.
Use command.
oot@two:/# pvesm list local-zfs
local-zfs:vm-100-disk-0 raw 536870912000 100
local-zfs:vm-101-disk-0 raw 536870912000 101
local-zfs:vm-102-disk-0 raw 536870912000 102
local-zfs:vm-2001-disk-0 raw 536870912000 2001
local-zfs:vm-2002-disk-0 raw 536870912000 2002
local-zfs:vm-2003-disk-0 raw 536870912000 2003
local-zfs:vm-2004-disk-0 raw 536870912000 2004
root@two:/#
We check with these commands that raw disks are represented by zd16 devices and their zd16p1 and zd16p2 partitions
root@two:/# pvesm path local-zfs:vm-102-disk-0
/dev/zvol/rpool/data/vm-102-disk-0
root@two:/# ls -l /dev/zvol/rpool/data/vm-102-disk-0
lrwxrwxrwx 1 root root 13 Feb 4 07:17 /dev/zvol/rpool/data/vm-102-disk-0 -> ../../../zd16
root@two:/# ls -l /dev/zd16
brw-rw---- 1 root disk 230, 16 Feb 4 07:17 /dev/zd16
root@two:/# ls -l /dev/zd16p1
brw-rw---- 1 root disk 230, 17 Feb 4 07:17 /dev/zd16p1
root@two:/# ls -l /dev/zd16p2
brw-rw---- 1 root disk 230, 18 Feb 4 07:17 /dev/zd16p2
If I mount the windows disk partitions, without problem I can see all the files.
The problem is when the disk partition that is Linux LVM is mounted, you cannot see the files
root@two:/dev# mount /dev/zd16p2 /disk0
mount: /disk0: unknown filesystem type 'LVM2_member'.
root@two:/dev#
I am interested in copying the files and directories of that partition.
What suggestions can you give me.
Thank you.
Paul C.
I commented that by mistake a node was added to the cluster, the virtual machines that were functioning normally in the proxmox node were lost.
Here we can see that the disks are in storage, the necessary machines are 100, 101 and 102, these files indicate that they are in raw format.
How can I use those raw files to perform the restoration process.
Use command.
oot@two:/# pvesm list local-zfs
local-zfs:vm-100-disk-0 raw 536870912000 100
local-zfs:vm-101-disk-0 raw 536870912000 101
local-zfs:vm-102-disk-0 raw 536870912000 102
local-zfs:vm-2001-disk-0 raw 536870912000 2001
local-zfs:vm-2002-disk-0 raw 536870912000 2002
local-zfs:vm-2003-disk-0 raw 536870912000 2003
local-zfs:vm-2004-disk-0 raw 536870912000 2004
root@two:/#
We check with these commands that raw disks are represented by zd16 devices and their zd16p1 and zd16p2 partitions
root@two:/# pvesm path local-zfs:vm-102-disk-0
/dev/zvol/rpool/data/vm-102-disk-0
root@two:/# ls -l /dev/zvol/rpool/data/vm-102-disk-0
lrwxrwxrwx 1 root root 13 Feb 4 07:17 /dev/zvol/rpool/data/vm-102-disk-0 -> ../../../zd16
root@two:/# ls -l /dev/zd16
brw-rw---- 1 root disk 230, 16 Feb 4 07:17 /dev/zd16
root@two:/# ls -l /dev/zd16p1
brw-rw---- 1 root disk 230, 17 Feb 4 07:17 /dev/zd16p1
root@two:/# ls -l /dev/zd16p2
brw-rw---- 1 root disk 230, 18 Feb 4 07:17 /dev/zd16p2
If I mount the windows disk partitions, without problem I can see all the files.
The problem is when the disk partition that is Linux LVM is mounted, you cannot see the files
root@two:/dev# mount /dev/zd16p2 /disk0
mount: /disk0: unknown filesystem type 'LVM2_member'.
root@two:/dev#
I am interested in copying the files and directories of that partition.
What suggestions can you give me.
Thank you.
Paul C.