Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trialing using a distributed file system as the backend storage for my Xen Servers.

I have set up the DFS (distributed file system) (using CentOS and GlusterFS) and everything is working perfectly with suprisingly good IOPS speed, however I am now running into an issue with the VHD's (virtual hard disks) which are being synced to my planned DR (desaster recovery) storage.

My VHD's are being written to two local SAN (storage area network) servers and these are then synced using geo-replication to an offsite SAN server. I also have two xen servers connected to the offsite SAN servers.

I can see the VHD's in my offsite storage and I have found that if:

  1. I just move the VHD's into the SR (storage repository), it causes the SR to break.
  2. If I copy and rename the VHD's into the SR, the SR works fine and I can see the VHD in Xen Center, however when I try and start a VM using this VHD, Xen throws an error.

Does anyone know why this is happening and what I can do to try and fix this issue. I know I can import the VHD into XenServer using XenCenter, but I am looking for something which I can do with a script, rather than manually.

Thanks.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_3_0": ["sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"//careers.stackoverflow.com?utm_source=stackoverflow.com&amp;utm_medium=site-ui&amp;utm_campaign=footerlink\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2014 stack exchange inc; user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a>                   with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2014.11.21.2037\r\n            </div>\r\n            \r\n        </div>\r\n    </div>\r\n    <noscript>\r\n        <div id=\"noscript-warning\">Server Fault works best with JavaScript enabled<img src=\"http://pixel.quantserve.com/pixel/p-c1rF4kxgLUzNc.gif\" alt=\"\" class=\"dno\"></div>\r\n    </nosc"], "copyright__copyright__copyright": ["er, however when I try and start a VM using this VHD, Xen throws an error.\n\nDoes anyone know why this is happening and what I can do to try and fix this issue. I know I can import the VHD into XenServer using XenCenter, but I am looking for something which I can do with a script, rather than manually.\n\nThanks.\n\nshare|improve this question\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nBrowse other questions tagged or ask your own question."]}