ZFS copy files to disk

fredfred

New Member
Jun 3, 2022
2
0
1
I'm new to and playing around with latest and greates ProxmoxVE.
I installed it on a physical machine with three disks. The first two are in a ZFS raid 1, this works fine and as expected.
The third disk I made a wipe and then create ZFS (all done in webgui), create a VM and ran it, works fine.

Now to the problem, I wanted to test to move a VM from my current Windows 10 Hyper-V and found a checklist for how to do that, basically create a new VM and attach the disk after copying it to ProxmoxVE.
Well, here's the problem, accessing my ProxmoxVE with WinSCP to copy the hard disk file I cannot find the attached disk anywhere in the file system, it's not under /mnt or anything, it's not anywhere - how do I find it?
Tried to create a vm and looks for something with that name but there is nothing... so how to?.
 
ZFS stores virtual disks as zvols, which are block devices, so you won't find a file. Did you see the "qm importdisk" command which can turn a uploaded image file into a zvol?
 
Well okay... let me re-phrase the question then.
The RAID1 disk is not large enough to store the diskfile I need to upload, but the third disk is.
Should I then use EXT4 and not use ZFS to succeed in what I need to do - so that I can store the file somewhere...
 
Should I then use EXT4 and not use ZFS to succeed in what I need to do - so that I can store the file somewhere...
Ext4 will work fine ofcourse. On ZFS you need to create a filesystem on the pool first with zfs create yourPool/myNewFilesystem. Then you can store your file on /yourPool/myNewFilesystem (unless you change(d) he mountpoint).
 
  • Like
Reactions: fredfred

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!