Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264637AbTKNF14 (ORCPT ); Fri, 14 Nov 2003 00:27:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264636AbTKNF14 (ORCPT ); Fri, 14 Nov 2003 00:27:56 -0500 Received: from 130.146.174.203.mel.ntt.net.au ([203.174.146.130]:2466 "EHLO enki.rimspace.net") by vger.kernel.org with ESMTP id S264631AbTKNF1w (ORCPT ); Fri, 14 Nov 2003 00:27:52 -0500 To: Neil Brown Cc: linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org Subject: Re: [RFCI] How best to partition MD/raid devices in 2.6 In-Reply-To: <16308.18387.142415.469027@notabene.cse.unsw.edu.au> (Neil Brown's message of "Fri, 14 Nov 2003 14:11:15 +1100") References: <16308.18387.142415.469027@notabene.cse.unsw.edu.au> From: Daniel Pittman Date: Fri, 14 Nov 2003 16:27:51 +1100 Message-ID: <87smkrecyw.fsf@enki.rimspace.net> User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.5 (celeriac, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1214 Lines: 45 On Fri, 14 Nov 2003, Neil Brown wrote: [...] > 3/ define minor numbers of block-major-9 that are larger than 255 to > have 6 bits of partitioning information. i.e. > 9,0 -> 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. How about assigning the partition space above 9,0 => md0 9,1 => md1 ... 9,257 => md0p1 9,258 => md0p2 ... 9,320 => md1p1 That should be sensibly backward compatible, I think, and still allow all the MD devices to be partitioned. Daniel -- No, no, you're not thinking, you're just being logical. -- Niels Bohr - 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/