From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Brown Subject: Re: Linux/MacOSX RAID5 dual boot Date: Fri, 9 Jul 2010 21:29:25 +1000 Message-ID: <20100709212925.3a3bc0a4@notabene.brown> References: <20100709202221.31ea30a7@notabene.brown> <4182A55F-B80C-492F-956C-FD41417F757B@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4182A55F-B80C-492F-956C-FD41417F757B@gmail.com> Sender: linux-raid-owner@vger.kernel.org To: Marek Cc: "linux-raid@vger.kernel.org" List-Id: linux-raid.ids On Fri, 9 Jul 2010 13:15:00 +0200 Marek wrote: > Hi Neil, > > thanks for your answer. Do I understand it correctly that porting the > md driver wouldn't be an option either? No, not really an option. Darwin is sufficiently different from Linux that it would really mean writing a RAID5 driver for Darwin using md as a guide. You could probably borrow some code (if the license allowed it which I doubt) but a very large amount would need to be written from scratch. NeilBrown > > Marek > > On 9.7.2010, at 12:22, Neil Brown wrote: > > > On Fri, 9 Jul 2010 12:07:56 +0200 > > Marek wrote: > > > >> Hi, > >> > >> it seems that my email has hit top 5 ranking on google when searching > >> for "mdadm macosx", but it seems that due to some heavy discussion on > >> this mailing list it probably went unnoticed. > >> I would like to ask if someone would be able to elaborate whether > >> there is a possibility that mdadm would run on Darwin and if so, > >> whether a port would require a substantial rewrite. > > > > mdadm would not run on Darwin. It only works with the 'md' driver > > which is > > only in Linux. > > > > If you want both Linux and Darwin to be able to access the same > > software RAID > > array, you would need to find a format that both understand. > > Probably the easiest way would be do discover how MAC OSX formats > > RAID array > > and write support for that in mdadm. Far from trivial, but probably > > possible. > > > > A quick google suggest that RAID5 is not supported in OSX, so that > > would not > > be an option. > > > > NeilBrown