tunefs on a mounted file system?
Ivan Voras
ivoras at fer.hr
Tue Mar 20 18:21:03 UTC 2007
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070320/86aa28c5/signature.pgp
More information about the freebsd-current
mailing list