[9fans] Mirrorarenas in p9p
  Home FAQ Contact Sign in
comp.os.plan9 only
 
Advanced search
POPULAR GROUPS

more...

comp.os.plan9 Profile…
 Up
[9fans] Mirrorarenas in p9p         


Author: Brian L. Stuart
Date: Jul 31, 2008 07:55

I'm running a p9p venti server under Linux using several
(small by current standards) physical drives as my arena
pool. I got a 500GB external USB drive to use as a backup
of the arenas. But here's the gotcha. The number of blocks
per cylinder on the 500GB drive isn't the same as the other
smaller drives. So, I can't create a partition that's exactly
the same size as one of the smaller drives, which means that
the last arena is a different size when I format it. mirrorarenas
complains about that and considers it fatal. I modified
it so that if the destination arena is bigger than the source,
it's just a warning and not fatal and it's happily mirroring
as we speak. But I've got a couple of questions:
- Is this going to cause any problems?
- Is there a better way to handle this?

Thanks,
BLS
3 Comments
Re: [9fans] Mirrorarenas in p9p         


Author: Russ Cox
Date: Jul 31, 2008 09:09

> I'm running a p9p venti server under Linux using several
> (small by current standards) physical drives as my arena
> pool. I got a 500GB external USB drive to use as a backup
> of the arenas. But here's the gotcha. The number of blocks
> per cylinder on the 500GB drive isn't the same as the other
> smaller drives. So, I can't create a partition that's exactly
> the same size as one of the smaller drives, which means that
> the last arena is a different size when I format it. mirrorarenas
> complains about that and considers it fatal. I modified
> it so that if the destination arena is bigger than the source,
> it's just a warning and not fatal and it's happily mirroring
> as we speak. But I've got a couple of questions:
> - Is this going to cause any problems?
> - Is there a better...
Show full article (1.58Kb)
2 Comments
Re: [9fans] Mirrorarenas in p9p         


Author: Brian L. Stuart
Date: Jul 31, 2008 12:55

> 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.

Thanks,
BLS
1 Comment
Re: [9fans] Mirrorarenas in p9p         


Author: Russ Cox
Date: Jul 31, 2008 15:16

>> 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...
Show full article (1.28Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
Re: [9fans] p9p for Mac OS Xcomp.os.plan9 ·