Jump to content

docker.img and libvirt.img not unmounted on shutdown causing errors


dlandon

Recommended Posts

unRAID OS Version: 6.2RC5

 

Description: docker.img and libvirt.img not unmounted on shutdown.

 

How to reproduce: Boot in safe mode and then shutdown.

 

Expected results: docker.img and libvirt.img unmounted.

 

Actual results: docker.img and libvirt.img stay mounted and cause console errors.

 

Other information:

console errors:
Unmounting local file systems:
umount:  /mnt/cache: target is busy
                (In some cases useful info about processes that
                 use the device is found by lsof( or fuser(1).)
umount: /mnt: target is busy
                (In some cases useful info about processes that
                 use the device is found by lsof( or fuser(1).)

 

Diagnostics attached.

tower-diagnostics-20160911-1129.zip

Link to comment

I stand corrected.  I'm not sure what is causing the problem, but the docker.img and libvirt.img mounts don't seem to be causing the issue.

 

LT,

 

I have made a few changes to the rc.6 script (attached) that I would like you to take a look at.  I have incorporated a few ideas from the powerdown script:

  • Save diagnostics just before starting shutdown procedure.
  • Save syslog to /boot/logs/ instead of /boot/ to consolidate the log and diagnostics.
  • Added explicit unmount of docker.img and libvirt.img.

 

If these changes are incorporated into the stock rc.6 script, then I can deprecate the powerdown plugin.  The powerdown plugin was a good idea back in the v5 days, but is no longer necessary and I am uncomfortable with a plugin taking over the unRAID shutdown process.  I will not be able to commit much time in the future to support and maintenance of the powerdown plugin.

rc.zip

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...