Re: s2disk and raid
From: Luca Berra <hidden>
Date: 2007-04-06 09:08:35
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 -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \