Move a file from local to local_lvm

smilebasti

Member
Jan 14, 2020
17
0
21
37
Hi i am just migrating from vbox to Proxmox. I am using the method with ova import.
I just uploaded the ova file to local but now i am out of space that i cant unpack the ova file. Is there a way to unpack to local_lvm and add then from there to a VM? I am having an Hardware Raid thats why i am unable to find an easy way of resizing the partition.
Or is there a different method. My ova file is 85 GB and local is 93 GB.

Thanks ahead
 
You can create a temporary volume on your thin pool and format it as ext4 so you can mount it. That should give you enough space to extract your file and process it.

E.g.:
Code:
lvs -a # on a default installation you should see a VG 'pve' and a thin-pool 'data' here, if not replace with your naming-scheme in the commands below
lvcreate -T pve/data -V200G -n yournamehere
mkfs.ext4 /dev/mapper/pve-yournamehere
mount /dev/mapper/pve-yournamehere /mnt/xxx
# ... work your magic in /mnt/xxx ...
umount /mnt/xxx
lvremove pve/data # deletes all data on the temp group!