July 13, 201015 yr Okay, so I was powering down my unraid server, first time really since my new build. I am assuming it is stuck on unmounting the drives. How long does it normally take, its been unmounting for about 10 minutes now. What can I do to make sure I shut it off safely?
July 13, 201015 yr Okay, so I was powering down my unraid server, first time really since my new build. I am assuming it is stuck on unmounting the drives. How long does it normally take, its been unmounting for about 10 minutes now. What can I do to make sure I shut it off safely? One or more of your disks is busy. (or you have not pressed the "refresh" button on the browser to see that the un-mounting has already occurred. It will NOT refresh itself) A disk is busy if it is the current directory for a process, or if any file on it is open for reading or writing. To see the files open on a given disk type lsof /dev/md1 (for disk1) lsof /dev/md2 (for disk2) etc... It could even be your login shell if you had logged in and changed directory to one of the disks. (It would wait until you logged off for the disk to un-mount) un-mounting typically takes just a few seconds. Joe L.
July 13, 201015 yr Author Nope I kept pressing refresh like an insane person on crack!! Seems mysql has a bunch of files open on my disk1 .... Is that normal? I haven't rebooted yet since I originally built this, so what do i do? Do I just kill the PID process that has them open? Mysql isn't being accessed from anywhere....
July 14, 201015 yr Nope I kept pressing refresh like an insane person on crack!! Seems mysql has a bunch of files open on my disk1 .... Is that normal? I haven't rebooted yet since I originally built this, so what do i do? Do I just kill the PID process that has them open? Mysql isn't being accessed from anywhere.... Well, you must have created a database with the files stored on disk1. Yes, you must stop mysql. Once you do, the unRAID array will be able to un-mount disk1, and the array will stop. easiest way is to type: killall mysqld
Archived
This topic is now archived and is closed to further replies.