Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2007 09:46:03 +1000
From:      David Cecil <david.cecil@nokia.com>
To:        ext Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: FFS writes to read-only mount
Message-ID:  <45F9DABB.9080205@nokia.com>
In-Reply-To: <20070315092659.GA14080@garage.freebsd.pl>
References:  <45F776AE.8090702@nokia.com> <20070314161041.GI7847@garage.freebsd.pl> <45F8EE27.6070208@nokia.com> <20070315090031.GB80993@deviant.kiev.zoral.com.ua> <20070315092659.GA14080@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

> I still don't feel too familiar with the code, so not sure if my
> comments are usable:) how-to-reproduce procedure would be the best of
> course... David, do you use something which can be considered
> non-standard, like snapshots?
>   

I had been renaming the name of the mirror and the root mount point in 
an effort to keep the explanations shorter and less confusing, but I 
won't do that any more.  The / partition is actually on "f" not "a", and 
the mirror is called "gmroots1" not gm0s1.

Something that might be of interest, from the output of mount (snipped 
for brevity):

# mount
/dev/mirror/gmroots1f on / (ufs, local, read-only, soft-updates)
devfs on /dev (devfs, local)

Yes, soft-updates are on for /, but I've seen this problem (same 
partition, same error code) when they have not been on. 

# bsdlabel /dev/mirror/gmroots1
# /dev/mirror/gmroots1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:    80325        0    4.2BSD     2048 16384  5024
  b:  4194304    80325      swap
  c: 74231135        0    unused        0     0         # "raw" part, 
don't edit
  d: 55738981  8483659    4.2BSD     2048 16384 28552
  e: 10008495 64222640    4.2BSD     2048 16384 28552
  f:  4209030  4274629    4.2BSD     2048 16384 28552

Regards,
Dave

-- 
Software Engineer
Secure and Mobile Connectivity
Nokia Enterprise Solutions
+61 7 5553 8307 (office)
+61 412 728 222 (cell)




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