From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KYwrY-0001O8-RU for garchives@archives.gentoo.org; Fri, 29 Aug 2008 05:49:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 921CAE031E; Fri, 29 Aug 2008 05:49:34 +0000 (UTC) Received: from ox1.ios.ac.cn (mail.ios.ac.cn [124.16.137.58]) by pigeon.gentoo.org (Postfix) with ESMTP id EA180E031E for ; Fri, 29 Aug 2008 05:49:33 +0000 (UTC) Received: from ios.ac.cn ([124.16.137.5]) (authenticated bits=0) by ox1.ios.ac.cn (8.13.8/8.13.8) with ESMTP id m7T5nTSi031872 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 29 Aug 2008 13:49:29 +0800 Received: by dell745.ios.ac.cn (Postfix, from userid 1000) id DE6AD70304; Fri, 29 Aug 2008 13:49:28 +0800 (CST) Date: Fri, 29 Aug 2008 13:49:28 +0800 From: Shaochun Wang To: gentoo dev Subject: [gentoo-dev] There is no need to stop RAID on shutdown Message-ID: <20080829054928.GA32481@localhost> Mail-Followup-To: gentoo dev Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 53b70a20-76c5-4bb3-8b47-8da56f799496 X-Archives-Hash: 1327c4d0e998a129c0364ad30711d4d2 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 Jabber: fungusw@jabber.org