XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to fixture out what is using backup storage?

    Scheduled Pinned Locked Moved Unsolved Backup
    2 Posts 2 Posters 34 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      archw
      last edited by

      I use an NFS device to backup XCP-NG. Is there a good way to figure out what VM is using all teh storage on an NFS backup device?

      For example:

      One directory is :

      /blahblah/backups/vm-backups/a199a812-b2bd-f4d3-a485-44ac888ab355
      and there are several files like this:

      /blahblah/backups/vm-backups/a199a812-b2bd-f4d3-a485-44ac888ab355/20250715T080016Z.xva

      Is there an easy way to figure what belongs to what?

      Thanks!

      poddingueP 1 Reply Last reply
      Reply Quote 0
      • poddingueP poddingue marked this topic as a question
      • poddingueP
        poddingue Vates 🪐 @archw
        last edited by

        @abudef asked almost exactly this a few days ago over on 12466, and @pierrebrunet answered it there with a link to the doc describing the layout, so that thread's probably your quickest route.

        For the specific "which VM is this folder" question, the UUID in the directory name is the VM's own UUID, so xe vm-list uuid=<that-uuid> params=name-label on a host should give you the name back.

        One thing that bite me when I tried it: if the VM has since been deleted, that command prints nothing at all and still exits cleanly, so silence means "no such VM here" rather than "the command didn't work".
        Those silent ones are probably where your space has gone, if I had to guess. I'm not the backup expert here so someone may well have a tidier way of doing it.

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post