From: Tyler <pml@dtbb.net>
To: linux-raid@vger.kernel.org
Subject: Re: md_import_device returned -16 raid1
Date: Sat, 16 Jul 2005 16:01:02 -0700 [thread overview]
Message-ID: <42D991AE.5020009@dtbb.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0507161534210.8523@hoss.npl.com>
Unless the mandrake kernel has backported patches in its kernel sources,
I would suggest trying a newer kernel... current is 2.6.12.2, and just
about 2.6.13.
Tyler.
Jim Radford wrote:
> Greetings all:
>
> Having a bit of difficulty with raid1, I built the array lastnight
> with two new drives, and it built fine but when I rebooted I get the
> following error when trying to start the array:
>
> I'm running Mandrake 10.1 kernel 2.6.8.1-12mdk
>
> [root@localhost jradford]# mdadm --version
> mdadm - v1.7.0 - 11 August 2004
>
> [root@bengali jradford]# mdadm -A -s
> mdadm: failed to add /dev/hdc to /dev/md0: Device or resource busy
> mdadm: /dev/md0 has been started with 1 drive (out of 2).
>
> The following error message shows up in dmesg:
>
> [root@bengali jradford]# dmesg | grep md:
> md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
> md: Autodetecting RAID arrays.
> md: autorun ...
> md: ... autorun DONE.
> md: md0 stopped.
> md: could not lock unknown-block(22,0).
> md: md_import_device returned -16
> md: bind<hdb>
>
> my /proc/mdstat:
>
> [root@bengali jradford]# cat /proc/mdstat
> Personalities : [raid1]
> md0 : active raid1 hdb[0]
> 195360896 blocks [2/1] [U_]
>
> unused devices: <none>
>
> Some drive specific information
>
> [root@bengali jradford]# mdadm -E /dev/hdb
> /dev/hdb:
> Magic : a92b4efc
> Version : 00.90.00
> UUID : 9d09bd52:e44dc514:4e6b732f:5263e2f8
> Creation Time : Fri Jul 15 21:16:18 2005
> Raid Level : raid1
> Device Size : 195360896 (186.31 GiB 200.05 GB)
> Raid Devices : 2
> Total Devices : 2
> Preferred Minor : 0
>
> Update Time : Sat Jul 16 07:33:32 2005
> State : clean
> Active Devices : 2
> Working Devices : 2
> Failed Devices : 0
> Spare Devices : 0
> Checksum : 5ca8741a - correct
> Events : 0.326
>
>
> Number Major Minor RaidDevice State
> this 0 3 64 0 active sync /dev/hdb
>
> 0 0 3 64 0 active sync /dev/hdb
> 1 1 22 0 1 active sync /dev/hdc
>
> [root@localhost jradford]# mdadm -E /dev/hdc
> /dev/hdc:
> Magic : a92b4efc
> Version : 00.90.00
> UUID : 9d09bd52:e44dc514:4e6b732f:5263e2f8
> Creation Time : Fri Jul 15 21:16:18 2005
> Raid Level : raid1
> Device Size : 195360896 (186.31 GiB 200.05 GB)
> Raid Devices : 2
> Total Devices : 2
> Preferred Minor : 0
>
> Update Time : Sat Jul 16 07:33:32 2005
> State : clean
> Active Devices : 2
> Working Devices : 2
> Failed Devices : 0
> Spare Devices : 0
> Checksum : 5ca873ef - correct
> Events : 0.326
>
>
> Number Major Minor RaidDevice State
> this 1 22 0 1 active sync /dev/hdc
>
> 0 0 3 64 0 active sync /dev/hdb
> 1 1 22 0 1 active sync /dev/hdc
>
> And for the md status:
>
> [root@bengali mdadm-2.0-devel-2]# mdadm -D /dev/md0
> /dev/md0:
> Version : 00.90.01
> Creation Time : Fri Jul 15 21:16:18 2005
> Raid Level : raid1
> Array Size : 195360896 (186.31 GiB 200.05 GB)
> Device Size : 195360896 (186.31 GiB 200.05 GB)
> Raid Devices : 2
> Total Devices : 1
> Preferred Minor : 0
> Persistence : Superblock is persistent
>
> Update Time : Sat Jul 16 07:33:32 2005
> State : clean, degraded
> Active Devices : 1
> Working Devices : 1
> Failed Devices : 0
> Spare Devices : 0
>
> UUID : 9d09bd52:e44dc514:4e6b732f:5263e2f8
> Events : 0.326
>
> Number Major Minor RaidDevice State
> 0 3 64 0 active sync /dev/hdb
> 1 0 0 - removed
>
>
>
> If I try and add hdc to the array With version 1.9.0 I get
> mdadm: hot add failed for /dev/hdc: Invalid argument
> but the same message in dmesg as above.
>
> with 2.0devel2 I get:
> mdadm: Cannot open /dev/hdc: Device or resource busy
> But also the same message in dmesg as above
>
> Any advice would be greatly appreciated.
>
> Regards,
> Jim
>
next prev parent reply other threads:[~2005-07-16 23:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-16 22:47 md_import_device returned -16 raid1 Jim Radford
2005-07-16 23:01 ` Tyler [this message]
2005-07-16 23:08 ` Neil Brown
2005-07-16 23:18 ` Jim Radford
2005-07-16 23:32 ` Jim Radford
2005-07-18 15:57 ` Luca Berra
2005-07-18 22:12 ` Jim Radford
2005-07-19 11:05 ` Luca Berra
-- strict thread matches above, loose matches on Subject: below --
2005-07-16 23:06 Jim Radford
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=42D991AE.5020009@dtbb.net \
--to=pml@dtbb.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).