Re: vinum question: how could one correctly delete vinum module?

From: Mike Maltese (mike_at_pcmedx.com)
Date: 10/31/03

  • Next message: Dan Strick: "Re: 4.9 is now available"
    To: <stable@FreeBSD.org>
    Date: Fri, 31 Oct 2003 08:30:38 -0800
    
    

    > Dear colleagues,
    >
    > [I'm under 4-STABLE]
    >
    > What is the correct sequence to delete existing vinum module (for example,
    > raid10) and do *not* use -f flags for vinum?
    >
    > in my case t is raid10 vovume:
    >
    > vinum -> l -r t
    > V t State: up Plexes: 2 Size: 8191
    MB
    > P t.p0 S State: up Subdisks: 2 Size: 8191
    MB
    > P t.p1 S State: up Subdisks: 2 Size: 8191
    MB
    > S t.d0 State: up PO: 0 B Size: 4095
    MB
    > S t.d8 State: up PO: 260 kB Size: 4095
    MB
    > S t.d2 State: up PO: 0 B Size: 4095
    MB
    > S t.d10 State: up PO: 260 kB Size: 4095
    MB
    >
    >
    > umount /dev/vinum/t
    > vinum stop t (ok)
    > vinum stop t.p0 <- this operation silently puts t up, and sets t.p0 faulty
    > vinum stop t (ok)
    > vinum stop t.p1
    >
    > Last comment leads to error
    >
    > Can't stop t.p1: Device busy (16)
    >
    >
    > Final state of objects are
    >
    > vinum -> l -r t
    > V t State: down Plexes: 2 Size: 8191
    MB
    > P t.p0 S State: faulty Subdisks: 2 Size: 8191
    MB
    > P t.p1 S State: up Subdisks: 2 Size: 8191
    MB
    > S t.d0 State: down PO: 0 B Size: 4095
    MB
    > S t.d8 State: down PO: 260 kB Size: 4095
    MB
    > S t.d2 State: up PO: 0 B Size: 4095
    MB
    > S t.d10 State: up PO: 260 kB Size: 4095
    MB
    >
    >
    > Any suggestions? should I dig into vinum sources to track this down?

    You want to wipe out your configuration completely? Use "vinum resetconfig".
    You will loose all of your data, but if I understand your question
    correctly, this is the command to use. If you want to remove individual
    objects, use the rm command. Take a look at the vinum man page, it is quite
    useful.

    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Dan Strick: "Re: 4.9 is now available"

    Relevant Pages

    • Re: vinum question: how could one correctly delete vinum module?
      ... MM>> What is the correct sequence to delete existing vinum module (for example, ... this is the command to use. ... I was not clear enough; I should also mention 'detach' command. ...
      (freebsd-stable)
    • Re: vinum question: how could one correctly delete vinum module?
      ... > What is the correct sequence to delete existing vinum module (for example, ... To delete an existing Vinum ... should I dig into vinum sources to track this down? ... this is the command to use. ...
      (freebsd-stable)
    • Re: Fixing vinum after removing a HDD
      ... run vinum with the new configfile ... The correct sequence is to remove the drive, ... I may ignore the reply or reply to the original recipients. ...
      (freebsd-questions)
    • Re: is vinum in FBSD 6.0?
      ... There is a gvinum binary, but it doesn't even implement all of the ... Is there some kind of IP lawsuit over vinum or something? ... regardless of the implementation variant. ... Any command invocations ...
      (freebsd-questions)
    • Re: vinum concatenated raid setup problems - SOLVED
      ... Use of 'vinum saveconfig' is a good thing. ... >> Save the current configuration to disk. ... >> reenable them with the setdaemon command, ... > As I was learning to use vinum I made frequent mistakes, disabling ...
      (freebsd-questions)