Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264506AbTKNEtn (ORCPT ); Thu, 13 Nov 2003 23:49:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262176AbTKNEtn (ORCPT ); Thu, 13 Nov 2003 23:49:43 -0500 Received: from note.orchestra.cse.unsw.EDU.AU ([129.94.242.24]:9898 "HELO note.orchestra.cse.unsw.EDU.AU") by vger.kernel.org with SMTP id S262174AbTKNEti (ORCPT ); Thu, 13 Nov 2003 23:49:38 -0500 From: Neil Brown To: linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org Date: Fri, 14 Nov 2003 14:11:15 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16308.18387.142415.469027@notabene.cse.unsw.edu.au> Subject: [RFCI] How best to partition MD/raid devices in 2.6 X-Mailer: VM 7.17 under Emacs 21.3.1 X-face: [Gw_3E*Gng}4rRrKRYotwlE?.2|**#s9D md0 9,1 -> md1 ... 9,255 -> md255 9,256 -> md256 9,257 -> md256p1 9,257 -> md256p2 ... 9,320 -> md257 9,321 -> md257p1 ... This has least impact on other system and is in some ways simplest, but it has the problem of lack of uniformity. You wouldn't be able to partition md0, but that isn't a big problem as long as you can partition some md arrays. 4/ just use 'dm', or write a new 'md' module that can present a partition of a device. Then leave the setup to user-space. This is least impact on the kernel, but most impact on user-space. It would not be too hard to create a userspace tool that made most of this fairly transparent. Particularly if it was a new 'md' personality, userspace could then effectively decide how the minor numbers of block-major-9 were used with respect to partitioning. There are probably other options and I would be happy to hear them. My personal preference is wavering between 4 (using md) and 2. Possibly I should learn more about how 'dm' could handle it for me.. Opinions welcome, Thanks, NeilBrown - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/