From: Ron Leach <ronleach@tesco.net>
To: Linux RAID Mailing List <linux-raid@vger.kernel.org>
Subject: 'resync=PENDING', 'auto-read-only' on raid1 creation
Date: Sat, 04 Jan 2014 13:28:33 +0000 [thread overview]
Message-ID: <52C80C81.3040004@tesco.net> (raw)
List, good afternoon,
I've recently needed to create a new raid1 array in an existing
(non-raid) Debian Wheezy system. The array has been created
read-only, and resync is PENDING; I didn't expect either of these
conditions.
Objective is to have an LVM built initially on mirrored unused 2TB
drives, with a view to growing the LVM with mirrored 3TB drives in the
future. The Logical volume will be exported over NFS, and will serve
as a repository for backups of other machines. The approach I am
following is, first, to create a raid1 array then, second, install an
LVM over that array, making sure that I create the LVM such that it
can be expanded.
(I think) I've created a raid1 on two empty and unpartitioned 2TB
drives, but am not seeing the results that the wiki
(https://raid.wiki.kernel.org/index.php/RAID_setup) seems to suggest.
# cat /proc/mdstat
reports
md0 : active (auto-read-only) raid1 sdc[1] sdb [0]'
1953383360 blocks super 1.2 [2/2] [UU]
resync=PENDING
This was the create command I used:
# mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb /dev/sdc
I've read through man mdadm but had not expected 'auto-read-only', nor
'resync=PENDING'. Has something gone wrong, for some reason? Or do I
need, simply, to set the array to be read-write? I wondered whether
'create' does not 'start' the array, but it's reported as 'active', so
I think the array is started. I have not yet put a filesystem on the
array, because I am not sure the creation is ok.
Grateful for any comment, and apologies for what must seem a very
basic question,
regards, Ron
next reply other threads:[~2014-01-04 13:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-04 13:28 Ron Leach [this message]
2014-01-04 16:38 ` 'resync=PENDING', 'auto-read-only' on raid1 creation Phil Turmel
2014-01-04 17:44 ` Wilson Jonathan
2014-01-04 17:47 ` Ron Leach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52C80C81.3040004@tesco.net \
--to=ronleach@tesco.net \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).