Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 1999 11:56:39 +1100 (EST)
From:      "John Saunders" <john.saunders@nlc.net.au>
To:        Greg Lehey <grog@lemis.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: ccd and vinum
Message-ID:  <Pine.LNX.3.95.990124112515.23777A-100000@nhj.nlc.net.au>
In-Reply-To: <19990124104915.H36690@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 24 Jan 1999, Greg Lehey wrote:

> On Saturday, 23 January 1999 at 22:57:29 +1100, John Saunders wrote:
> > As long as it hangs around long enough for me to figure out how to
> > configure vinum (and to compile a RELENG_3 kernel without errors
> > when vinum is included) I will be happy.
> 
> vinum is included in 3.0.  All you need is a ``make world''.  If
> you're having problems with the configuration, let me know what they
> are.

Just trying to get my head around the concepts of what a plex is and the
way the documentation calls what I know as a partition, a subdisk. Also I
think the documentation has the slice and partition concepts swapped from
the way everything else on FreeBSD seems to work. For example "Unlike
standard disk partitions, a Vinum volume is not subdivided into slices,"
But I thought is was the slices subdivided into partitions. i.e. wd0s1
(i.e. slice 1) is disklabeled into partitions a b e f g.

> > Currently I have to remember to manually sync up the root
> > filesystems if I change them.
> 
> How do you do that?

echo "Copying the root filesystem (wd0s1a) to the mirror root filesystem (wd2s1a)."
echo "This could take 30 seconds or more, please wait..."
dd if=/dev/rwd0s1a of=/dev/wd2s1a bs=65536
sync ; sync ; sync
fsck -y /dev/rwd2s1a
sync ; sync ; sync

> > I looked into it some time back. It is probably possible to have a
> > ccd root filesystem if you hack a kernel to do the equivalent of
> > ccdconfig and then get it to mount the ccd device as root. Although
> > it would require substantial code hacking.
> 
> It's not as simple as that.  The bootstrap takes a device name, and
> you can only mount the root file system on that device.

It's possible to mount CD filesystems, MFS, NFS as root (check out
/sys/i386/i386/autoconf.c). I don't see why it wouldn't be possible to
hack this code around to doing something with ccd. Although you would have
to load the kernel image from something like a floppy or CD because the
boot strap probably couldn't access /kernel on the mirrored root device. 

> You must be doing something wrong.  Which version (FreeBSD and vinum)
> are you using?

It was cvsupped about 5 or 6 days ago. I've been trying to get the lastest
for a while but all of the cvsup*.freebsd.org servers are completely full
at the moment. So I can't check if any commits have been made.

Script started on Sun Jan 24 11:23:36 1999
sh-2.02# config -r PACER
Removing old directory ../../compile/PACER:  Done.
Don't forget to do a ``make depend''
Kernel build directory is ../../compile/PACER
sh-2.02# cd ../../compile/PACER
sh-2.02# make depend
[snip]
../../dev/vinum/vinumio.c:44: vinumhdr.h: No such file or directory
../../dev/vinum/vinumio.c:45: request.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop.

Cheers.
--            +------------------------------------------------------------+
        .     | John Saunders  - mailto:john@nlc.net.au            (EMail) |
    ,--_|\    |                - http://www.nlc.net.au/              (WWW) |
   /  Oz  \   |                - 02-9489-4932 or 041-822-3814      (Phone) |
   \_,--\_/   | NHJ NORTHLINK COMMUNICATIONS - Supplying a professional,   |
         v    | and above all friendly, internet connection service.       |
              +------------------------------------------------------------+


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.95.990124112515.23777A-100000>