XenServer 6.5 – Add another hard drive

On a XenServer machine that is already running, you may want to add another hard drive.  After adding the hard drive you then notice it is not detected by the system.


To ensure that the new internal hard drive is available as storage repository, complete the following procedure:

  1. Install a hard drive on a XenServer.
  2. Run the following command from the command line interface to display the installed disks:
    fdisk -l
  3. Search for the new hard drive in the list. It will be the last on the list and it is indicated as /dev/sdc. c is the position it is in. Generally, it starts at a, and the list continues. You can verify the device path using the SCSI ID in /dev/disk/by-id directory by listing out the contents
  4. Run the following command from the command line interface:
    xe sr-create name-label=<Name of Storage> shared=false device-config:device=<Path of the Storage device> type=lvm content-type=user
    – Name of Storage is the name of the Storage Repository you require
    – Path of the Storage device is the path as noted in the preceding tasks, /dev/sdc)
    Now, the installed hard drive is visible in the XenServer Console.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s