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
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
Quoted 53 lines
-----Original Message-----
From: [email protected] [mailto:linux-raid- [email protected]] On Behalf Of rrk
Sent: Sunday, March 27, 2005 1:38 PM
To: [email protected]
Subject: Raid1 problem can't add remove or mark faulty -- it did work(quoted diff) +0
-0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@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>
(quoted diff) +0
-0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@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 argumentbut this error is shown from a tty console
md: could not
bd_claimhda1
md: error,md_import_device()returned -16
mdadm: hot add failed for/dev/hda1: invalid argument(quoted diff) +0
-0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@this is what shows in dmesg
md: could not
bd_claimhda1.
md: error,md_import_device()returned -16
md: could notbd_claimhda1.
md: error,md_import_device()returned -16
md: could notbd_claimhda1.
md: error,md_import_device()returned -16i had this
bd_claimerror 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines · Guy
I am not sure what
bd_claimis, but it is somewhat likeopen(). 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 66 lines
Quoted 51 lines
-----Original Message-----
From: [email protected] [mailto:linux-raid- [email protected]] On Behalf Of rrk
Sent: Sunday, March 27, 2005 1:38 PM
To: [email protected]
Subject: Raid1 problem can't add remove or mark faulty -- it did work(quoted diff) +0
-0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@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>
(quoted diff) +0
-0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@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 argumentbut this error is shown from a tty console
md: could not
bd_claimhda1
md: error,md_import_device()returned -16
mdadm: hot add failed for/dev/hda1: invalid argument(quoted diff) +0
-0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@this is what shows in dmesg
md: could not
bd_claimhda1.
md: error,md_import_device()returned -16
md: could notbd_claimhda1.
md: error,md_import_device()returned -16
md: could notbd_claimhda1.
md: error,md_import_device()returned -16i had this
bd_claimerror 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 buildQuoted 6 lines
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html