Solved

Adding disk to Xenserver 5.5

Posted on 2013-02-06
5
929 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Citrix policies are the most efficient method to configure and tune XenDesktop environments, allowing organizations to control connection, security and bandwidth settings based on various combinations of users, devices or connection types.  Citrix …
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…
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.

685 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