Thread (3 messages) flat view 3 messages, 2 authors, 2005-03-27

Re: Raid1 problem can't add remove or mark faulty -- it did work

From: rrk <hidden>
Date: 2005-03-27 19:30:29

Guy wrote:
I am not sure what bd_claim is, but it is somewhat like open().  My guess is
your disk is in use, maybe nounted.  Run this command and send the output.

df

Guy

 
 yep that was it -- there is a whizzing wizard somewhere it is not 
fstab-- though i checked that
sorry for the trouble and thanks
rob




 
quoted
-----Original Message-----
From: linux-raid-owner@vger.kernel.org [mailto:linux-raid-
owner@vger.kernel.org] On Behalf Of rrk
Sent: Sunday, March 27, 2005 1:38 PM
To: linux-raid@vger.kernel.org
Subject: Raid1 problem can't add remove or mark faulty -- it did work

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
mdstat after reboot

root@crm_svr:~# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5] [multipath] [raid6]
[raid10]
md0 : active raid1 hdc1[1]
     155268096 blocks [2/1] [_U]

unused devices: <none>

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
the below error shows after a boot when excuted in kde konsole

root@crm_svr:/home/rob# mdadm /dev/md0 -a /dev/hda1
mdadm: hot add failed for /dev/hda1: Invalid argument

but this error is shown from a tty console

md: could not bd_claim hda1
md: error, md_import_device() returned -16
mdadm: hot add failed for /dev/hda1 : invalid argument

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
this is what shows in dmesg

md: could not bd_claim hda1.
md: error, md_import_device() returned -16
md: could not bd_claim hda1.
md: error, md_import_device() returned -16
md: could not bd_claim hda1.
md: error, md_import_device() returned -16

i had this bd_claim error when i first tried to build the array
but it went away when i wiped every thing and started over
this box is the only time i have seen this error and i
tried using different drives -- but of the same type -- when
the problem  showed up on the initial build




-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
   
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


 
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help