• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 947
  • Last Modified:

Adding disk to Xenserver 5.5

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
amdj
Asked:
amdj
  • 3
  • 2
1 Solution
 
piyushranusriCommented:
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
 
amdjAuthor Commented:
@piyushranusri, what other label do I use? that drive was labeled /dev/sda
0
 
piyushranusriCommented:
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
 
amdjAuthor Commented:
@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
 
amdjAuthor Commented:
Thanks for the help!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now