Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2007 19:19:51 +0100
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-current@freebsd.org
Cc:        freebsd-geom@freebsd.org
Subject:   tunefs on a mounted file system?
Message-ID:  <etp8ki$573$1@sea.gmane.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig9FEAB7753B9D47040FDD943A
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

According to the man page, tunefs should work on a mounted file system
if it's downgraded to read-only. But, it doesn't work:

vir7:/home/ivoras# mount -u -o ro /
vir7:/home/ivoras# mount
/dev/ad0s1a on / (ufs, local, read-only)
devfs on /dev (devfs, local)
vir7:/home/ivoras# tunefs -n enable /
tunefs: soft updates set
tunefs: /dev/ad0s1a: failed to write superblock

I've set kern.geom.debugflags to 16 but it still doesn't work.

I think this may have something to do with GEOM access modes:

vir7:/home/ivoras# geom disk list
Geom name: ad0
Providers:
1. Name: ad0
   Mediasize: 8589934592 (8.0G)
   Sectorsize: 512
   Mode: r2w1e3
   fwsectors: 63
   fwheads: 15

I don't know where do the one writer and three exclusive users come
from. Any ideas where to dig?


--------------enig9FEAB7753B9D47040FDD943A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGACXRldnAQVacBcgRAq2GAKD4FZ0wsm/8PXRg4PW9RvRnfDnQegCgiAgU
U34WBDnOfoH5eBSSFtrjZRM=
=Fn2u
-----END PGP SIGNATURE-----

--------------enig9FEAB7753B9D47040FDD943A--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?etp8ki$573$1>