DeleteXenServerof theISOLibrary
In the actual installation of the XenServer process, due to different requirements we may want to delete the original created ISO library. (In fact, I have built a library, by the way delete one) below I would like to elaborate on how to delete the XenServer ISO library:
Before deleting the ISO library, we first look at the XenServer in the Iso_image library there are no image files, some words click Delete, wood has even.
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/84/6C/wKiom1eQbD2BrvmpAACt2Uva27M115.png "title=" Image001.png "alt=" Wkiom1eqbd2brvmpaact2uva27m115.png "/>
Next we unload the mounted LV, (the device we mount on the fixed directory).
[email protected]/]# Lvdisplay// First look at the LV I created
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/84/6C/wKiom1eQbSGDq_kMAAA7eIkE6zo909.jpg "title=" Image004.jpg "alt=" Wkiom1eqbsgdq_kmaaa7eike6zo909.jpg "/>
[email protected]/]# mount// View our attached information and know that we are attached to the following ISO directory.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/84/6C/wKiom1eQbTOD9_rJAAA1G1qjVbs573.png "title=" Image005.png "alt=" Wkiom1eqbtod9_rjaaa1g1qjvbs573.png "/>
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/84/6C/wKioL1eQbVLB0WFuAAAWh3A7n4M302.png "title=" Image007.png "alt=" Wkiol1eqbvlb0wfuaaawh3a7n4m302.png "/>
[Email protected]/]# Umount/dev/vg_xenstorage-4bc6d0fb-99fd-6516-4319-dce0a3b215d5/localiso
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/84/6C/wKioL1eQbWqRRza8AAA5T14pSEY610.png "title=" Image008.png "alt=" Wkiol1eqbwqrrza8aaa5t14psey610.png "/>
[Email protected]/]# Lvremove/dev/vg_xenstorage-4bc6d0fb-99fd-6516-4319-dce0a3b215d5/localiso
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/84/6C/wKiom1eQbYqxT0MaAAAZStyA09c732.png "title=" Image010.png "alt=" Wkiom1eqbyqxt0maaaazstya09c732.png "/>
The preparation is ready and we are now deleting the xenserver ISO library.
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/84/6C/wKioL1eQbanx7nXTAAC-gRTj7BU483.png "title=" Image012.png "alt=" Wkiol1eqbanx7nxtaac-grtj7bu483.png "/>
Because PBD is already connected, we cannot use the Sr-destroy command to remove the XenServer SR (the repository is used to store the ISO file)
First we need to find the PDB where the SR is.
[email protected]/]# XE sr-list// Locate the SR you want to delete
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/84/6C/wKioL1eQbdGxVLD1AAA_Tkiy9f8130.png "title=" Image013.png "alt=" Wkiol1eqbdgxvld1aaa_tkiy9f8130.png "/>
[email protected]/]# XE pbd-listsr-uuid=7bdea5a6-5474-6ad0-663a-9abd5d63236a// Note that this is the UUID of the SR.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/84/6C/wKioL1eQbemTYPvzAAAoGCPnlhg956.png "title=" Image014.png "alt=" Wkiol1eqbemtypvzaaaogcpnlhg956.png "/>
[email protected]/]# XE pbd-unpluguuid=fe9500ea-2532-7860-d2bd-8fe57ba63e2b// Disconnect PDB connection. Note that the UUID here is the PDB .
[email protected]/]# XE sr-destroyuuid=7bdea5a6-5474-6ad0-663a-9abd5d63236a// Delete SR , here's UUID is a SR of the OH.
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/84/6C/wKioL1eQbgPgS6J8AAAWqoEUA0w127.png "title=" Image015.png "alt=" Wkiol1eqbgpgs6j8aaawqoeua0w127.png "/>
If the error cannot be completed in the previous step, please try the following command
[email protected]/]# XE sr-forgetuuid=7bdea5a6-5474-6ad0-663a-9abd5d63236a// watch this. UUID or is SR of Oh
This article is from the "Jiaao" blog, make sure to keep this source http://jiaao.blog.51cto.com/10894904/1828404
Delete XenServer's ISO library