Skip to content
Home » Citrix » Add Another Local Disk on XenServer as a new Storage Repository

Add Another Local Disk on XenServer as a new Storage Repository

Welcome to our guide for adding Local Disks as a new Storage Repository on a Citrix XenServer host. Yes, using network storage is a safer idea for many situations but there are some use cases where using local storage makes a lot of sense. For example, if you have data (like log files) that is disposable but can be quite large, saving it on a local disk is a totally reasonable thing to do.

In this guide, we’ll walk you through the process of adding local disks as a new storage repository on your Citrix XenServer host, enabling you to benefit from increased storage capacity and faster virtual machine performance.

  • From XenServer console:
    fdisk -l
    • that should return an error like this:
      Disk /dev/sdb doesn't contain a valid partition table
      your local hard drive is “/dev/sdb” or whatever the error the first command shows you
  • run this command:
    xe host-list
    • that will return something like this:
      uuid ( RO) : 3614fba9-f5fc-1c57-0b42-58413c51fc1c
      name-label ( RW): xenb
      name-description ( RO): Default install of XenServer
  • copy the UUID of your host server to the clipboard.
    xe sr-create host-uuid= content-type=user type=lvmohba device-config:device=/dev/sdb shared=false name-label="Local_Stor_2"
    • if you get an error you may need to unmount your current local storage in order to add the new one.
      to do this, run this command:
      xe pbd-list
  • get the UUID of your current storage
    run this:
    xe pbd-unplug uuid=
  • Try mounting your Hardware HBA through Xencenter.
  • This worked for us, hope it does for you too!

Thank you for visiting our website and we hope that our instructions have been helpful to you. If you found our guide informative and useful, please consider sharing it with your friends and colleagues who might also benefit from this knowledge. Your support in spreading the word about our website is greatly appreciated and will help us continue to provide valuable resources to the world. Thank you again for your time and we look forward to your continued support.


reference: http://www.xendesktopmaster.com/how-to-add-an-additional-local-disk-to-your-xenserver-5-5-host/

Exit mobile version