vinum question: how could one correctly delete vinum module?

Dmitry Morozovsky marck at rinet.ru
Fri Oct 31 04:41:55 PST 2003


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?

Thanks in advance.


Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-stable mailing list