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

    Replication Backup failure

    Scheduled Pinned Locked Moved Xen Orchestra
    3 Posts 3 Posters 259 Views 3 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.
    • S Offline
      sumansahabd
      last edited by

      xcp-ng free storage.png
      backup failure.png
      Jan 5 11:50:26 xcp-ng-slqtflub SM: [15261] ['/sbin/vgs', '--noheadings', '--nosuffix', '--units', 'b', 'VG_XenStorage-da208944-11c3-c286-b097-2dbf5eb37103']
      Jan 5 11:50:26 xcp-ng-slqtflub SM: [15261] pread SUCCESS
      Jan 5 11:50:26 xcp-ng-slqtflub SM: [15261] lock: released /var/lock/sm/.nil/lvm
      Jan 5 11:50:26 xcp-ng-slqtflub SM: [15261] Not enough space! free space: 571608137728, need: 994645639168
      Jan 5 11:50:26 xcp-ng-slqtflub SM: [15261] Raising exception [44, There is insufficient space]

      To Backup a LVM 1000GB VM , SMlog showing the rquired storage is more than 900GB.BTW , I'm trying to take backup in a external NAS storage using continuous replication

      Can you please suggest any work around to backup the VM.

      K 1 Reply Last reply Reply Quote 0
      • K Offline
        KPS Top contributor @sumansahabd
        last edited by

        @sumansahabd
        Its an LVM-repository. To replicate, you need a snapshot first. A snapshot needs at least 2x the size of the volume on the repository.

        Please check, if this is really the case. If you have a VHD which consumes 51% of the SR, you are not able to snapshot/replicate.

        1 Reply Last reply Reply Quote 1
        • GheppyG Offline
          Gheppy
          last edited by Gheppy

          It's more work, but...

          1. you have to stop the VM and export them,
          2. delete the current SR (Local Storage),
          3. recreate SR (Local Storage) as local ext4 format
          4. import the VM back

          In this way you switch from LVM to ext4 and the space it needs will be small, not double the space

          1 Reply Last reply Reply Quote 0
          • First post
            Last post