From: Wade Pinkston <blata@bugs.osu.edu>
To: linux-raid@vger.kernel.org
Subject: Re: raid not creating
Date: Sun, 29 Jan 2006 21:02:35 -0800 [thread overview]
Message-ID: <43DD9DEB.7060502@bugs.osu.edu> (raw)
In-Reply-To: <17373.33567.411470.796966@cse.unsw.edu.au>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Neil Brown wrote:
> On Sunday January 29, blata@bugs.osu.edu wrote:
>
>>>Neil Brown wrote:
>>>
>>>
>>>>On Friday January 27, blata@bugs.osu.edu wrote:
>>>
>>>
>>>>># mdadm --create --verbose /dev/md4 --level=1 --raid-devices=2 /dev/hde3
>>>>>/dev/hdg3
>>>>>mdadm: /dev/hde3 appears to contain an ext2fs file system
>>>>> size=35214480K mtime=Thu Jan 26 13:38:20 2006
>>>>>mdadm: /dev/hdg3 appears to contain an ext2fs file system
>>>>> size=35214480K mtime=Thu Jan 26 13:38:20 2006
>>>>>mdadm: size set to 35214400K
>>>>>Continue creating array? y
>>>>>mdadm: SET_ARRAY_INFO failed for /dev/md4: Device or resource busy
>>>
>>>
>>>>Sounds like /dev/md4 already exists. What does
>>>> cat /proc/mdstat
>>>>show?
>>>
>>>>NeilBrown
>>>
>>>
>>>cat /proc/mdstat
>>>Personalities :
>>>md2 : inactive hdc3[0]
>>> 8723200 blocks
>>>md3 : inactive hdg1[0]
>>> 61440448 blocks
>>>md4 : inactive hdg3[0]
>>> 35214400 blocks
>>>md1 : inactive hdc2[0]
>>> 20482752 blocks
>>>md0 : inactive hdc1[0]
>>> 104320 blocks
>>>unused devices: <none>
>
>
> So md4 (and others) is partially created. If you
> mdadm --stop /dev/md4
> mdadm --create --verbose /dev/md4 --level=1 --raid-devices=2 /dev/hde3 /dev/hdg3
>
> it should work.
>
>
>
>>>I got this only after doing the following.
>>>
>>>mdadm --manage --add /dev/md2 /dev/hdc3
>>>
>
>
> I guess you are trying to add devices to non-existent arrays... Maybe
> mdadm should complain about that...
>
>
>>>for each md device. If I then go back and try to add /dev/hda1 to the md0
>>>I get this.
>>>
>>>mdadm --manage --add /dev/md0 /dev/hda1
>>>mdadm: add new device failed for /dev/hda1: Device or resource
>>>busy
>
>
> Maybe hda1 is currently in use? Maybe it is mounted as a filesystem?
>
> What exactly are you trying to achieve?
>
> NeilBrown
>
I live in California and this server is in Ohio ~3000 mi away. Any way I
am rebuilding it remotely do some problems from a few months ago. Anyway I
had someone in Ohio format the four drives. I was then left with a system
on drives a and e. Now after the fact I'm trying to get the software raid
working on a-c e-g. but I am unable to do so using mdadm. I'm trying to
coordinate this with my Ohio counterpart when he is available.
At this point I am thinking that I need to have him boot the box into
rescue mode issue the mdadm commands, edit the fstab file and then reboot.
Does this sound like a feasible approach?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFD3Z3rv+6+qSFv3TURAkJ1AJ92JGA3HD3fozi0W+h5OsICi90cGQCgt0Ia
WMOBvFOINP+HA0fUV85O0Ug=
=P9vG
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2006-01-30 5:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-27 17:35 raid not creating Wade Pinkston
2006-01-27 21:10 ` Neil Brown
[not found] ` <43DAD418.9040803@bugs.osu.edu>
[not found] ` <17373.14913.427109.184586@cse.unsw.edu.au>
2006-01-30 2:29 ` Wade Pinkston
2006-01-30 3:08 ` Neil Brown
2006-01-30 5:02 ` Wade Pinkston [this message]
2006-01-30 5:17 ` Neil Brown
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=43DD9DEB.7060502@bugs.osu.edu \
--to=blata@bugs.osu.edu \
--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).