VMware Cloud Community
mcvosi
Enthusiast
Enthusiast

can't delete content library

Get following when trying to delete a content library that's no longer being used.

A general system error occurred:

Cannot delete content from library d85475ca-a19c-42ad-968c-4bfe6b09024a, reason: (vim.fault.CannotDeleteFile) {

   faultCause = null,

   faultMessage = null,

   file = [LUN1] /contentlib-d85475ca-a19c-42ad-968c-4bfe6b09024a

}.

Reply
0 Kudos
3 Replies
RAJ_RAJ
Expert
Expert

HI ,

Kindly stop the content library service and start and try to delete .

service-control --stop vmware-vdcs

service-control --start vmware-vdcs

RAJESH RADHAKRISHNAN VCA -DCV/WM/Cloud,VCP 5 - DCV/DT/CLOUD, ,VCP6-DCV, EMCISA,EMCSA,MCTS,MCPS,BCFA https://ae.linkedin.com/in/rajesh-radhakrishnan-76269335 Mark my post as "helpful" or "correct" if I've helped resolve or answered your query!
Reply
0 Kudos
enowai
Contributor
Contributor

Pretty late to this thread, but I had the same issue. I found the solution on http://subnet192.com/?p=794.

Additionally, the content library service is named "vmware-content-library" in 6.7U1, in case a restart of the service works for you.

Reply
0 Kudos
bsnvmw
VMware Employee
VMware Employee

I had the same problem, i tried all the above. in another vcenter, restarting the content library service from the vami worked. in the other vcenter, i disconnected the cdrom that was accessing the content library other file in .iso and managed to delete the library.

Reply
0 Kudos