for 1, yes, but dont forget the ctl. It´s outside of the mirror interface.
I always made partitions by hand, then set up mirror.

devfs does not update one disk from another AFAIK, only that writes go to
both disks. Thus, to add another disk, partition, copy by hand (while the
original is idle) and reconfigure as a mirror for four.

regarding export you can do it by, for example, starting a venti. In principle,
you can export the raw fs device using import from another machine, but I don´t
know how slow that would be.

hth

On 3/21/07, Devon H. O'Dell <[EMAIL PROTECTED]> wrote:
Hey.

I'm setting up a fileserver. Right now I have 2 250GB disks in it,
that I would like to mirror. I don't particularly care to mirror
single partitions. I want the whole damn thing to be mirrored, and
when anything happens to it, on any partition, it should be synced
between the two.

I'm lead to believe that this is possible by using fs(3). I've put:

mirror rootmirror /dev/sdC0/data /dev/sdD0/data

into /dev/fs/ctl, and put this into a partition accessible through
/dev/sdC0/fscfg

#1) Is fs supposed to sync data from sdC0 to sdD0? If so, shouldn't
sdD0 have all the partitions of sdC0 at some point?

#2) Later, when I add another 2 drives, I'll want to mirror them and
add them to available storage. What's the easiest way to do this?

#3) Which manpages should I read for info on exporting the storage
pools to other good citizens on my network?

Thanks,

Devon


Reply via email to