vinum does not remember config across boots

From: David Kelly (dkelly_at_HiWAAY.net)
Date: 08/10/04

  • Next message: David Kelly: "ACPI and rebooting, not."
    To: FreeBSD - questions <questions@freebsd.org>
    Date: Mon, 9 Aug 2004 18:01:37 -0500
    
    

    Mentioned in the past week or so that I have two 160G SATA drives with
    one slice each, each slice has 1G reserved (not currently used) for
    swap, the remainder s1d is for vinum. The two are striped with "vinum
    stripe -v /dev/ad4s1d /dev/ad6s1d".

    At boot vinum often does not remember these drives should be striped.
    Booting (usually, but not always as sometimes vinum works) drops me
    into single user where I have to manually run the above vinum command
    again which finally creates /dev/vinum/vinum0. At that point my fs will
    mount cleanly. I don't believe the config is being written to the disks
    and not sure that I'm not the one doing something wrong:

    dkelly@Opus [72] uname -a
    FreeBSD Opus.home 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #1: Mon Aug
      9 14:42:06 CDT 2004 dkelly@Opus.home:/usr/obj/usr/src/sys/OPUS
    i386
    dkelly@Opus [73] vinum list
    2 drives:
    D vinumdrive1 State: up /dev/ad6s1d A: 0/156041 MB
    (0%)
    D vinumdrive0 State: up /dev/ad4s1d A: 0/156041 MB
    (0%)

    1 volumes:
    V vinum0 State: up Plexes: 1 Size:
    304 GB

    1 plexes:
    P vinum0.p0 S State: up Subdisks: 2 Size:
    304 GB

    2 subdisks:
    S vinum0.p0.s0 State: up D: vinumdrive0 Size:
    152 GB
    S vinum0.p0.s1 State: up D: vinumdrive1 Size:
    152 GB
    dkelly@Opus [74] vinum saveconfig
    dkelly@Opus [75] vinum setdaemon
    Options mask: 0
    dkelly@Opus [76] vinum dumpconfig
    dkelly@Opus [77]

    If I'm not mistaken "dumpconfig" should have produced results similar
    to "list" but while "list" displays running information from kernel
    space, "dumpconfig" should go direct to the media for its answer? And
    dumpconfig is finding nothing?

    Have tried putting vinum_load="YES" in /boot/loader.conf in addition to
    start_vinum="YES" in /etc/rc.conf. Vinum_load only seems to cause the
    rc scripts to say, "vinum already loaded" or similar.

    --
    David Kelly N4HHE, dkelly@HiWAAY.net
    ========================================================================
    Whom computers would destroy, they must first drive mad.
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: David Kelly: "ACPI and rebooting, not."

    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)