fdisk -l
2. Create physical volume.
pvcreate /dev/hdb
3. Find out the name of the disk.
ll /dev/disk/by-id/
...
lrwxrwxrwx 1 root root 9 Jan 28 22:18 ata-VMware_Virtual_IDE_Hard_Drive_01000000000000000001 -> ../../hdb
4. Create SR.
xe sr-create type=lvm content-type=user device-config:device=/dev/disk/by-id/ata-VMware_Virtual_IDE_Hard_Drive_01000000000000000001 name-label=”LOCAL DISK”
After the running above command, the LOCAL DISK will be in Xenserver's Storage Repositories.
Note: You can name your own name-label.