RE: Rebuilding a Raid 1
Dead Gardens <[email protected]> Thu, 25 Apr 2013 06:55:23 +0200
| Newsgroups | gmane.linux.ataraid |
|---|---|
| Message-ID | <[email protected]> |
--===============4899680395234738760== Content-Type: multipart/alternative; boundary="_6581eef9-d50e-4167-bd3a-271d9a4cb70f_" --_6581eef9-d50e-4167-bd3a-271d9a4cb70f_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable dmraid version # dmraid -V dmraid version: 1.0.0.rc13-64 (2010.11.04) debug=20 dmraid library version: 1.0.0.rc13-17 (2009.06.10) device-mapper version: 4.11.5 From: [email protected] To: [email protected] Subject: Rebuilding a Raid 1 Date: Thu=2C 25 Apr 2013 06:52:01 +0200 =0A= =0A= =0A= =0A= I'm trying to rebuild a raid 1 (dmraid+isw) unsuccessfully. I=0A= replaced the failed disk with a new one and the BIOS added it =0A= automatically to the raid.=0A= Running kernel 2.6.18-194.17.4.el5. =0A= =0A= # dmraid -r /dev/sda: isw=2C "isw_babcjifefe"=2C GROUP=2C ok=2C 1953525165 sectors=2C d= ata@ 0 /dev/sdb: isw=2C "isw_babcjifefe"=2C GROUP=2C ok=2C 1953525165 sectors=2C d= ata@ 0=0A= =0A= =0A= # dmraid -s =0A= =0A= *** Group superset isw_babcjifefe=0A= --> Subset=0A= name : isw_babcjifefe_Raid0=0A= size : 1953519616=0A= stride : 128=0A= type : mirror=0A= status : nosync=0A= subsets: 0=0A= devs : 2=0A= spares : 0=0A= =0A= =0A= When i try to start the raid i receive the next errors=20 =0A= =0A= # dmraid -f isw -S -M /dev/sdb=20 =0A= =0A= ERROR: isw: SPARE disk must use all space on the disk=0A= =0A= =0A= # dmraid -tay =0A= =0A= isw_babcjifefe_Raid0: 0 1953519616 mirror core 3 131072 sync block_on_error= 2 /dev/sda 0 /dev/sdb 0=0A= =0A= =0A= # dmraid -ay =0A= =0A= RAID set "isw_babcjifefe_Raid0" was not activated=0A= ERROR: device "isw_babcjifefe_Raid0" could not be found=0A= =0A= =0A= # dmraid -f isw -S -M /dev/sdb=20 =0A= =0A= ERROR: isw: SPARE disk must use all space on the disk=0A= =0A= =0A= # dmraid -R isw_babcjifefe_Raid0 /dev/sdb =0A= =0A= ERROR: disk /dev/sdb cannot be used to rebuilding=0A= =0A= =0A= # dmesg =0A= =0A= device-mapper: table: 253:13: mirror: Device lookup failure=0A= device-mapper: ioctl: error adding target to table=0A= device-mapper: ioctl: device doesn't appear to be in the dev hash table.=0A= device-mapper: table: 253:13: mirror: Device lookup failure=0A= device-mapper: ioctl: error adding target to table=0A= device-mapper: ioctl: device doesn't appear to be in the dev hash table.=0A= device-mapper: table: 253:13: mirror: Device lookup failure=0A= device-mapper: ioctl: error adding target to table=0A= device-mapper: ioctl: device doesn't appear to be in the dev hash table.=0A= device-mapper: ioctl: device doesn't appear to be in the dev hash table.=0A= device-mapper: ioctl: device doesn't appear to be in the dev hash table.=0A= =0A= =0A= Disks: =0A= =0A= Disk /dev/sda: 1000.2 GB=2C 1000204886016 bytes=0A= 255 heads=2C 63 sectors/track=2C 121601 cylinders=0A= Units =3D cylinders of 16065 * 512 =3D 8225280 bytes=0A= Disk /dev/sdb: 1000.2 GB=2C 1000204886016 bytes=0A= 255 heads=2C 63 sectors/track=2C 121601 cylinders=0A= Units =3D cylinders of 16065 * 512 =3D 8225280 bytes=0A= =0A= =0A= LVM: =0A= =0A= PV /dev/sda5 VG storage lvm2 [914.64 GB / 28.64 GB free]=0A= Total: 1 [914.64 GB] / in use: 1 [914.64 GB] / in no VG: 0 [0 ]=0A= Reading all physical volumes. This may take a while...=0A= Found volume group "storage" using metadata type lvm2=0A= ACTIVE '/dev/storage/home' [68.00 GB] inherit=0A= ACTIVE '/dev/storage/home2' [68.00 GB] inherit=0A= ACTIVE '/dev/storage/home3' [68.00 GB] inherit=0A= ACTIVE '/dev/storage/home4' [68.00 GB] inherit=0A= ACTIVE '/dev/storage/home5' [68.00 GB] inherit=0A= ACTIVE '/dev/storage/var' [15.00 GB] inherit=0A= ACTIVE '/dev/storage/mysql' [20.00 GB] inherit=0A= ACTIVE '/dev/storage/pgsql' [7.00 GB] inherit=0A= ACTIVE '/dev/storage/exim' [12.00 GB] inherit=0A= ACTIVE '/dev/storage/apache' [25.00 GB] inherit=0A= ACTIVE '/dev/storage/tmp' [2.00 GB] inherit=0A= ACTIVE '/dev/storage/backup' [450.00 GB] inherit=0A= ACTIVE '/dev/storage/log' [15.00 GB] inherit Any idea of what is wrong? Thanks!=20 =0A= =0A= =0A= _______________________________________________=0A= Ataraid-list mailing list=0A= [email protected]=0A= https://www.redhat.com/mailman/listinfo/ataraid-list = --_6581eef9-d50e-4167-bd3a-271d9a4cb70f_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 12pt=3B font-family:Calibri } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'>dmraid version<br><br># dmraid -= V<br>dmraid version: =3B =3B =3B =3B =3B =3B = =3B =3B 1.0.0.rc13-64 (2010.11.04) debug <br>dmraid library version: 1.= 0.0.rc13-17 (2009.06.10)<br>device-mapper version: =3B 4.11.5<br><br><d= iv><div id=3D"SkyDrivePlaceholder"></div><hr id=3D"stopSpelling">From: dead= [email protected]<br>To: [email protected]<br>Subject: Rebuilding= a Raid 1<br>Date: Thu=2C 25 Apr 2013 06:52:01 +0200<br><br>=0A= =0A= <style><!--=0A= .ExternalClass .ecxhmmessage P {=0A= padding:0px=3B=0A= }=0A= =0A= .ExternalClass body.ecxhmmessage {=0A= font-size:12pt=3B=0A= font-family:Calibri=3B=0A= }=0A= =0A= --></style>=0A= <div dir=3D"ltr"><div class=3D"ecxpost-text">=0A= I'm trying to rebuild a raid 1 (dmraid+isw) unsuccessfully. I=0A= replaced the failed disk with a new one and the BIOS added it =0A= automatically to the raid.=0A= Running kernel 2.6.18-194.17.4.el5.<br>=0A= =0A= <em><br></em><br><em># dmraid -r</em><br><em><br></em><br><code>/dev/sda: i= sw=2C "isw_babcjifefe"=2C GROUP=2C ok=2C 1953525165 sectors=2C data@ 0<br>/= dev/sdb: isw=2C "isw_babcjifefe"=2C GROUP=2C ok=2C 1953525165 sectors=2C da= ta@ 0=0A= </code>=0A= =0A= <em><br></em><br><em># dmraid -s</em><br>=0A= =0A= <pre><code>*** Group superset isw_babcjifefe=0A= -->=3B Subset=0A= name : isw_babcjifefe_Raid0=0A= size : 1953519616=0A= stride : 128=0A= type : mirror=0A= status : nosync=0A= subsets: 0=0A= devs : 2=0A= spares : 0=0A= </code></pre>=0A= =0A= When i try to start the raid i receive the next errors <br>=0A= =0A= <em># dmraid -f isw -S -M /dev/sdb</em> <br>=0A= =0A= <pre><code>ERROR: isw: SPARE disk must use all space on the disk=0A= </code></pre>=0A= =0A= <em># dmraid -tay</em><br>=0A= =0A= <pre><code>isw_babcjifefe_Raid0: 0 1953519616 mirror core 3 131072 sync blo= ck_on_error 2 /dev/sda 0 /dev/sdb 0=0A= </code></pre>=0A= =0A= <em># dmraid -ay</em><br>=0A= =0A= <pre><code>RAID set "isw_babcjifefe_Raid0" was not activated=0A= ERROR: device "isw_babcjifefe_Raid0" could not be found=0A= </code></pre>=0A= =0A= <em># dmraid -f isw -S -M /dev/sdb</em> <br>=0A= =0A= <pre><code>ERROR: isw: SPARE disk must use all space on the disk=0A= </code></pre>=0A= =0A= # dmraid -R isw_babcjifefe_Raid0 /dev/sdb<br>=0A= =0A= <pre><code>ERROR: disk /dev/sdb cannot be used to rebuilding=0A= </code></pre>=0A= =0A= <em># dmesg</em><br>=0A= =0A= <pre><code>device-mapper: table: 253:13: mirror: Device lookup failure=0A= device-mapper: ioctl: error adding target to table=0A= device-mapper: ioctl: device doesn't appear to be in the dev hash table.=0A= device-mapper: table: 253:13: mirror: Device lookup failure=0A= device-mapper: ioctl: error adding target to table=0A= device-mapper: ioctl: device doesn't appear to be in the dev hash table.=0A= device-mapper: table: 253:13: mirror: Device lookup failure=0A= device-mapper: ioctl: error adding target to table=0A= device-mapper: ioctl: device doesn't appear to be in the dev hash table.=0A= device-mapper: ioctl: device doesn't appear to be in the dev hash table.=0A= device-mapper: ioctl: device doesn't appear to be in the dev hash table.=0A= </code></pre>=0A= =0A= Disks:<br>=0A= =0A= <pre><code>Disk /dev/sda: 1000.2 GB=2C 1000204886016 bytes=0A= 255 heads=2C 63 sectors/track=2C 121601 cylinders=0A= Units =3D cylinders of 16065 * 512 =3D 8225280 bytes=0A= Disk /dev/sdb: 1000.2 GB=2C 1000204886016 bytes=0A= 255 heads=2C 63 sectors/track=2C 121601 cylinders=0A= Units =3D cylinders of 16065 * 512 =3D 8225280 bytes=0A= </code></pre>=0A= =0A= LVM:<br>=0A= =0A= <pre><code>PV /dev/sda5 VG storage lvm2 [914.64 GB / 28.64 GB free]=0A= Total: 1 [914.64 GB] / in use: 1 [914.64 GB] / in no VG: 0 [0 ]=0A= Reading all physical volumes. This may take a while...=0A= Found volume group "storage" using metadata type lvm2=0A= ACTIVE '/dev/storage/home' [68.00 GB] inherit=0A= ACTIVE '/dev/storage/home2' [68.00 GB] inherit=0A= ACTIVE '/dev/storage/home3' [68.00 GB] inherit=0A= ACTIVE '/dev/storage/home4' [68.00 GB] inherit=0A= ACTIVE '/dev/storage/home5' [68.00 GB] inherit=0A= ACTIVE '/dev/storage/var' [15.00 GB] inherit=0A= ACTIVE '/dev/storage/mysql' [20.00 GB] inherit=0A= ACTIVE '/dev/storage/pgsql' [7.00 GB] inherit=0A= ACTIVE '/dev/storage/exim' [12.00 GB] inherit=0A= ACTIVE '/dev/storage/apache' [25.00 GB] inherit=0A= ACTIVE '/dev/storage/tmp' [2.00 GB] inherit=0A= ACTIVE '/dev/storage/backup' [450.00 GB] inherit=0A= ACTIVE '/dev/storage/log' [15.00 GB] inherit<br><br>Any idea of = what is wrong?<br>Thanks! <br></code></pre>=0A= =0A= </div> </div>=0A= <br>_______________________________________________=0A= Ataraid-list mailing list=0A= [email protected]=0A= https://www.redhat.com/mailman/listinfo/ataraid-list</div> </div= ></body> </html>= --_6581eef9-d50e-4167-bd3a-271d9a4cb70f_-- --===============4899680395234738760== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ataraid-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/ataraid-list --===============4899680395234738760==--