Re: Vinum status

From: Paul Mather (paul_at_gromit.dlib.vt.edu)
Date: 08/02/04

  • Next message: Tony Montana: "Laptop Optical CD drive-Laptop 5.2.1 install"
    To: Lukas Ertl <le@FreeBSD.org>
    Date: Mon, 02 Aug 2004 11:35:47 -0400
    
    

    On Thu, 2004-07-29 at 15:57, Lukas Ertl wrote:
    > On Thu, 29 Jul 2004, Paul Mather wrote:
    >
    > > Does this imply that root-on-gvinum is working now? Last time I tried
    > > it (shortly after gvinum was committed to the tree), it worked except
    > > that only half of the drives, plexes, and volumes in my Vinum RAID 1
    > > mirror were detected when the gvinum module read the configuration from
    > > the drives during boot.
    >
    > I still didn't have a chance to build a root-on-gvinum setup, but I'd be
    > happy if you could test it. It's quite likely that the errors were
    > related.

    I rebuilt my kernel+world as part of the GCC 3.4.2 import, and
    re-attached my two root-on-vinum test drives. I dumped over the current
    system to the vinum volumes and edited /etc/fstab for an all-vinum
    setup.

    I'm happy to report that the current geom_vinum kernel module
    successfully detects all plexes during boot when loaded from
    /boot/loader.conf. So, I now have a working root-on-gvinum setup
    running (including swap-on-gvinum). Thanks!!

    My only question is that although writes go to both disks in my mirrored
    setup, reads are only done from one disk of the mirror. In my case, all
    reads are always to drive ad2 of my ad0+ad2 mirror. This implies to me
    a default "readpol prefer <someplex>" on my defined volumes rather than
    the "readpol round" that appears to be the default under vinum. (At
    least on my 4.10-STABLE system, both drives are used for reads, implying
    a "readpol round" default behaviour.)

    Does gvinum support "readpol round" or is it just that its default
    differs from the old vinum? If the latter, is there a way to change the
    read policy on a volume without deleting the old volume or otherwise
    destroying its contents? The vinum configuration I'm using is an exact
    duplicate of a 5.1-RELEASE system I created. That system (since
    upgraded to 5.2.1-RELEASE-p9) also sends reads to both drives using
    vinum.

    Again, great job on the gvinum work! (Will you link the kernel module
    into the normal kernel build? I forgot it wasn't the first time I built
    my kernel, and had to go back and build manually the geom_vinum module
    when I couldn't find it to load when at the boot loader prompt. Ditto
    for including gvinum in the regular userland build process.)

    Cheers,

    Paul.

    -- 
    e-mail: paul@gromit.dlib.vt.edu
    "Without music to decorate it, time is just a bunch of boring production
     deadlines or dates by which bills must be paid."
            --- Frank Vincent Zappa
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Tony Montana: "Laptop Optical CD drive-Laptop 5.2.1 install"

    Relevant Pages

    • Vinum problems/questions
      ... I'm currently trying to use vinum to set up a thin client which will ... enable the mirror using a web-interface. ... Currently the two HDs are identical (23Gb IDE drives), ...
      (freebsd-questions)
    • Re: software raid survey
      ... > dump/restore to move /home from the mirror to the stripe. ... Anyways, i agree with you, vinum is extraordinary flexible and powerful, ... In the case of gvinum there is the further problem that only a small ...
      (comp.unix.bsd.freebsd.misc)
    • Re: FreeBSD 5.x raid...
      ... he wants all data on one SATA drive and a mirror on the other. ... Therefore he does not want to "concat" but to "mirror". ... examples often complicatate things by concating some drives then ... while gvinum works pretty good. ...
      (freebsd-questions)
    • Need help with vinum...
      ... I've been trying most of today to get a machine to use vinum to mirror its ... partitions on both, but then I've drawn a blank. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Mirroring: gvinum or gmirror?
      ... I want to set the drives up as a mirror for data redundancy. ... seem to suggest that gvinum hasn't completely stabilised for production yet. ... I run gmirror on all machines which don't have a hardware RAID ...
      (freebsd-questions)