Vinum dumpconfig returns nothing ?!?

From: Vincent Rioux (vrioux_at_centrenad.com)
Date: 02/13/04

  • Next message: Guido van Rooij: "Re: usb devices and devfs settings"
    Date: Fri, 13 Feb 2004 10:43:45 -0500 (EST)
    To: freebsd-current@freebsd.org
    
    

    Hello,

    I am trying to setup a software raid5 volume using Vinum on FreeBSD 5.2.
    So far I did successfully complete these tasks :

    - Created the config file :
    drive d0 device /dev/ad10
    drive d1 device /dev/ad11
    drive d2 device /dev/ad4
    drive d3 device /dev/ad6
    drive d4 device /dev/ad8
    drive d5 device /dev/ad9
    volume terabyte
      plex org raid5 433k
        sd length 0 drive d0
        sd length 0 drive d1
        sd length 0 drive d2
        sd length 0 drive d3
        sd length 0 drive d4
        sd length 0 drive d5

    - Created the volume in Vinum and initialized it (whoa it took a long
    time!) :
    vinum -> list
    6 drives:
    D d0 State: up /dev/ad10 A: 0/194481 MB (0%)
    D d1 State: up /dev/ad11 A: 0/194481 MB (0%)
    D d2 State: up /dev/ad4 A: 0/194481 MB (0%)
    D d3 State: up /dev/ad6 A: 0/194481 MB (0%)
    D d4 State: up /dev/ad8 A: 0/194481 MB (0%)
    D d5 State: up /dev/ad9 A: 0/194481 MB (0%)

    1 volumes:
    V terabyte State: up Plexes: 1 Size: 949 GB

    1 plexes:
    P terabyte.p0 R5 State: up Subdisks: 6 Size: 949 GB

    6 subdisks:
    S terabyte.p0.s0 State: up D: d0 Size: 189 GB
    S terabyte.p0.s1 State: up D: d1 Size: 189 GB
    S terabyte.p0.s2 State: up D: d2 Size: 189 GB
    S terabyte.p0.s3 State: up D: d3 Size: 189 GB
    S terabyte.p0.s4 State: up D: d4 Size: 189 GB
    S terabyte.p0.s5 State: up D: d5 Size: 189 GB

    Now the problem is that everytime I reboot the machine to test if the
    volume automounts correctly (yes, start_vinum="YES" is in rc.conf), all
    the configuration is lost and I must recreate and reinitialize the volume
    (effectively losing all my data)...

    Now what's weird, just after setting everything up and finishing
    initializing the volume, I just can't seem to be able to dump the config
    from the disks! Even if I do a saveconfig (which I shouldn't have to do
    since config. updates are not disabled), there's nothing returned from
    dumpconfig! :
    vinum -> saveconfig
    vinum -> dumpconfig
    vinum ->

    I had the exact same problem with FreeBSD-5.1 ... I tought Vinum might be
    broken and since the machine is a fresh install, I decided to reinstall
    from 5.2... Same problem! :(

    Any ideas ?

    Vincent

    _______________________________________________
    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: Guido van Rooij: "Re: usb devices and devfs settings"

    Relevant Pages

    • vinum limits disk size to 255MB
      ... I'm trying to set up vinum on a freshly installed FreeBSD 5.3-BETA7 ... drives to create a vinum volume. ... BIOS sector numbering starts with sector 1 ... The data for partition 1 is: ...
      (freebsd-questions)
    • RE: FreeBSD5.1 Vinum Mirror root
      ... Machine will run one copy of FreeBSD5.1 and has three hard drives: ... The 200GB drives are mirrored root vinum ... - Web server configuration & website version control ... - Keeps FreeBSD 5.1 up-to-date using cvsup nightly. ...
      (freebsd-questions)
    • Re: vinum setup
      ... thanx Greg, you're right as always. ... I booted into single user from start up and sure enough everything was ... I set up 2 disks for vinum and want to allocate exisiting partitions to ... config, everything's peachy, drives rebuild, fsck sees no errors, I edit ...
      (freebsd-questions)
    • Re: Vinum Subdisk Crashed - How To Repair?
      ... >> as I don't have a backup. ... > This should go away if you stop and restart Vinum. ... Disabling configuration updates ...
      (freebsd-questions)
    • vinum on atapi raid
      ... i'm trying to set up a concatenated vinum volume. ... sectors/track: 63 ... something similar happens when i'm using the concat command to vinum: ...
      (freebsd-questions)