How to delete Local SR on XenServer
1. First, you have to determine the Storage-Repository-UUID:xe sr-list 2. Find the corresponding Physical Block Device (PBD):xe pbd-list sr-uuid=your-SR-uuid3. Unplug the PBD:xe pbd-unplug uuid=your-PBD-uuid4. Delete PBD:xe pbd-destroy uuid=your-PBD-uuid5. Delete the association of your SR and the PBD:xe sr-forget uuid=your-SR-uuid
P.S. Thanks to Citrix Forum