Destroying or forgetting a SR
You can destroy an SR, which actually deletes the contents of the SR from the physical media. Alternatively you can forget an SR, which allows you to
1.Unplug the PBD to detach the SR from the corresponding XenServer host: xe
2.To destroy the SR, which deletes both the SR and corresponding PBD from the XenServer host database and deletes the SR contents from the physical media:
xe
3.Or, to forget the SR, which removes the SR and corresponding PBD from the XenServer host database but leaves the actual SR contents intact on the physical media:
xe
Note:
It might take some time for the software object corresponding to the SR to be garbage collected.
Introducing an SR
Introducing an SR that has been forgotten requires introducing an SR, creating a PBD, and manually plugging the PBD to the appropriate XenServer hosts to activate the SR.
The following example introduces a SR of type lvmoiscsi.
1.Probe the existing SR to determine its UUID:
xe
2.Introduce the existing SR UUID returned from the
xe
3.Create a PBD to accompany the SR. The UUID of the new PBD is returned:
xe
4.Plug the PBD to attach the SR: xe
5.Verify the status of the PBD plug. If successful the
Note:
Steps 3 through 5 must be performed for each host in the resource pool, and can also be performed using the Repair Storage Repository function in XenCenter.
59