ssh to the target XenServer.
Get the host-uuid:
[root@xen2001 ~]# xe host-list uuid ( RO) : 3124a321-1650-480f-8df9-dd021e80e102 name-label ( RW): xen2001.test123.com name-description ( RO): Default install of XenServer
Get the new disk info:
[root@xen2001 ~]# fdisk -l Disk /dev/sda: 999.6 GB, 999643152384 bytes 255 heads, 63 sectors/track, 121533 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 121533 968197387+ 83 Linux Disk /dev/sdb: 999.6 GB, 999643152384 bytes 255 heads, 63 sectors/track, 121533 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/sdb doesn't contain a valid partition table
Create the new Volume using the xe sr-create command:
xe sr-create content-type=user host-uuid=3124a321-1650-480f-8df9-dd021e80e102 type=lvm shared=false device-config-device=/dev/sdb name-label="Local storage 2"
The volume will be visible in XenServer. Can alsow verify using xe sr-list command:
xe sr-list type=lvm