# System error code was: -4015

**URL:** <https://forums.suse.com/t/system-error-code-was-4015/22327>\
**Category:** SLES Configure-Administer\
**Created:** [March 9, 2012, 4:26pm UTC](https://forums.suse.com/t/system-error-code-was-4015/22327 "2012-03-09T16:26:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![williamhanna](https://avatars.discourse-cdn.com/v4/letter/w/b5e925/32.png) [@williamhanna](https://forums.suse.com/u/williamhanna)\
**Post date:** [March 9, 2012, 4:26pm UTC](https://forums.suse.com/t/system-error-code-was-4015/22327/1 "2012-03-09T16:26:59Z")

</div>

I was using yast2 to remove iscsi volume and the following error appeared on the desktop:

Failure occurred during following action:  
Deleting logical volume /dev/vollinea00/logvol\_iscsi\_01  
System error code was: -4015  
/sbin/lvremove Âf Â/dev/vollinea00/logvol\_iscsi\_01Â:  
CanÂt remove open logical volume Âlogvol\_iscsi\_01Â

WhatÂs the meaning of ÂSystem error code was: -4015Â?  
Sles11SP1 and all current updates installed.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [March 15, 2012, 2:30pm UTC](https://forums.suse.com/t/system-error-code-was-4015/22327/2 "2012-03-15T14:30:34Z")

</div>

williamhanna,

It appears that in the past few days you have not received a response to your  
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit [http://www.suse.com/support](http://www.suse.com/support) and search the knowledgebase and/or check all  
the other support options available.
- You could also try posting your message again. Make sure it is posted in the  
correct newsgroup. ([http://forums.suse.com](http://forums.suse.com))

Be sure to read the forum FAQ about what to expect in the way of responses:  
[http://forums.suse.com/faq.php](http://forums.suse.com/faq.php)

If this is a reply to a duplicate posting, please ignore and accept our apologies  
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team  
[http://forums.suse.com](http://forums.suse.com)

---

<div class="post-metadata">

**Author:** ![Willem1](https://avatars.discourse-cdn.com/v4/letter/w/c57346/32.png) [@Willem1](https://forums.suse.com/u/Willem1)\
**Post date:** [March 15, 2012, 4:59pm UTC](https://forums.suse.com/t/system-error-code-was-4015/22327/3 "2012-03-15T16:59:46Z")

</div>

[QUOTE=williamhanna;2947]I CanÂt remove open logical volume Âlogvol\_iscsi\_01Â

…

WhatÂs the meaning of ÂSystem error code was: -4015Â?  
[/QUOTE]

As the message a little under it indicates… the system/a process still has an active/open LVM connection to the volume you are trying to delete.

Have you ensured all mounts to the volume have been unmounted and checked with ‘lsof /dev/vollinea00/logvol\_iscsi\_01’ what might me keeping a connection to the volume open?

If that’s not clear, try rebooting the system (after having made sure there are not scripts/mount points set anymore) and deleting the volume after the reboot.

-Willem

---

<div class="post-metadata">

**Author:** ![williamhanna](https://avatars.discourse-cdn.com/v4/letter/w/b5e925/32.png) [@williamhanna](https://forums.suse.com/u/williamhanna)\
**Post date:** [March 22, 2012, 4:31pm UTC](https://forums.suse.com/t/system-error-code-was-4015/22327/4 "2012-03-22T16:31:10Z")

</div>

[QUOTE=Magic31;3082]As the message a little under it indicates… the system/a process still has an active/open LVM connection to the volume you are trying to delete.

Have you ensured all mounts to the volume have been unmounted and checked with ‘lsof /dev/vollinea00/logvol\_iscsi\_01’ what might me keeping a connection to the volume open?

If that’s not clear, try rebooting the system (after having made sure there are not scripts/mount points set anymore) and deleting the volume after the reboot.

-Willem[/QUOTE]

I could manually remove the lvm. It seems that ÂSystem error was: -4015Â is a generic yast error message, wich means the lvm is not free to be deleted…  
Thanks,  
William
