1. First, you have to determine the Storage-Repository-UUID:
xe sr-list
-> write down / take note of SR-UUID of the SR to delete
2. Find the corresponding Physical Block Device (PBD):
xe pbd-list sr-uuid=your-SR-uuid
-> write down / take note of PBD-UUID of the PBD to unplug and delete
3. Unplug the PBD:
xe pbd-unplug uuid=your-PBD-uuid
4. Delete PBD:
xe pbd-destroy uuid=your-PBD-uuid
5. Delete the association of your SR and the PBD:
xe sr-forget uuid=your-SR-uuid
Hope that helps.
Best regards,
Thomas
原文链接:http://discussions.citrix.com/topic/252332-delete-local-storage-repository/