Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261735AbUDUVwf (ORCPT ); Wed, 21 Apr 2004 17:52:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261786AbUDUVwe (ORCPT ); Wed, 21 Apr 2004 17:52:34 -0400 Received: from fed1rmmtao01.cox.net ([68.230.241.38]:8106 "EHLO fed1rmmtao01.cox.net") by vger.kernel.org with ESMTP id S261735AbUDUVwc (ORCPT ); Wed, 21 Apr 2004 17:52:32 -0400 To: Hubert Tonneau cc: linux-kernel@vger.kernel.org Subject: Re: The missing RAID level References: <045P8FJ12@server5.heliogroup.fr> From: Junio C Hamano Date: Wed, 21 Apr 2004 14:52:30 -0700 In-Reply-To: (Hubert Tonneau's message of "Tue, 20 Apr 2004 22:18:29 GMT") Message-ID: <7v4qrddmn5.fsf@assigned-by-dhcp.cox.net> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/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: 1178 Lines: 29 >>>>> "HT" == Hubert Tonneau writes: HT> So, one very interesting possibility would be to have an HT> extra RAID level that would do the following: HT> assuming that you connect 5+1 partitions, then you get 5 md HT> partitions, not a single one, with the following properties: HT> . any read to mdX goes straight forward to reading the HT> underlying partition. HT> . any write goes staight forward to writting the underlying HT> partition, but also updates the parity on the extra HT> partition. It seems to me that you can create a single RAID-4 device out of 5 data and 1 parity disks, and run device mapper on top of that RAID-4 device, picking every 6 chunk worth of data and collecting into a device (totalling 6 devices). The first 5 such device mapper devices would end up with blocks from the underlying 5 data disks. I do not know offhand if such a dm target already exists, though. - 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/