Migration from Hyper-V, access to CSVFS

grefabu

Well-Known Member
May 23, 2018
234
14
58
50
Hi,

we plan to migrate an Hyper-V cluster:

2 HV Nodes, Backend HP MSA P2000, Volumes as CSVFS

to proxmox.

As I investigate, there is no direct access to the CSVFS Partitions. But I think about access the Partitions over SMB.
But I don't no, if this work.

Maybee here is someone wich do an identical migration before? Did anybody know, how get access to the csvfs Partitions?

Bye

Gregor
 
After an short brain storm it seems to be easely:

The CSVFS is virtuall mounted on C:\ in the windows FS. From an different system I could mount it and have access to the CSVFS Datastores.
Now I could copy the images to the new host, I think.

I'll inform.
 
Maybee a aditional question:

I've definded multiple ZFS Pools on my proxmox host:

ZFSHDDPOOL 1.1T 128K 1.1T 1% /ZFSHDDPOOL
ZFSHDDPOOL/BACKUPSTORE_PH 11T 9.3T 1.1T 91% /ZFSHDDPOOL/BACKUPSTORE_PH
ZFSHDDPOOL/BACKUPSTORE001 2.5T 1.4T 1.1T 58% /ZFSHDDPOOL/BACKUPSTORE001
ZFSHDDPOOL/VMSTORE002 1.1T 128K 1.1T 1% /ZFSHDDPOOL/VMSTORE002
ZFSSSDPOOL 2.2T 128K 2.2T 1% /ZFSSSDPOOL
ZFSSSDPOOL/VMSTORE001 2.2T 128K 2.2T 1% /ZFSSSDPOOL/VMSTORE001

How could I access the Data from console?

ls -l /ZFSHDDPOOL/VMSTORE002/
total 0

But there are vm disk defined.
 
I think I understand a little bit more:

Code:
root@fti-pbs001:~# zfs list
NAME                                          USED  AVAIL     REFER  MOUNTPOINT
ZFSHDDPOOL                                   20.6T  1.03T      104K  /ZFSHDDPOOL
ZFSHDDPOOL/BACKUPSTORE001                    1.40T  1.03T     1.40T  /ZFSHDDPOOL/BACKUPSTORE001
ZFSHDDPOOL/BACKUPSTORE_PH                    9.29T  1.03T     9.29T  /ZFSHDDPOOL/BACKUPSTORE_PH
ZFSHDDPOOL/VMSTORE002                        9.95T  1.03T       96K  /ZFSHDDPOOL/VMSTORE002
ZFSHDDPOOL/VMSTORE002/vm-101-disk-0          9.95T  2.26T     7.03T  -
ZFSSSDPOOL                                   8.24T  2.09T       96K  /ZFSSSDPOOL
ZFSSSDPOOL/VMSTORE001                        8.24T  2.09T       96K  /ZFSSSDPOOL/VMSTORE001
ZFSSSDPOOL/VMSTORE001/vm-100-disk-0           102G  2.14T     31.5G  -
ZFSSSDPOOL/VMSTORE001/vm-100-disk-1          37.1G  2.12T       56K  -
ZFSSSDPOOL/VMSTORE001/vm-101-disk-0           112G  2.12T     59.3G  -
ZFSSSDPOOL/VMSTORE001/vm-101-state-VorVeeam  17.0G  2.10T     3.74G  -
ZFSSSDPOOL/VMSTORE001/vm-121-disk-0           516G  2.25T      349G  -
ZFSSSDPOOL/VMSTORE001/vm-500-disk-0          92.3G  2.13T     45.8G  -
ZFSSSDPOOL/VMSTORE001/vm-501-disk-0           309G  2.11T      289G  -
ZFSSSDPOOL/VMSTORE001/vm-502-disk-0          33.0G  2.09T     26.0G  -
ZFSSSDPOOL/VMSTORE001/vm-502-disk-1          7.05T  7.08T     2.05T  -
rpool                                        32.3G   506G       96K  /rpool
rpool/ROOT                                   32.3G   506G       96K  /rpool/ROOT
rpool/ROOT/pbs-1                             32.3G   506G     32.3G  /
Code:
root@fti-pbs001:~# cat /etc/pve/qemu-server/100.conf 
agent: 1
boot: order=ide2;ide0;net0
cores: 8
ide0: VMSTORE001:vm-100-disk-0,size=80G
ide2: none,media=cdrom
machine: pc-i440fx-6.1
memory: 8192
meta: creation-qemu=6.1.0,ctime=1645781519
name: PH-TESTWS001
net0: virtio=0E:68:7C:E5:FD:36,bridge=vmbr1,firewall=1
numa: 0
ostype: win10
parent: To21H2
sata0: VMSTORE001:vm-100-disk-1,size=36G
scsihw: virtio-scsi-pci
smbios1: uuid=4f1ba1f4-6ac2-452a-83d7-521b1eb239cd
sockets: 1
vmgenid: 961b4c50-5aba-4261-8e15-d05a0d84ebcc

The disk are defined as zfs 'pool' and will attached directly to the vm?

Is there a way to migrate an vhdx to such an disk?
 
Ive done this. Converted the vhdx with starwind converter to qcow2 on the hyperv host. Create the vm on proxmox and replace the proxmox disk with the converted one via winscp from hyper host to proxmox. Works every time. To avoid win activation issues memory and the number of cores equal to the hyper V settings and use sata for first boot then switch to scsi after driver install.
 

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!