You are not logged in.
I only posted this here, because of one thing specifically, its because I am speaking of doing this with regards to Hyperbola.
Does anyone know how to use gparted, or gpart to disable encryption temporarily in luks, so I can resize the vm, but without increasing the size on the physical disk but make sure that it is available in the virtual disk.
Right now for example, I have a qcow2 that uses 8.4GB but, it has 118GB virtual disk size in it.
Reason being, I want to be able to copy the qcow2 to disk whenever needed without any annoying problems, of space getting used up too much.
I also wanted to make a few variants of it.
200GB
465GB/476GB
954GB
and still have the 118GB of course.
The non used space though, I don't want to take up physical space on disk though.
Last edited by zapper (2023-02-05 02:35:03)
Black Lives Matter! I am white, but I prefer equality over hatred.
Haughtiness comes before a fall, pride before destruction.
Peace be with you!
No one can serve two masters. Either you will hate the one and love the other, or you will be devoted to the one and despise the other. You cannot serve both God and mammon!
Offline
For some reason "man crypsetup" sounds like a good idea in that situation. Or at least i don't think that gparted is the right tool. If i remember correctly there may be some options(with command cryptsetup) which have something to do with resizing.
Last edited by nahkhiirmees (2023-05-04 20:08:59)
Offline
nor sure i understand. so you want to resize luks partition? other partition? there's only one partition?
you can't disable luks temporarily. there are ways to disable completely (under certain circumstances) but not temporarily.
but you can resize luks partition like any other one. involves a few extra steps, but not impossible.
btw, you can use nbd mount for qcow2 image, and gparted on that afterwards.
Offline
nor sure i understand. so you want to resize luks partition? other partition? there's only one partition?
you can't disable luks temporarily. there are ways to disable completely (under certain circumstances) but not temporarily.
but you can resize luks partition like any other one. involves a few extra steps, but not impossible.btw, you can use nbd mount for qcow2 image, and gparted on that afterwards.
That would probably also work. Thanks
Black Lives Matter! I am white, but I prefer equality over hatred.
Haughtiness comes before a fall, pride before destruction.
Peace be with you!
No one can serve two masters. Either you will hate the one and love the other, or you will be devoted to the one and despise the other. You cannot serve both God and mammon!
Offline