View previous topic :: View next topic |
Author |
Message |
Cr0t l33t
Joined: 27 Apr 2002 Posts: 945 Location: USA
|
Posted: Fri Feb 13, 2009 7:06 pm Post subject: mdadm shuts down before the network mounts |
|
|
I never realized this, but during the shutdown Gentoo tries to shutdown mdadm BEFORE unmounting all the network mounts. In my case this doesn't work, because I have NFS mounts on my RAID volumes. _________________ cya |
|
Back to top |
|
|
jordanwb l33t
Joined: 10 Jul 2008 Posts: 642 Location: Ottawa, Canada
|
Posted: Mon Feb 16, 2009 2:00 am Post subject: |
|
|
Try making an init script that unmounts the NFS mounts and put it in the shutdown runlevel like this:
Code: |
depend()
{
before mdadm
}
stop()
{
umount /path/to/dir
}
|
I don't know about that before statement.
[Edit] Are you sure the NFS mounts aren't unmounted along with your other mounts? |
|
Back to top |
|
|
Cr0t l33t
Joined: 27 Apr 2002 Posts: 945 Location: USA
|
Posted: Mon Feb 16, 2009 5:27 am Post subject: |
|
|
I actually fixed it the same day I saw this issue. This should be treated as a bug. _________________ cya |
|
Back to top |
|
|
jordanwb l33t
Joined: 10 Jul 2008 Posts: 642 Location: Ottawa, Canada
|
Posted: Mon Feb 16, 2009 2:58 pm Post subject: |
|
|
Don't forget to put "[Solved]" in the thread title. |
|
Back to top |
|
|
|