[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] There is no need to stop RAID on shutdown
From:       Shaochun Wang <scwang () ios ! ac ! cn>
Date:       2008-08-29 5:49:28
Message-ID: 20080829054928.GA32481 () localhost
[Download RAW message or body]

Hi Vapier:

Currently, I installed rootfs on RAID5 array by using mdadm and lvm.
On shutting down, I notice that the system produced the following
error message:

	mdadm: fail to stop array /dev/md3: Device or resource busy

After searching the internet, I found that this is because the rootfs
on the RAID. With rootfs on RAID, we can't umount the filesystem on
the RAID, so we can't stop this RAID. 

In fact, there is no need to stop the RAID explicitly on shutdown
because the kernel will stop it internally and automatically!

So my suggestion is that don't add the raid-stop.sh addon in the
package sys-fs/mdadm, which is maintained by you if I am not wrong.

Ref: http://readlist.com/lists/gentoo.org/gentoo-user/8/43983.html
     http://bugs.gentoo.org/show_bug.cgi?id=119380

-- 
Shaochun Wang <scwang@ios.ac.cn>

Jabber:	fungusw@jabber.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic