Solved

Adding disk to Xenserver 5.5

Posted on 2013-02-06
5
924 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
Comment Utility
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
Comment Utility
@piyushranusri, what other label do I use? that drive was labeled /dev/sda
0
 
LVL 8

Accepted Solution

by:
piyushranusri earned 100 total points
Comment Utility
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
Comment Utility
@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
Comment Utility
Thanks for the help!
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This is similar to the error described in my previous Article, but with a different source problem and a different solution. When trying to scan and stage the ESXi 6.0 updates using VMware Update Manager, we can get "error code 90"
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
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…
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…

744 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

12 Experts available now in Live!

Get 1:1 Help Now