- Delete the disk created
- From the console of the host , get the UUID of the local Storage Repository (SR)
xe sr-list name-label="iSCSI_1"
uuid ( RO) : 4a37a72d-38c9-0158-eddc-d728624b6211
- Find VM UUID
xe vm-list name-label=VM1
uid ( RO) : 77b6e445-0c7e-8184-871d-250276945425
Find the disk on SR iSCSI_1
xe vdi-list sr-uuid=4a37a72d-38c9-0158-eddc-d728624b6211 name-label=G2RI-odoo_0_ROOT
Question
Clément Mutz1709159134
Hello,
After a crash xenserver I must re-install from scratch on a new machine (base corrupt)
https://discussions.citrix.com/topic/395577-xenserver-doesnt-start/
I would like restore VMs on SAN
So I did that :
- Create VM on xencenter
- Delete the disk created
- From the console of the host , get the UUID of the local Storage Repository (SR)
xe sr-list name-label="iSCSI_1"
uuid ( RO) : 4a37a72d-38c9-0158-eddc-d728624b6211
- Find VM UUID
xe vm-list name-label=VM1
uid ( RO) : 77b6e445-0c7e-8184-871d-250276945425
Find the disk on SR iSCSI_1
xe vdi-list sr-uuid=4a37a72d-38c9-0158-eddc-d728624b6211 name-label=G2RI-odoo_0_ROOT
uuid ( RO) : 9744e37e-9178-47b9-9a8a-21918fc187b0 name-label ( RW): G2RI-odoo_0_ROOT name-description ( RW): Created by template provisioner sr-uuid ( RO): 4a37a72d-38c9-0158-eddc-d728624b6211 virtual-size ( RO): 10737418240 sharable ( RO): false read-only ( RO): false uuid ( RO) : cd84d782-28d3-48b4-bc66-26b425be3dd1 name-label ( RW): G2RI-odoo_0_ROOT name-description ( RW): Created by template provisioner sr-uuid ( RO): 4a37a72d-38c9-0158-eddc-d728624b6211 virtual-size ( RO): 10737418240 sharable ( RO): false read-only ( RO): false uuid ( RO) : fed6c41f-ce2e-4d4b-9fc9-a213871deec4 name-label ( RW): G2RI-odoo_0_ROOT name-description ( RW): Created by template provisioner sr-uuid ( RO): 4a37a72d-38c9-0158-eddc-d728624b6211 virtual-size ( RO): 10737418240 sharable ( RO): false read-only ( RO): false uuid ( RO) : daba5250-eb3b-4351-91f4-8135fb5db5ba name-label ( RW): G2RI-odoo_0_ROOT name-description ( RW): Created by template provisioner sr-uuid ( RO): 4a37a72d-38c9-0158-eddc-d728624b6211 virtual-size ( RO): 10737418240 sharable ( RO): false read-only ( RO): false uuid ( RO) : cc236cc9-141e-4b0c-ada4-6851fd26d39c name-label ( RW): G2RI-odoo_0_ROOT name-description ( RW): Created by template provisioner sr-uuid ( RO): 4a37a72d-38c9-0158-eddc-d728624b6211 virtual-size ( RO): 10737418240 sharable ( RO): false read-only ( RO): false
How can I see the difference between snapshot and disk ?
Regards,
Clement
Link to comment
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now