From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Subject: Re: [9fans] Mirrorarenas in p9p From: "Russ Cox" Date: Thu, 31 Jul 2008 18:13:47 -0400 In-Reply-To: <073120081952.25804.48921807000DA385000064CC22193100029B0A02D2089B9A019C04040A0DBF9B9D0E9A9B9C040D@att.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20080731221159.A22791E8C3B@holo.morphisms.net> Topicbox-Message-UUID: f953fc48-ead3-11e9-9d60-3106f5b1d025 >> Also, if you do create a Plan 9 partition and >> then prep it to make subpartitions (you'd have >> to use 9vx, copying the binaries from sources), >> then p9p venti can handle those partition names >> too: /dev/sda1:arenas assuming /dev/sda1 is a >> Plan 9 fdisk partition containing a subpartition >> named arenas. > > So here's what I ended up with. I installed 9vx on > the machine and used that to partition the big > drive: one fairly big partition with 4 subpartitions > for the 4 arena disks already on the machine. The > p9p mirrorarenas didn't like the partition name > notation. It calls initpart which calls parsepart > which seems to only like the numeric range notation. > But running the Plan 9 mirrorarenas in 9vx works > just fine. So I'm pretty much where I want to be > for now. It should be there as of HG revision 2825 (July 3). The particular file contents that I expect are at http://swtch.com/go/venti-plan9-partitions It's at the bottom of the file. In addition to /dev/sda1:arenas you can say /dev/sda:arenas -- the code parses the fdisk table to find the Plan 9 partition too (but it's also happy if you give it the Plan 9 partition directly). Using 9vx is fine, of course, but this is one less moving piece in your mirroring scripts. Russ