Gentoo Archives: gentoo-dev

From: Shaochun Wang <scwang@××××××.cn>
To: gentoo dev <gentoo-dev@l.g.o>
Subject: [gentoo-dev] There is no need to stop RAID on shutdown
Date: Fri, 29 Aug 2008 05:49:37
Message-Id: 20080829054928.GA32481@localhost
1 Hi Vapier:
2
3 Currently, I installed rootfs on RAID5 array by using mdadm and lvm.
4 On shutting down, I notice that the system produced the following
5 error message:
6
7 mdadm: fail to stop array /dev/md3: Device or resource busy
8
9 After searching the internet, I found that this is because the rootfs
10 on the RAID. With rootfs on RAID, we can't umount the filesystem on
11 the RAID, so we can't stop this RAID.
12
13 In fact, there is no need to stop the RAID explicitly on shutdown
14 because the kernel will stop it internally and automatically!
15
16 So my suggestion is that don't add the raid-stop.sh addon in the
17 package sys-fs/mdadm, which is maintained by you if I am not wrong.
18
19 Ref: http://readlist.com/lists/gentoo.org/gentoo-user/8/43983.html
20 http://bugs.gentoo.org/show_bug.cgi?id=119380
21
22 --
23 Shaochun Wang <scwang@××××××.cn>
24
25 Jabber: fungusw@××××××.org