Cannot stop array - Need help!


tknx
Go to solution Solved by tknx,

Recommended Posts

I have seen a couple of messages around this, but no real answer..

 

My array can't be stopped, when I try I get the following repeated in console:
 

Mar 13 10:25:35 Tower root: rmdir: failed to remove '/mnt/user': Device or resource busy
Mar 13 10:25:35 Tower  emhttpd: shcmd (370295): exit status: 1
Mar 13 10:25:35 Tower  emhttpd: shcmd (370297): /usr/local/sbin/update_cron
Mar 13 10:25:35 Tower  emhttpd: Retry unmounting user share(s)...
Mar 13 10:25:40 Tower  emhttpd: shcmd (370298): umount /mnt/user
Mar 13 10:25:40 Tower root: umount: /mnt/user: target is busy.
Mar 13 10:25:40 Tower  emhttpd: shcmd (370298): exit status: 32
Mar 13 10:25:40 Tower  emhttpd: shcmd (370299): rmdir /mnt/user

 

Diagnostics attached.

 

My questions:
 

1. How do I shut down my system safely right now - ideally without needing a parity run?

2. How do I fix this on a permanent basis?

tower-diagnostics-20230313-1026.zip

Link to comment
  • Solution

OK, diagnosed it. Posting for posterity:

 

lsof | grep /mnt/user

 

Got a random bash process:

 

bash      21148                       root  cwd       DIR               0,56     4096 648799827764686976 /mnt/user/media/anime-movies

 

kill -9 21148

 

it shut down. No idea what process that was... maybe an open session somewhere.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.