From owner-freebsd-current Thu Aug 22 9:12:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68EC337B400 for ; Thu, 22 Aug 2002 09:12:27 -0700 (PDT) Received: from HAL9000.homeunix.com (12-232-220-15.client.attbi.com [12.232.220.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2C4C43E42 for ; Thu, 22 Aug 2002 09:12:21 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.5/8.12.5) with ESMTP id g7MFtqrK000773; Thu, 22 Aug 2002 08:55:52 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.5/8.12.5/Submit) id g7MFtpZr000772; Thu, 22 Aug 2002 08:55:51 -0700 (PDT) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Thu, 22 Aug 2002 08:55:51 -0700 From: David Schultz To: Kazuhito HONDA Cc: freebsd-current@FreeBSD.ORG Subject: Re: UFS2 may prevent from sharing partitions with some *BSDs Message-ID: <20020822155551.GA460@HAL9000.homeunix.com> Mail-Followup-To: Kazuhito HONDA , freebsd-current@FreeBSD.ORG References: <20020822.215921.424244459.kazuhito@ph.noda.tus.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020822.215921.424244459.kazuhito@ph.noda.tus.ac.jp> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Kazuhito HONDA : > In my machine, FreeBSD 5.0-current, NetBSD 1.6-BETA and OpenBSD 3.1 > are installed, and they share some partitions, e. g. /home, and > had no problem. > Now, however, after FreeBSD mount those partitions once, > when NetBSD and OpenBSD mount those partitions at boot time, > fsck stops with error number 8 > and *BSDs fall in single-user mode. `fsck -y' doesn't succeed too. > If I run `fsck_ffs -b 32' on NetBSD and OpenBSD, fsck finishes completely. > But FreeBSD mounts those partition once, NetBSD and OpenBSD fall in > single-user mode again. > Though this phenomenon doesn't happen with kernel at 21 June 2002 6:15 UTC, > that happens with one at 6:20 UTC. > Differences between them may be UFS2 codes. > So UFS2 may prevent some *BSDs from mounting shared partitions. This issue has come up several times before; check the archives. As I understand, the problem is that -CURRENT uses previously-unused fields in the superblock, which causes older versions of fsck to go ballistic. You can fix this problem in FreeBSD by using a more recent fsck. {Open,Net}BSD may not have removed the extraneous sanity check, but specifying the block size is a fine workaround. BTW, the problem isn't UFS2. If you were using a UFS2 partition, you wouldn't be able to mount the partition in {Open,Net}BSD at all right now, as they lack the necessary support. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message