From: gannan10@comcast.net
To: Steven Ihde <sihde@cs.stanford.edu>
Cc: linux-raid@vger.kernel.org
Subject: Re: error during raid config
Date: Fri, 16 Jan 2004 20:19:26 +0000 [thread overview]
Message-ID: <011620042019.25061.7bce@comcast.net> (raw)
the command worked for other md(1 - 4) and the cat /proc/mdstat looks like the following:
# cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md4 : active raid1 hdb7[0]
9687040 blocks [2/1] [U_]
md3 : active raid1 hdb6[0]
9679040 blocks [2/1] [U_]
md2 : active raid1 hdb5[0]
9679040 blocks [2/1] [U_]
md1 : active raid1 hdb3[0]
2996032 blocks [2/1] [U_]
md0 : inactive
unused devices: <none>
Now when I use mkraid for md0 I get the following error:
# mkraid --really-force /dev/md0
DESTROYING the contents of /dev/md0 in 5 seconds, Ctrl-C if unsure!
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hdb1, 489951kB, raid superblock at 489856kB
disk 1: /dev/hda1, failed
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
the syslog shows this:
---Jan 16 14:16:17 adobea kernel: md: array md0 already exists!
I alos tried mounting it and I get the following error:
~# mount -t ext2 /dev/md0 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/md0,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
Please help.. I am using procedure at: http://tldp.org/HOWTO/Boot+Root+Raid+LILO-4.html
Thanks
Gordon.
> On Fri, Jan 16, 2004 at 06:18:07PM +0000, gannan10@comcast.net wrote:
> > Hello,
> >
> > I get the following error when I tried to setup my raid:
> >
> > # mkraid /dev/md0
> > handling MD device /dev/md0
> > analyzing super-block
> > disk 0: /dev/hda1, 489951kB, raid superblock at 489856kB
> > /dev/hda1 is mounted
> > mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
>
> I use mdadm, not mkraid, but it appears the problem is right there:
> "/dev/hda1 is mounted". Probably if you have a mounted filesystem on
> /dev/hda1, you cannot add it to the raid array. Once you've created
> the raid array you can mount /dev/md0 instead of /dev/hda1.
>
> -Steve
>
>
>
next reply other threads:[~2004-01-16 20:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-16 20:19 gannan10 [this message]
2004-01-16 20:39 ` error during raid config Guy
-- strict thread matches above, loose matches on Subject: below --
2004-01-16 20:13 gannan10
2004-01-16 20:31 ` Guy
2004-01-16 18:18 gannan10
2004-01-16 18:26 ` Steven Ihde
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=011620042019.25061.7bce@comcast.net \
--to=gannan10@comcast.net \
--cc=linux-raid@vger.kernel.org \
--cc=sihde@cs.stanford.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.