티스토리 뷰

http://www.xenlens.com/detach-nfs-iso-library-from-citrix-xenserver-6/

I had a situation today where my XenServer pool had an old NFS ISO Library attahced while the NFS share itself had been taken down long time ago on that specific IP address. After searching for different solutions I found out that the only working solution without a restart was to set up the exact same NFS share on the same IP address. Only then you can detach the NFS ISO SR.

After you have re-attached the nfs share on the same ip and same path you can detach it from XenCenter or follow these CLI commands:

Get the storage repository uuid:

xe sr-list name-label="Your SR name"

Get the uuid of pbd:

xe pbd-list sr=<UUID of SR>

Unplug all pbd-s by issuing:

xe pbd-unplug uuid=<UUID of PBD>

Forget the SR:

sr-forget uuid=<UUID of SR>

You can also try to use the –force option with any of the commands above.

Conclusion:

Managed to remove the NFS SR without a restart.

The defunctioning NFS storage repository was actually preventing any other SR related actions on my pool.

'xenserver' 카테고리의 다른 글

XenServer Host, PBD, SR, VDI, VBD, VM  (0) 2016.05.15
[xenserver] Error: "VDI Not Available"  (0) 2016.04.06
Helpfull XenServer Commands  (0) 2016.03.30
OVS 재시작 명령어  (0) 2016.03.14
hang vm 강제 삭제 for xenserver  (0) 2016.02.25
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함