So here comes the few steps to add a local storage to your XenServer 5.5 :
Type : fdisk -l
you’ll see the list of all volumes and hard drives, then :
Type : pvcreate /dev/sdb
sdb is my new volume
Type: ls -l /dev/disk/by-id/
you will get the physical volume name
and then to configure it as a local storage :
Type : xe sr-create type=lvm content-type=user device-config:device=/dev/disk/by-id/scsi-SATA_ST3500320NS_9QM8ES3X name-label=”Local storage II”
scsi-SATA_ST3500320NS_9QM8ES3X is the name of my volume, you’ll have to change this value with your own, and name-label is the name you want to give to your local storage.