Configuring a 2nd local partition on Citrix Xenserver 6.2

Recently, I came across a server with two storage arrays, one hdd  and one ssd. Citrix Xenserver was installed on the first storage array and the second one was not configured. I had to ssh on xenserver and run a few commands to force xenserver see the 2nd array properly.

First run fdisk -l

fdisk command

fdisk command

As you can see /dev/sda is the first storage array and /dev/sdb partition is not valid. So run pvcreate /dev/sdb to create the LVM on sdb physical storage device.

pvcreate command

pvcreate command

Finally create the local storage repository by running

xe sr-create type=lvm content-type=user device-config:device=/dev/sdb name-label="Local SSD"

sr-create command

sr-create command

Now the new storage disk will appear on xencenter under the “Local SSD” label.

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s