Professional Web Applications Themes

FreeBSD 5.3+ Vinum or Gvinum - FreeBSD

All, I would like to set up a raid 0 volume on my 5.3 server using two identical SATA drives. After reading through a number of doents I noticed that there are two related utilities to do this, Vinum and Gvinum. Which utility should be used? It's my understanding that Gvinum is the most current and should be used on 5.3+? Does the hadbook refer to Vinum, Gvinum or both? Thanks! --Nick...

  1. #1

    Default FreeBSD 5.3+ Vinum or Gvinum

    All,
    I would like to set up a raid 0 volume on my 5.3 server using two
    identical SATA drives. After reading through a number of doents
    I noticed that there are two related utilities to do this, Vinum and
    Gvinum. Which utility should be used? It's my understanding that
    Gvinum is the most current and should be used on 5.3+? Does the
    hadbook refer to Vinum, Gvinum or both?

    Thanks!
    --Nick
    Nick Guest

  2. #2

    Default Re: FreeBSD 5.3+ Vinum or Gvinum

    On Tue, Mar 15, 2005 at 02:01:06PM -0700, Nick Pavlica wrote: 
    This is not an answer to your question, but another option for you to
    consider: gstripe

    --
    Regards,
    Doug
    Doug Guest

  3. #3

    Default Re: FreeBSD 5.3+ Vinum or Gvinum

    Hi Doug,
    I will take a look at this. Have you used it on any production
    servers? How does it compare to vinum/gvinum in terms of performance
    reliability?

    --Thanks!
    Nick


    On Tue, 15 Mar 2005 15:04:31 -0600, Doug Poland <org> wrote: 
    > This is not an answer to your question, but another option for you to
    > consider: gstripe
    >
    > --
    > Regards,
    > Doug
    >[/ref]
    Nick Guest

  4. #4

    Default Re: FreeBSD 5.3+ Vinum or Gvinum

    Andrea,
    I have started testing with gstripe and have had good results to
    this point. I'm still a little unclear about how to make my stripe
    persistent after a reboot? My server consists of three drives. A
    40GB drive that has the operating system and two 200Gb drives that I'm
    using for the raid 0 volume. I was also curious about a couple of
    other things.

    - There is a .snap directory on the volume. Is this used by gstripe?
    - I changed the mode to fast and didn't notice any difference in my
    basic performance testing. Is there any advantage of using fast?
    - I used newfs -O 2 to create a UFS2 file system on the volume. Is
    this treated like any other UFS2 volume that can utilize fsck, etc?
    - How resiliant is this volume if the system were to crash?

    --Thanks!
    Nick


    On Tue, 15 Mar 2005 23:48:39 +0100, Andrea Venturoli <it> wrote: 
    >
    > I'd reccomend you none of them; look here for detailed reasons:
    > http://people.freebsd.org/~rse/mirror/.
    > In brief, I've experienced severe panics with vinum after an upgrade
    > from 5.2.1 to 5.3 and gvinum is marked as alpha software and poorly
    > doented.
    > I'm quite happy with gmirror now, which the tutorial above describes.
    > You would use gstripe instead.
    >
    > bye
    > av.
    >[/ref]
    Nick Guest

  5. #5

    Default Re: FreeBSD 5.3+ Vinum or Gvinum



    Nick Pavlica wrote:
     
    If you made the stripe using something like

    gstripe label -v -s somenumber data /dev/mumble1 /dev/mumble2

    then it will be persistent subject to gstripe being loaded in the kernel
    - use gstripe load or build a kernel with "options GEOM_STRIPE "

    You see something like

    GEOM_STRIPE: Device data2 created (id=889964967).
    GEOM_STRIPE: Disk da0 attached to data2.
    GEOM_LABEL: Label for provider da1 is ufs/data.
    GEOM_STRIPE: Disk da2 attached to data2.
    GEOM_STRIPE: Device data2 activated.

    In the boot messages (device names will vary - I'm using two 300GB USB
    drives)
     
    Nope that's a ufs2 thing
     
    Yes - although you might want to specify a block size as the defaults
    tend to assume lots of small files which is not always the case for very
    large stripe sets.
     
    The same as any other volume except that you have twice the chance of a
    hard drive failure which would be fatal to the volume.
     
     
    >>I'd reccomend you none of them; look here for detailed reasons:
    >>http://people.freebsd.org/~rse/mirror/.
    >>In brief, I've experienced severe panics with vinum after an upgrade
    >>from 5.2.1 to 5.3 and gvinum is marked as alpha software and poorly
    >>doented.
    >>I'm quite happy with gmirror now, which the tutorial above describes.
    >>You would use gstripe instead.
    >>
    >> bye
    >> av.
    >>
    >>
    >>[/ref]
    >_______________________________________________
    >org mailing list
    >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    >To unsubscribe, send any mail to "org"
    >
    >
    >[/ref]
    John Guest

  6. #6

    Default Re: FreeBSD 5.3+ Vinum or Gvinum

    John,
    That did the trick. I built a new kernel with the GEOM_STRIPE
    option and added an entry to my fstab to mount the volume(stripe) and
    everything worked like a charm. In the end this turned out to be much
    simpler than I had anticipated. I wish this information would have
    been available in the online doentation (Hand Book). I wouldn't
    have even known about gstripe, if it were not for the people on this
    list. I wounder how many undoented gems are out there.

    Thanks Again!
    --Nick



    On Wed, 16 Mar 2005 13:45:40 -0800, John Pettitt <com> wrote: 
    Nick Guest

Similar Threads

  1. gvinum question
    By Roy in forum FreeBSD
    Replies: 3
    Last Post: March 6th, 03:36 AM
  2. Vinum raid5 problems......
    By matt in forum FreeBSD
    Replies: 2
    Last Post: March 4th, 05:52 PM
  3. What is the status of gvinum in FreeBSD 5.3?
    By Bill Moran in forum FreeBSD
    Replies: 3
    Last Post: February 20th, 01:42 AM
  4. vinum vs. DPT smartcacheIV raid
    By Peter C. Lai in forum FreeBSD
    Replies: 5
    Last Post: February 16th, 11:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139