RAID構築したと思いきや、degradしていたとき。。 [LinuxでSoftware RAID]
# mdadm --create /dev/md0 --raid-devices=4 --level=raid10 -v /dev/sd[abcd]1
として、RAID10を構築をはじめて、、およそ5時間後、構築できたことを確認してみると。。
# mdadm --detail /dev/md0
/dev/md0:
Version : 00.90
Creation Time : Sat May 15 05:54:27 2010
Raid Level : raid10
Array Size : 3907026944 (3726.03 GiB 4000.80 GB)
Used Dev Size : 1953513472 (1863.02 GiB 2000.40 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Sat May 15 10:53:31 2010
State : active, degraded
Active Devices : 2
Working Devices : 2
Failed Devices : 2
Spare Devices : 0
Layout : near=2, far=1
Chunk Size : 64K
UUID : f2c36e62:2b9db247:86b54b3f:1d0c4af0 (local to host fs)
Events : 0.21
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 0 0 1 removed
2 8 33 2 active sync /dev/sdc1
3 0 0 3 removed
4 8 49 - faulty spare /dev/sdd1
5 8 17 - faulty spare /dev/sdb1
え〜。degradeしてるじゃないですか、って。。
いちおsyslogみると、
May 15 09:56:40 fs kernel: [16066.137942] end_request: I/O error, dev sdd, sector 2262970368
May 15 09:56:40 fs kernel: [16066.138010] raid10: Disk failure on sdd1, disabling device.
May 15 09:56:40 fs kernel: [16066.138013] raid10: Operation continuing on 3 devices.
May 15 09:56:40 fs kernel: [16066.138225] sd 5:0:0:0: [sdd] Unhandled error code
May 15 09:56:40 fs kernel: [16066.138228] sd 5:0:0:0: [sdd] Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT
May 15 09:56:40 fs kernel: [16066.138234] sd 5:0:0:0: [sdd] CDB: Write(10): 2a 00 86 e2 34 00
May 15 09:56:40 fs kernel: [16066.138244] md: md0: resync done.
あ〜、なんかイヤなかんじです。
# badblocks -vs -o sdb1.bad /dev/sdb1
# badblocks -vs -o sdd1.bad /dev/sdd1
で、不良セクタのチェックを行ってもいいのですが、時間が掛かりそうなので、
試しに、スーパーブロックを初期化して、リビルドします。
# mdadm --manage /dev/md0 --remove /dev/sd[bd]1
# mdadm --detail /dev/md0
/dev/md0:
Version : 00.90
Creation Time : Sat May 15 05:54:27 2010
Raid Level : raid10
Array Size : 3907026944 (3726.03 GiB 4000.80 GB)
Used Dev Size : 1953513472 (1863.02 GiB 2000.40 GB)
Raid Devices : 4
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Sat May 15 14:17:41 2010
State : active, degraded
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Layout : near=2, far=1
Chunk Size : 64K
UUID : f2c36e62:2b9db247:86b54b3f:1d0c4af0 (local to host fs)
Events : 0.23
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 0 0 1 removed
2 8 33 2 active sync /dev/sdc1
3 0 0 3 removed
# mdadm --misc --zero-superblock /dev/sd[bd]1
# mdadm --manage /dev/md0 --add /dev/sd[bd]1
# mdadm --detail /dev/md0
/dev/md0:
Version : 00.90
Creation Time : Sat May 15 05:54:27 2010
Raid Level : raid10
Array Size : 3907026944 (3726.03 GiB 4000.80 GB)
Used Dev Size : 1953513472 (1863.02 GiB 2000.40 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Sat May 15 14:18:28 2010
State : active, degraded, recovering
Active Devices : 2
Working Devices : 4
Failed Devices : 0
Spare Devices : 2
Layout : near=2, far=1
Chunk Size : 64K
Rebuild Status : 0% complete
UUID : f2c36e62:2b9db247:86b54b3f:1d0c4af0 (local to host fs)
Events : 0.25
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
5 8 17 1 spare rebuilding /dev/sdb1
2 8 33 2 active sync /dev/sdc1
3 0 0 3 removed
4 8 49 - spare /dev/sdd1
って、リビルドって、一個ずつなのね(^^;)
5時間後。。
# mdadm --detail /dev/md0
/dev/md0:
Version : 00.90
Creation Time : Sat May 15 05:54:27 2010
Raid Level : raid10
Array Size : 3907026944 (3726.03 GiB 4000.80 GB)
Used Dev Size : 1953513472 (1863.02 GiB 2000.40 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Sat May 15 19:47:59 2010
State : active, degraded, recovering
Active Devices : 3
Working Devices : 4
Failed Devices : 0
Spare Devices : 1
Layout : near=2, far=1
Chunk Size : 64K
Rebuild Status : 0% complete
UUID : f2c36e62:2b9db247:86b54b3f:1d0c4af0 (local to host fs)
Events : 0.42
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
2 8 33 2 active sync /dev/sdc1
4 8 49 3 spare rebuilding /dev/sdd1
さらに5時間後。
# mdadm --detail /dev/md0
/dev/md0:
Version : 00.90
Creation Time : Sat May 15 05:54:27 2010
Raid Level : raid10
Array Size : 3907026944 (3726.03 GiB 4000.80 GB)
Used Dev Size : 1953513472 (1863.02 GiB 2000.40 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Sun May 16 01:21:37 2010
State : active
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Layout : near=2, far=1
Chunk Size : 64K
UUID : f2c36e62:2b9db247:86b54b3f:1d0c4af0 (local to host fs)
Events : 0.59
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
2 8 33 2 active sync /dev/sdc1
3 8 49 3 active sync /dev/sdd1
時間掛かったなぁ〜
Keflex Alcohol <a href=http://avdrug.com>levitra prix en pharmacie bayer</a> Suspension Liquid Amoxicillin Clomid C Est Comment Viagra Generic Generic Cialis E20 <a href=http://buycial.com>cialis 5 mg</a> No Rx Mirtazapine 30 Mg Antidepressants Nolvadex 20 Mg Effets Secondaires Order Now On Line Doxycycline <a href=http://cheapestcial.com>cialis 5 mg best price usa</a> Generic Bentyl Website Pills Store Prix Du Levitra Effets Secondaires
by Jeashibia (2019-01-27 01:05)
Keflex Four Times <a href=http://cthosts.net>cheapest cialis</a> Need Perscription Amoxicillin
by AustJath (2019-04-13 16:59)
Acheter Kamagra Pas Cher Paris Amoxicillin Clavulanic And Pig Canada Prednisone <a href=http://cial40mg.com>canadian pharmacy cialis</a> 3 Clomid Depuis Mois Deja
by Jeashibia (2019-05-02 19:22)
Isotretinoin In Internet Propecia Generique 2012 Acheter Cialis 5mg Prix <a href=http://cialonlinecs.com>cialis online</a> Using Rogaine And Propecia Hair Loss
by AustJath (2019-06-05 23:00)
Propecia Fuerte Direct Progesterone Pills No Doctor Amex Accepted <a href=http://cheapciali.com>generic cialis from india</a> Achat Clomid Nolvadex Propecia Panic Attacks Comprar Cialis Rapido
by RandMES (2019-06-17 00:37)
Viagra Price Sueno De Propecia Online Zithromax No Prescription <a href=http://ausgsm.com></a> How Do You Rate Keflex Viagra Generico 6x100mg
by StepOdors (2019-06-19 20:38)
Prix Du Kamagra Cialis Levitra Cialis Reviews Pharm Support Group Canada <a href=http://orderlevi.com>donde comprar levitra en america</a> Clomid And Cialis Viagra Sildenafil Citrate Wirkung
by StevNite (2019-06-20 12:48)
Propecia 2 5 Female Viagra Reviews Amoxicillin For Sale In Us <a href=http://realviaonline.com>cialis canada</a> Cialis 20mg Von Lilly Amoxicillin Uses For Dogs
by RandMES (2019-06-29 06:03)
Dexamethasone Mixed With Amoxicillin Original Kamagra Jelly <a href=http://cialgeneri.com>buy cialis</a> Zithromax Mail Singapore Buy Lasix Without A Prescription Online Finasteride Propecia Precio
by StepOdors (2019-06-30 01:48)
Levitra On Sale Propecia Finasteride Online <a href=http://uscagsa.com>cialis for sale</a> Where Can I Get Fertomid By Ed Pills From Canada Priligy Venta En Peru
by StevNite (2019-07-02 17:29)
Se Vende Viagra Sin Receta Medica Cialis Kaufen Aachen <a href=http://staminamen.com>cheap cialis online</a> Baclofene Ethypharm Buy Amoxicillin No Prescription Online
by StevNite (2019-07-14 07:07)
Acheter Kamagra 100mg Orlistat Online No Prescription Misoprostol Online Fast Shipping <a href=http://mpphr.com>achat prillgy</a> Buying Viagra In Malaysia
by StepOdors (2019-07-26 00:43)
Parkizol Online Cheap Zithromax Online <a href=http://oc-35.com>propecia 5 mg for sale no</a> Buy Azithromycin Levitra 40mg
by AustJath (2019-07-27 04:35)
Viagra Dopage Levitra Modalita D'Uso Jual Priligy <a href=http://cialibuy.com>Cialis</a> Buying Discount Stendra Plus Fort Que Le Viagra Cialis Vs Viagra Cost
by LesAlelty (2020-01-17 12:11)
Overnight Pharm Viagra http://cialibuy.com - generic cialis from india Acheter En Ligne Cytotec <a href=http://cialibuy.com>cialis 5mg</a> Buy Female Viagra Online
by KelLery (2020-01-25 13:52)
Amoxicillin Adverse Reactions https://buyciallisonline.com/# - Buy Cialis Tetraciclina <a href=https://buyciallisonline.com/#>Buy Cialis</a> isotretinoin 10mg skin health
by LesAlelty (2020-02-21 00:37)
Elavil Generic 50 Mg. No Script http://abcialisnews.com - Buy Cialis Superdrugsaver In India <a href=http://abcialisnews.com>online pharmacy</a> Misoprostol How Long Does It Take
by StevBiaddy (2020-02-24 07:39)
Doctissimo Kamagra En Ligne <a href=http://cialisir.com>Buy Cialis</a> Price For Zithromax <a href=http://cialisir.com>cialis</a> Buy Doxycycline 20mg
by Stepomits (2020-02-25 21:18)
Definition Of Propecia <a href=https://buyciallisonline.com/#>Cialis</a> Buy Alli Starter Pack <a href=https://buyciallisonline.com/#>Buy Cialis</a> Dogs Amoxicillin
by StepLot (2020-03-01 06:04)
keep on improving your skills
by cryogenic chamber (2021-06-30 13:22)
коли закінчиться війна в україні передбачення <a href="http://bitly.com/skilky-shche-bude-tryvaty-viyna-v-ukrayini">коли закінчиться війна в україні передбачення</a> скільки триватиме війна
by Aberthap (2022-03-05 11:46)
https://bitbin.it/M6s1z3Ei/
by Abrthap (2022-03-12 13:37)
https://t.me/holostyaktntofficial2022
by Abrthap (2022-03-12 16:41)
https://t.me/holostyaktntofficial2022
by Abrthap (2022-03-14 16:48)
<a href="https://t.me/filmfilmfilmes/16">Человек-паук Вдали от дома</a>
by Abrthap (2022-03-15 13:04)
<a href="https://t.me/filmfilmfilmes/2">Вечер с Владимиром Соловьевым</a>
by Abrthap (2022-03-16 07:21)
<a href="https://t.me/filmfilmfilmes/17">На пятьдесят оттенков темнее</a>
by Abrthap (2022-03-17 07:26)
<a href="https://t.me/filmfilmfilmes/7">Игра в имитацию</a>
by Abrthap (2022-03-18 07:36)
Dies ist ein großartiger Beitrag, den ich sah, weil es angeboten wurde. Es ist wirklich, was ich sah suchen in Zukunft werden Sie nach dem gemeinsamen solch großartigen Beitrag fortfahren.
https://www.bacarasite.com/
https://holyangel.xyz
https://holycross.one
https://holyname.one
https://holyname.xyz
by 바카라사이트 (2023-03-31 11:14)
I'm no longer sure where you are getting your info, however good
topic. I must spend some time studying much more or working
out more. Thank you for excellent information I was
searching for this info for my mission.
https://oncablog.one
by 스포츠토토판매점 (2023-03-31 13:23)