Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 2003 22:48:49 -0700
From:      aarong <aarong@megapathdsl.net>
To:        freebsd-questions@freebsd.org
Subject:   vinum volumes crash on reboot
Message-ID:  <BF431106-012E-11D8-A7F5-000393A364C4@megapathdsl.net>

next in thread | raw e-mail | index | archive | help
I have a FreeBSD 4.8-RELEASE system with two identical 80GB IDE drives. 
Vinum knows /dev/ad0 as "alpha" and "beta" is /dev/ad3. The boxes root 
slice is a Vinum volume and everything on alpha runs flawlessly. 
However for the past week I've tried to mirror alpha onto beta without 
success. Whether adding plexes, or just creating a simple 512MB volume 
on drive beta, Vinum will state beta as "referenced" and, in the case 
below, plexes as faulty after rebooting. What I'm having difficulty 
figuring out is why Vinum has a problem, as none of the logs say why.

# cat /var/log/vinum_history
...
19 Oct 2003 09:53:17.040730 *** vinum started ***
19 Oct 2003 09:53:17.667679 list
19 Oct 2003 09:53:21.147581 dumpconfig
19 Oct 2003 09:53:32.324243 saveconfig
19 Oct 2003 09:53:35.926307 create /vinum.mirror
drive beta device /dev/ad3s1h
  plex name swap.p1 org concat volume swap
   sd len 2096871s       driveoffset 265s drive beta
  plex name root.p1 org concat volume root
   sd len 256000s        driveoffset 2097136s drive beta
  plex name var.p1 org concat volume var
   sd len 8388608s       driveoffset 2353136s drive beta
  plex name usr.p1 org concat volume usr
   sd len 145554562s     driveoffset 10741744s drive beta
19 Oct 2003 09:53:35.944129 *** Created devices ***
19 Oct 2003 09:53:43.675439 start var.p1
19 Oct 2003 09:53:43.675439 start var.p1
19 Oct 2003 10:03:30.711839 list
19 Oct 2003 10:03:33.272723 saveconfig
19 Oct 2003 10:03:34.532888 dumpconfig
19 Oct 2003 10:03:46.270709 start swap.p1
19 Oct 2003 10:03:46.270709 start swap.p1
19 Oct 2003 10:07:11.181007 list
19 Oct 2003 10:07:13.149052 saveconfig
19 Oct 2003 10:07:14.561537 dumpconfig
19 Oct 2003 10:07:19.001842 quit
19 Oct 2003 10:16:06.479528 *** vinum started ***
19 Oct 2003 10:16:07.000739 list
19 Oct 2003 10:26:16.436109 quit

# cat /var/log/messages | grep vinum
...
Oct 19 09:49:33  /kernel: Preloaded elf module "vinum.ko" at 0xc05e209c.
Oct 19 09:49:33  /kernel: Mounting root from ufs:/dev/vinum/root
Oct 19 09:53:36  /kernel: vinum: drive beta is up
Oct 19 09:53:36  /kernel: vinum: swap.p1 is faulty
Oct 19 09:53:36  /kernel: vinum: root.p1 is faulty
Oct 19 09:53:36  /kernel: vinum: var.p1 is faulty
Oct 19 09:53:36  /kernel: vinum: usr.p1 is faulty
Oct 19 09:59:31  /kernel: vinum: var.p1.s0 is up by force
Oct 19 09:59:31  /kernel: vinum: var.p1 is up
Oct 19 09:59:31  /kernel: vinum: var.p1.s0 is up
Oct 19 10:05:12  /kernel: vinum: swap.p1.s0 is up by force
Oct 19 10:05:12  /kernel: vinum: swap.p1 is up
Oct 19 10:05:12  /kernel: vinum: swap.p1.s0 is up
Oct 19 10:08:53  /kernel: Preloaded elf module "vinum.ko" at 0xc05e209c.
Oct 19 10:08:53  /kernel: Mounting root from ufs:/dev/vinum/root

Output straight from my ssh shell can be found at 
http://www.dwoloz.com/vinum.txt
Please CC me as I'm not subscribed to -questions.

Confused,
-aarong



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BF431106-012E-11D8-A7F5-000393A364C4>