Solved

Adding disk to Xenserver 5.5

Posted on 2013-02-06
5
926 Views
Last Modified: 2013-02-08
Hi,
Just added a 500G disk to PowerEdge R610 hosting Xenserver, but when try run xe sr-create command and I got this error.

 xe sr-create host-uuid=a7bd4ed5-a059-450f-bc55-b8b319235bc1 content-type=user type=ext device-config:device=/dev/sda shared=false name-label="Local storage 2"

The SR operation cannot be performed because a device underlying the SR is in use by the host.

[root@xenserver ~]# fdisk -l

Disk /dev/sda: 499.0 GB, 499021512704 bytes
255 heads, 63 sectors/track, 60669 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         499     4008186   83  Linux
/dev/sda2             500         998     4008217+  83  Linux
/dev/sda3             999       60669   479307307+  83  Linux

Disk /dev/sdc: 429.4 GB, 429496729600 bytes
255 heads, 63 sectors/track, 52216 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Anyone has any idea?

Thanks
0
Comment
Question by:amdj
  • 3
  • 2
5 Comments
 
LVL 8

Expert Comment

by:piyushranusri
ID: 38862821
what if you run the command and label that hard drive with another name instead of by default name.

install OMSA dell server admin tool to that server and see the hdd status.
0
 

Author Comment

by:amdj
ID: 38864678
@piyushranusri, what other label do I use? that drive was labeled /dev/sda
0
 
LVL 8

Accepted Solution

by:
piyushranusri earned 100 total points
ID: 38866883
did you try to check by BIOS setting.
restart your system and press ctrl +R  here you will enter in to disk management

by the which controller are you using ?

scsi, perc 6i ??
0
 

Author Comment

by:amdj
ID: 38868597
@piyushramuri, that's exactly what I did.
I solved the problem by setting up the a raid5 storage on scsi controller, after done that Xenserver see it and created a storage repository. It appeared there was a bug in Xenserver 5.5.0. I am all good now!
0
 

Author Closing Comment

by:amdj
ID: 38868599
Thanks for the help!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now