Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[Hyper-V] How to make partitions and disk smaller?

I am running XG in Hyper-V.

First mystery, the vhd files (the auxiliary in particular) keep growing and growing, although not much space is being used when I check from the Advanced Shell.

The virtual disk size is 80 Gb, so I'm guessing the vhd file will stop growing when it reaches that size.

Unfortunately, I don't have that much space available on the host. I'd like to resize the disk to a smaller size.

Resize-VHD gives me the error below.

fdisk confirms there is no partition table:

So, what are my options? Is there a way to make the disk smaller? Should I create my own disks and install XG on the VM instead? A detailed walk-through for either case would be appreciated, as I am new to both Sophos and Hyper-V.

Cheers.



This thread was automatically locked due to age.
Parents
  • RustemA,

    The minimum disk size required by XG is 80 GB. You cannot shrink the disk because XG used its space to allocate logs and all the rest. 80 GB nowadays are nothing.

    Regards

  • df reports that /dev/var, which is 74 Gb in size , is only 2% used. Does df not show correct information in Sophos XG?

    Respectfully, I'd like to get an answer, not to have people try to talk me out of it.

    If you must know, I put together an appliance to host XG VM, and I used a small SSD for storage. If I knew beforehand, I'd get a bigger SSD, you are right, it's not that big of a deal. But for now, I'm stuck with this one, and it's just a bit too small. (Windows partition takes up a good amout of space as well.)

Reply
  • df reports that /dev/var, which is 74 Gb in size , is only 2% used. Does df not show correct information in Sophos XG?

    Respectfully, I'd like to get an answer, not to have people try to talk me out of it.

    If you must know, I put together an appliance to host XG VM, and I used a small SSD for storage. If I knew beforehand, I'd get a bigger SSD, you are right, it's not that big of a deal. But for now, I'm stuck with this one, and it's just a bit too small. (Windows partition takes up a good amout of space as well.)

Children