* [PVE-User] Conversion LXC -> VM, mountpoint to volume?
@ 2021-10-26 16:55 Marco Gaiarin
2021-10-27 7:21 ` Fabian Ebner
2021-10-28 8:04 ` devzero
0 siblings, 2 replies; 4+ messages in thread
From: Marco Gaiarin @ 2021-10-26 16:55 UTC (permalink / raw)
To: pve-user
In my home server i've an LXC container with an additional mountpoint, that
contain a lot of data (1.5TB).
I need to convert the LXC to a VM; there's no trouble to reinstall the base
machine, but if possible i don't want to 'move' 1.5TB of data...
Can i simply (a rename suffices? I'm using ZFS as storage) convert an LXC
mountpoint to an VM (additional) volume?
Thanks.
--
Sorry, non uso Emacs, sono già sposato... ;-)
(Alvise Belotti)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PVE-User] Conversion LXC -> VM, mountpoint to volume?
2021-10-26 16:55 [PVE-User] Conversion LXC -> VM, mountpoint to volume? Marco Gaiarin
@ 2021-10-27 7:21 ` Fabian Ebner
2021-10-29 10:32 ` Marco Gaiarin
2021-10-28 8:04 ` devzero
1 sibling, 1 reply; 4+ messages in thread
From: Fabian Ebner @ 2021-10-27 7:21 UTC (permalink / raw)
To: pve-user
Hi,
I don't think that's possible without moving the data. The LXC
mountpoint is a ZFS file system, but for a VM you need a ZFS volume,
which is a virtual block device, so renaming won't work.
Am 26.10.21 um 18:55 schrieb Marco Gaiarin:
>
> In my home server i've an LXC container with an additional mountpoint, that
> contain a lot of data (1.5TB).
>
> I need to convert the LXC to a VM; there's no trouble to reinstall the base
> machine, but if possible i don't want to 'move' 1.5TB of data...
>
>
> Can i simply (a rename suffices? I'm using ZFS as storage) convert an LXC
> mountpoint to an VM (additional) volume?
>
>
> Thanks.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PVE-User] Conversion LXC -> VM, mountpoint to volume?
2021-10-27 7:21 ` Fabian Ebner
@ 2021-10-29 10:32 ` Marco Gaiarin
0 siblings, 0 replies; 4+ messages in thread
From: Marco Gaiarin @ 2021-10-29 10:32 UTC (permalink / raw)
To: Fabian Ebner; +Cc: pve-user
Mandi! Fabian Ebner
In chel di` si favelave...
> I don't think that's possible without moving the data. The LXC
> mountpoint is a ZFS file system, but for a VM you need a ZFS volume,
> which is a virtual block device, so renaming won't work.
root@vmedialpb:~# mount | grep /srv
hddpool/data/subvol-102-disk-0 on /srv type zfs (rw,xattr,posixacl)
OK, i have to move some data... ;-(((
Thanks.
--
Gli ippopotami non fanno niente, basta la presenza
ippopotami non si nasce, si diventa (R. Vecchioni)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PVE-User] Conversion LXC -> VM, mountpoint to volume?
2021-10-26 16:55 [PVE-User] Conversion LXC -> VM, mountpoint to volume? Marco Gaiarin
2021-10-27 7:21 ` Fabian Ebner
@ 2021-10-28 8:04 ` devzero
1 sibling, 0 replies; 4+ messages in thread
From: devzero @ 2021-10-28 8:04 UTC (permalink / raw)
To: pve-user
in theory, there is a way to passtrough files into a VM in kvm/qemu, but i don't think thats "ready for production", especially with large amounts of data
https://forum.proxmox.com/threads/virtfs-virtio-9p-plans-to-incorporate.35315/
http://www.linux-kvm.org/page/9p_virtio
roland
> Gesendet: Dienstag, 26. Oktober 2021 um 18:55 Uhr
> Von: "Marco Gaiarin" <gaio@lilliput.linux.it>
> An: pve-user@lists.proxmox.com
> Betreff: [PVE-User] Conversion LXC -> VM, mountpoint to volume?
>
>
> In my home server i've an LXC container with an additional mountpoint, that
> contain a lot of data (1.5TB).
>
> I need to convert the LXC to a VM; there's no trouble to reinstall the base
> machine, but if possible i don't want to 'move' 1.5TB of data...
>
>
> Can i simply (a rename suffices? I'm using ZFS as storage) convert an LXC
> mountpoint to an VM (additional) volume?
>
>
> Thanks.
>
> --
> Sorry, non uso Emacs, sono già sposato... ;-)
> (Alvise Belotti)
>
>
>
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-10-29 10:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-26 16:55 [PVE-User] Conversion LXC -> VM, mountpoint to volume? Marco Gaiarin
2021-10-27 7:21 ` Fabian Ebner
2021-10-29 10:32 ` Marco Gaiarin
2021-10-28 8:04 ` devzero
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox