Disk Usage for Control Domain on server 'abc.mydomain.com' has reached 92%.

  • Just in case

  • XCP-ng Team

    So yeah, your local SR ISO is inside root (/) and probably taking a lot of space. You can du -h inside /opt/ISO and see how much space is used by this.

  • 14G. Too much. What would be the leanest way to handle this? Where should I move the ISO images so they don't interfere with DOM?

    Thanks very much

  • Sorry for chasing, will it be good if I just make an ISO dir in /home and set it up as an SR through xe tools?


  • XCP-ng Team

    Anywhere in a NFS share for example 🙂

  • Well, I am on a single server right now, so NFS will not work for me. That's why I am asking what is the best optimal location for an ISO SR on local storage. Some suggestion please - is /home/ISO a good one?

  • XCP-ng Team

    \home isn't in another partition, it's inside root. So no.

    If you need space for your ISOs, you need to use something not used by root. /var/log is too small.

    A cheap USB key can do the trick for example.

  • @Ascar like olivier suggested, you need to put your ISO SR on another disk, if you don't want to add another drive into your host, you can try to resize (shrink) your local ext SR and use the space for ISO SR but it is much easier to just add another drive.

  • Thanks Tony.
    I am using a rented server, so adding every additional piece of hardware comes at an additional cost and I am not doing this myself - have to ask the datacenter company.

    As I have more than enough storage space on one of 2 SSDs I guess for now I will just spin up a new VM, something like FreeNAS and keep the images in it and make an NFS share which the XCP host will use as an SR.

    If you see any deficiency in my plan please share your view.

  • @Ascar That is one way to do it, but running FreeNAS just to make an NFS server takes up a lot of resources. Another way you can do is to clean up one of your SSDs, preferably the one without XCP-ng installed on it, remove the local EXT SR corresponding to that SSD, use NFS on dom0 to export it, then add it to XCP-ng using NFS ISO SR. You can even add NFS SR in this location also, doesn't have to just for ISO SR.

  • XCP-ng Team

    @Ascar said in Disk Usage for Control Domain on server 'abc.mydomain.com' has reached 92%.:

    If you see any deficiency in my plan please share your view.

    The main drawback I see is that you may have to reboot that VM from time to time, so the SR will become unresponsive and maybe hang some tasks until it's back. And when you reboot your hosts they will try to connect to a VM that may not be available yet.

    I would say definitely no for use of a VM as shared storage, but for an ISO SR that may be usable enough.

XCP-ng Pro Support

XCP-ng Pro Support