Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2002 16:34:07 -0600
From:      Sean Kelly <smkelly@zombie.org>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: fsck / and remount failure
Message-ID:  <20021027223407.GA942@edgemaster.zombie.org>
In-Reply-To: <Pine.NEB.3.96L.1021027171542.22105B-100000@fledge.watson.org>
References:  <20021027215639.GA660@edgemaster.zombie.org> <Pine.NEB.3.96L.1021027171542.22105B-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021027223407.GA942>