[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Software-RAID for root partition



On Sat, Dec 22, 2007 at 11:24:10AM +0100, Felix Natter wrote:
> 
> I am using Software-RAID for the root-partition and I get a "Can't shut
> down raid partition because it's busy" message on system shutdown.
> 
> Is using Software-RAID for / not recommended? Can I fix this somehow?
> 

This question comes up a lot, especially from people who's computers
don't poweroff immediatly after that message gets posted.  You see, /
can't be unmounted since the shutdown script is running off it, so it
gets mounted ro.  The act of mounting ro syncs the disks.  Then since
the filesystem is still mounted, the raid array can't be shut down.
However, there is no data activity at this point and the filesystem is
consistant.  

In other words, don't worry about it.  I haven't heard of anybody having
difficulty.  Since its a generic error message (the raid system doesn't
know the system is shuting down), its too bad that the sysvinit
maintainers don't put a message in the shutdown script to "Ignore the
following warning about not being able to shutdown the raid partition".

Doug.


Reply to: