From: "John P. Looney" <valen@tuatha.org>
To: linux-raid@vger.kernel.org
Subject: Re: Problems with RAID1 on cobalt raq3
Date: Mon, 19 Aug 2002 15:08:16 +0100 [thread overview]
Message-ID: <20020819140815.GY26818@jinny.ie> (raw)
In-Reply-To: <1029624922.14769.119.camel@atherton>
On Sat, Aug 17, 2002 at 03:55:38PM -0700, Duncan Laurie mentioned:
> > [root@midir root]# raidhotadd /dev/md1 /dev/hda2
> > md: can not import hda2, has active inodes!
> > md: error, md_import_device() returned -16
> > /dev/md1: can not hot-add disk: invalid argument.
I've just tryed to get RAID1 going on another non-cobalt host, and I seem
to be doing something simple wrong, as I get something quite similar here
too:
[root@jny02 /root]# raidhotadd /dev/md0 /dev/hda5
/dev/md0: can not hot-add disk: invalid argument.
md: trying to hot-add hda5 to md0 ...
md: can not import hda5, has active inodes!
md: error, md_import_device() returned -16
[root@jny02 /root]# mount
/dev/md0 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hda1 on /boot type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
This is likely because to get it to boot, like the cobalt, I'm actually
passing root=/dev/hda5 to the kernel, not /dev/md0.
When I used "root=/dev/md0", the kernel booted, mounted root, and then
moaned that it couldn't find init (so I had to wonder what filesystem it
ended up mounting). I tryed to setup my lilo.conf from;
http://www.tldp.org/HOWTO/mini/Boot+Root+Raid+LILO-5.html
but because I don't quite understand what it's doing, I could be doing
something wrong:
My lilo.conf is:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
linear
disk=/dev/md0
bios=0x80
sectors=63
heads=255
cylinders=5005
partition=/dev/md1
start=63
image=/boot/bzImage
label=2.4.18
read-only
root=/dev/md0
Is there anything obviously wrong with that ?
John
next prev parent reply other threads:[~2002-08-19 14:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200208172056.g7HKuHm05754@raq.iceblink.org>
2002-08-17 22:55 ` Problems with RAID1 on cobalt raq3 Duncan Laurie
2002-08-19 14:08 ` John P. Looney [this message]
2002-08-22 15:25 ` John P. Looney
2002-08-17 23:09 ` Duncan Laurie
2002-08-19 8:38 ` John P. Looney
2002-08-20 3:56 ` Duncan Laurie
2002-08-16 15:02 John P. Looney
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=20020819140815.GY26818@jinny.ie \
--to=valen@tuatha.org \
--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).