Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Adding disk to Xenserver 5.5

Posted on 2013-02-06
5
Medium Priority
?
943 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 300 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

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Question has a verified solution.

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

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

618 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