On Wed, Apr 04, 2007 at 03:20:56PM +1000, Neil Brown wrote:
The trick is to use the 'start_ro' module parameter.
echo 1 > /sys/module/md_mod/parameters/start_ro
Then md will start arrays assuming read-only. No resync will be
started, no superblock will be written. They stay this way until the
first write at which point they become normal read-write and any
required resync starts.
uh, i tought a read-only array was supposed to remain read-only, and
that write attempts would fail.
My bad for not testing my assumptions.
L.
--
Luca Berra -- [EMAIL PROTECTED]
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html