From owner-freebsd-stable Fri Sep 13 19: 8:40 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA41137B400 for ; Fri, 13 Sep 2002 19:08:36 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B52B43E65 for ; Fri, 13 Sep 2002 19:08:35 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id A1792812E5; Sat, 14 Sep 2002 11:38:33 +0930 (CST) Date: Sat, 14 Sep 2002 11:38:33 +0930 From: Greg 'groggy' Lehey To: Jaime Bozza Cc: stable@FreeBSD.ORG Subject: Re: vinum/softupdates/fsck strange problem Message-ID: <20020914020833.GG2474@wantadilla.lemis.com> References: <033401c25b30$07e65a90$6401010a@bozza> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <033401c25b30$07e65a90$6401010a@bozza> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday, 13 September 2002 at 9:15:36 -0500, Jaime Bozza wrote: > I searched the archives (as well as google) and can't seem to find > anything about this particular problem. > > I'm running vinum in mirroring mode (based off of the Bootstrapping > Vinum document) and last night I had a problem on two systems. > > One system was the /usr/home filesystem (never gets written to > currently), the other system was the /var filesystem (rarely gets > written to, web server that has very infrequest email and the assorted > logging, but even then nothing at the time of the failures) > > I'm not sure what happened to cause both of these systems to reboot, but > they were sitting at single user with a softupdate inconsistency. The > message that came up was: > > CG 22: BAD MAGIC NUMBER > > I searched the archives and couldn't find anything related. I looked > through the fsck source and found a couple of locations dealing with > this message, but was unsure as to what would have happened to cause the > problem. The message means that there's something wrong with the contents of cylinder group 22, somewhere in the middle of the file system. It suggests that you have random corruption in the file system. > Running fsck manually spewed out a ton of other errors (ran fsck -n > first) so I attempted a forced mount. > > Forcing the mount, I checked all the "possibly written" areas (log > files and such) and everything looked fine. I rebuilt the > filesystem and things are fine now but I'm curious as to why this > happened, especially on filesystems that shouldn't typically have > that much (if any) volume. Without knowing the cause of the crash, it's impossible to say. Even if you had a dump, it's not certain that it would help much. It could be a hardware problem, it could be a software problem. Is there anything in the log files which looks suspicious? > The only other thing that I noticed on both of these systems was > that vinum was showing the disks as ad0h and ad2h instead of ad0s1h > and ad2s1h. (The filesystems showed up correctly, though 'vinum ld' > showed 100% free on both drives - rebooting fixed it) Hmm, that's a known problem with Vinum, but only after things have gone wrong at some earlier point. You should take a look at http://www.vinumvm.org/vinum/how-to-debug.html and check if you find anything unusual. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message