From owner-freebsd-current Sun Oct 27 14:34:11 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 88CCE37B401; Sun, 27 Oct 2002 14:34:08 -0800 (PST) Received: from edgemaster.zombie.org (edgemaster.creighton.edu [147.134.112.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36EFF43E4A; Sun, 27 Oct 2002 14:34:08 -0800 (PST) (envelope-from smkelly@zombie.org) Received: by edgemaster.zombie.org (Postfix, from userid 1001) id 9B467414DE; Sun, 27 Oct 2002 16:34:07 -0600 (CST) Date: Sun, 27 Oct 2002 16:34:07 -0600 From: Sean Kelly To: Robert Watson Cc: current@freebsd.org Subject: Re: fsck / and remount failure Message-ID: <20021027223407.GA942@edgemaster.zombie.org> References: <20021027215639.GA660@edgemaster.zombie.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i 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 On Sun, Oct 27, 2002 at 05:17:44PM -0500, Robert Watson wrote: > Are you using UFS1 extended attributes on that box? Yes. (290) smkelly@edgemaster:~$ grep UFS /usr/src/sys/i386/conf/EDGEMASTER options UFS_DIRHASH options UFS_EXTATTR options UFS_EXTATTR_AUTOSTART options UFS_ACL > I suspect there might > be a bug involving the open flags passed to extended attribute backing > vnodes such that a remount is refused because there are existing vnodes > opened writable. I.e., the extended attribute backing files are opened > FREAD|FWRITE, and since the file system is mounted read-only, remount > refuses to upgrade to a rw mount until they are closed. My guess is that, > in fact, this should be permitted, or we should re-open the backing files > on a remount. I'd like to get this bug fixed, but it is another reason to > recommend UFS2 over UFS1. That would make sense. I had never considered the backing files being the cause of it. If necessary, I can rebuild my kernel without ACLs and EXTATTRs to see if that cures the problem. I haven't switched to UFS2 for a few reasons: * I don't know what state it is in (can I boot from it on x86?) * I don't know how stable it is now * I don't really want to have to go through the hassle of backing up and restoring all my data right now. Oh what I'd give for a conversion tool. Hello? Partition Magic people? *shakes wallet* -- Sean Kelly | PGP KeyID: 77042C7B smkelly@zombie.org | http://www.zombie.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message