Vinum configuration lost at vinum stop / start

Artem Kazakov a.kazakov at comptek.ru
Thu Nov 11 02:52:14 PST 2004


Kim Helenius wrote:

> Now I can newfs /dev/vinum/vinum0, mount it, use it, etc. But when I do 
> vinum stop, vinum start, vinum stop, and vinum start something amazing 
> happens. Vinum l after this is as follows:
> 
> 2 drives:
> D d2                    State: up       /dev/ad5s1d     A: 286181/286181 
> MB (100%)
> D d1                    State: up       /dev/ad4s1d     A: 286181/286181 
> MB (100%)
> 
> 0 volumes:
> 0 plexes:
> 0 subdisks:
> 
> Where did my configuration go?! I can of course recreate it, with no 
> data lost, but imagine this on a raid5 where the plex goes into init 
> mode after creation. Not a pleasant scenario. Also recreating the 
> configuration from a config file after every reboot doesn't sound 
> interesting.
you shoud issue a read command to vinum to make it read configureation.
in your case:
vinum read /dev/ad5 /dev/ad4



-- 
Kazakov Artem

  OOO "CompTek"
  tel: +7(095) 785-2525, ext.1802
  fax: +7(095) 785-2526
  WWW:    http://www.comptek.ru


More information about the freebsd-questions mailing list