KVM ( Whonix ™ for KVM ) instructions also include documentation on “sparse files”. (valid search term within that page) It is suggesting cp --sparse etc.
Hi again sorry English is not my fist language so I hope that you get my meaning.
I’m actually trying to increase the storage space my bitcoin core setup has taken 93 gig of the initial 100 gig and it will no longer download any more of the blockchain due to lack of space.
I want to increase that hdd space to 200 or 300 gig, I saw the link Patrick posted earlier but it does not give any examples of how it’s possible to do what I’m asking. My host machine has 1tb free and I am only using Whonix GW & WS on this host so there is plenty of free space left.
@Ego would that method you posted work increasing space and not just memory?
The generic answer is “same as with any (KVM) (Debian using) vmdisk.img”. qemu-img mentioned by @Ego may be one part, however also within the operating system you would have to update the partition table / repartition to make actually use the newly gained free space.
Ok so I’ve changed the file size outside the vm to 200 gig, now I need to use gparted to change it inside the vm, I need to get Whonix workstation to bootup via a cd.
So would I just edit Virsh Whonix-Workstation and change the boot to cdrom and link it to the gparted.iso so it will boot up with gparted to change the internal disc space? Or is it going to be more complex than that?
Just an update, I hope this worked it seems to have worked, I logged into my Whonix Workstation and ran the command apt-get install gparted, installed it and then ran the program, I saw my used 100gig and the spare 100gig, I combined them together and restarted the machine.
It’s now showing as /dev/vda1 (locked) ext4 200.00gig used 94.64 unused 105.37