stop array stalled when screen session open


3 posts in this topic Last Reply

Recommended Posts

I tried to stop the array through the gui in order to reboot to update to 6.3.1. I noticed that it got stuck in a loop retrying to unmount disks. Kept scratching my head until I realized I may have forgotten a screen session open. Ssh'ed in and sure enough, a screen session with mc open in it (from several weeks ago). As soon as I exit mc and screen, array stops.

 

Not sure if the powerdown script would have gotten stuck as well in a power loss scenario (which would be bad). Just wanted to report here.

 

Thanks

Link to post

I tried to stop the array through the gui in order to reboot to update to 6.3.1. I noticed that it got stuck in a loop retrying to unmount disks. Kept scratching my head until I realized I may have forgotten a screen session open. Ssh'ed in and sure enough, a screen session with mc open in it (from several weeks ago). As soon as I exit mc and screen, array stops.

 

Not sure if the powerdown script would have gotten stuck as well in a power loss scenario (which would be bad). Just wanted to report here.

 

Thanks

 

Poweroff/Reboot is invoked with a time-out to catch these kind of "hanging" situations. In other words if you had waited long enough it should continue to poweroff or reboot.

 

Link to post

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.