Thursday, September 12, 2019

Citrix XenServer: Create new Storage Repository from Newly Added Disk

Unable to find Newly added Local HDD on Citrix XenServer Management Console to create Storage repository.


Symptom:

Whenever we add new Hard drive to Xenserver Hypervisor Host to create new Storage repository, it will not be visible on XenCenter console to create the new repository.
It will give the message that, "No LUNs were found, Please verify your Hardware Configuration"




Cause:

XenServer will not recognize the new disk automatically from Add storage repository wizard on XenCenter Console,We have to add storage repository from command line.

Resolution:

1. Connect Host via SSH.
2. Enter "fdisk -l" command to identify new disk
3. Note the disk path for new disk, example: /dev/sdb
4. Execute command 
    xe sr-create name-label=<Storage ID> shared=false device-config:device=<Path of the Storage device> type=lvm content-type=user
Note: Give repository name instead of <Storage ID> and disk path instead of <Path of the Storage device>




5. Now newly added Storage repository will be visible on XenCenter Console.





Below is the Citrix Kbase Article for this behavior

https://support.citrix.com/article/CTX130897





No comments:

Post a Comment

Enter Comments...