This article was first published here

first let me paint a picture of our current Xen setup.

we have a DL360 G5 server with Xenserver 5 installed on it which is working fine and all VM currently are stored on the local storage within the servers smart array.

The local storage on the servers internal SAS drive array setup is becoming full. for this reason we want to use the spare Promis Vtrak SCSI DAS which is now plugged into the xen server. This DAS has been setup with one big RAID 5 array with 1 logical drive which is ~8TB.

I have followed the correct article to attach the storage using the xe sr-create… command which i found on citrix KB website.

now the storage and its lable is displayed in Xenserver as a SR, it shows the correct size of the logical drive and it says that the drive is correctly functional.

now the problem is if as a test i go ahead and create a new VD on this SR the following error is reported:  “the attempt to create a vdi failed”.

As another test i set the new SCSI DAS storage as the default SR. Then created a new VM, under the SR logs the following error was reported: “the vdi is not available”.

We are stuck at this point and cannot find anything on the web to solve it.

please advise.

Michael.

Virtualization

2


1

Last Comment

Bertling


29/7/2010

Avatar of PeterSinger

PeterSinger

27/7/2010

Type : fdisk -l
you’ll see the list of all volumes and hard drives, then :
Type :

pvcreate /dev/sdb

sdb is my new volume
and then to configure it as a local storage :
Type :

xe sr-create type=lvm content-type=user device-config:device=/dev/disk/by-id/scsi-SATA_ST3320620AS_5QF7QZZL name-label=”LOCAL SR”


scsi-SATA_ST3320620AS_5QF7QZZL is the name of my volume, you’ll have to change this value with your own, and name-label is the name you want to give to your local storage.
and this is it !


Remark : If your XenServer is a pool, you need to put it off, follow above steps and put back the XenServer in your pool.

Leave a Reply