dragonfyre13 Posted March 22, 2012 Share Posted March 22, 2012 Right now, if I attempt to unmount my array, something seems to be running on my cache drive still. Not sure what it is, I can't identify it with fuser or lsof. Regardless, when I attempt to stop the array it inevitably has led to either a reboot (I killed to many things trying to get the file to be closed on the cache drive) or a manual umount from the commandline. Right now, it seems that just "umount /mnt/cache" is being run to unmount the cache drive, as well as the others. Is it possible to add in if after a handful of tries they still don't unmount, to do a "umount -l" (which will unmount it gracefully, not allowing any new files to be opened, but old files will be closed by their owners before unmounting) It seems to be a logical trade off. If you're stopping your array, you want it down. If you can't bring it down, there's not a lot of options other than a reboot while setting the array to not auto-start. Any ideas/feedback? Quote Link to comment
BRiT Posted March 22, 2012 Share Posted March 22, 2012 You need to/should setup all your additional add-ins/plug-ins to hook into /etc/rc.d/rc.local_shutdown. The logical step is for you to have your items setup properly so they honor the shutdown requests. Quote Link to comment
dragonfyre13 Posted March 31, 2012 Author Share Posted March 31, 2012 They actually are already shut down at that point. Even shutting them down manually doesn't solve the unmount issue, it simply hangs (not entirely sure why) Quote Link to comment
dgaschk Posted April 1, 2012 Share Posted April 1, 2012 Enter "lsof" to see what file is open on the drive. Then enter "fuser" to see which process is using the file. Quote Link to comment
Recommended Posts
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.