年の瀬、公園で糞寒い中でも元気な子供達を遊ばせていると、家で掃除をしてくれていた妻からビデオ通話が入った。曰く、サーバのケーブルが抜けちゃった!
映像を見ると、抜けたのは外付けHD箱(まだこいつが動いている!)のeSATAケーブルのようだ。これ、抜けやすいんだよね…。しかたない。気にしないで、と返事して外遊びを続けた。
しばらくして帰宅して、ケーブルを再接続してからサーバの様子を見ると、メインのpoolは外付け箱のディスク群に頼らず本体だけで動くのでおいておくとして、メディアファイル置き場にしていたpoolがUNAVAIL状態に落ちていた。ディスクは繋がっているのにおかしいな。と、dmesgを見るとこんなもので埋め尽くされていた。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Dec 30 14:22:56 daemon kernel: (aprobe0:siisch1:0:15:0): SOFT_RESET. ACB: 00 00 00 00 00 00 00 00 00 00 00 00 Dec 30 14:22:56 daemon kernel: (noperiph:siisch1:0:(aprobe1:siisch1:0:0:0): CAM status: Unconditionally Re-queue Request Dec 30 14:22:56 daemon kernel: (aprobe0:siisch1:0:15:0): CAM status: Unconditionally Re-queue Request Dec 30 14:22:56 daemon kernel: -1:(aprobe0:ffffffff): siisch1:0:rescan already queued Dec 30 14:22:56 daemon kernel: 15:(noperiph:0): siisch1:0:Error 5, Retry was blocked Dec 30 14:22:56 daemon kernel: -1:ffffffff): (aprobe1:rescan already queued Dec 30 14:22:56 daemon kernel: siisch1:0:0:0): Error 5, Retry was blocked Dec 30 14:22:56 daemon kernel: (aprobe1:siisch1:0:0:0): SOFT_RESET. ACB: 00 00 00 00 00 00 00 00 00 00 00 00 Dec 30 14:22:56 daemon kernel: (aprobe0:siisch1:0:15:0): SOFT_RESET. ACB: 00 00 00 00 00 00 00 00 00 00 00 00 Dec 30 14:22:56 daemon kernel: (noperiph:(aprobe1:siisch1:0:0:0): CAM status: Unconditionally Re-queue Request Dec 30 14:22:56 daemon kernel: (aprobe0:siisch1:0:15:0): CAM status: Unconditionally Re-queue Request Dec 30 14:22:56 daemon kernel: siisch1:0:(aprobe0:-1:siisch1:0:ffffffff): 15:rescan already queued Dec 30 14:22:56 daemon kernel: 0): (noperiph:Error 5, Retry was blocked Dec 30 14:22:56 daemon kernel: siisch1:0:-1:(aprobe1:ffffffff): siisch1:0:rescan already queued Dec 30 14:22:56 daemon kernel: 0:0): Error 5, Retry was blocked |
うわー。軽く調べると、これはケーブル不良・接触不良の疑いがある。慌ててケーブルを抜くと埃だらけ…。やばい。埃を除去して再接続すると、今度はこう来た。
1 2 |
Dec 30 14:40:30 daemon kernel: GEOM: ada6: corrupt or invalid GPT detected. Dec 30 14:40:30 daemon kernel: GEOM: ada6: GPT rejected -- may not be recoverable. |
ありゃりゃ。GPTが壊れた?でも、rawデバイスでpoolに入れているから、GPTがどうの出てくるのはおかしい。ということで、このpoolを構成している2台のディスクの頭の方を見てみる。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# dd if=/dev/ada6 count=4 | hd ... 00000200 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00 |EFI PART....\...| ... 4+0 records in 4+0 records out 2048 bytes transferred in 0.000387 secs (5294849 bytes/sec) # dd if=/dev/ada7 count=4 | hd 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 4+0 records in 4+0 records out 2048 bytes transferred in 0.000433 secs (4725187 bytes/sec) 00000800 |
なるほど、片方にEFIディスクラベルが残っており、GEOMがそれを拾ってしまったようだ。なぜ今になって問題となったのかはわからないが、変な信号でどこかが壊れたか、それによって回復処理が走ったとか?
さて、ZFS On-Disk Specification(悲しいかな、オフィシャルな置き場所は失われたのでググって探そう)のSection 1.3によれば、ZFSボリュームの頭に置かれるvdev labelの頭の8KBはブランク、つまりZFSでは関知しないようなので、クリアしてしまおう。
1 2 3 4 |
# dd if=/dev/zero of=/dev/ada6 count=4 4+0 records in 4+0 records out 2048 bytes transferred in 0.000024 secs (87145228 bytes/sec) |
しばらくすると、ボリュームがZFSで認識されるようになったので、zpool importで無事poolが復活した。ああ、よかった。今年もデータロスなく年を越せそうです。
child porn
child teen porn
child teen
porn
порно
Supertotobet, �e�itli online bahis ve casino oyunlar� sunan g�venilir bir platformdur. Geni� spor bahisleri se�enekleri, canl� casino deneyimi ve pop�ler slot oyunlar� ile kullan�c�lar�na heyecan verici bir oyun ortam� sunar.
Simply desire to say your article is as surprising. The clearness in your post is simply excellent and i could assume you are an expert on this subject. Fine with your permission let me to grab your feed to keep up to date with forthcoming post. Thanks a million and please carry on the gratifying work.
tipobet porn
tipobet porn
Temp mail Great information shared.. really enjoyed reading this post thank you author for sharing this post .. appreciated
Simply Sseven I very delighted to find this internet site on bing, just what I was searching for as well saved to fav
What is a good dental health? My website: prodentim reviews
What is a good dental health? My website: prodentim reviews
What is a good dental health? My website: prodentim reviews
sumatra slim belly tonic reviews: sumatra slim belly tonic reviews
nagano tonic: nagano tonic
nagano tonic: nagano tonic
nagano tonic: nagano tonic
nagano tonic: nagano tonic
nagano tonic: nagano tonic
nagano tonic: nagano tonic
sugar defender reviews: https://sugardefenderreviews.pages.dev
Nitric boost ultra reviews : https://nitricboostultrareviews.usaloves.com
Nitric boost ultra reviews : https://nitricboostultrareviews.usaloves.com
Nitric boost ultra reviews : https://nitricboostultrareviews.usaloves.com
Sugar defender reviews : sugar defender reviews
Sugar defender reviews : sugar defender reviews
Sugar defender reviews : sugar defender reviews
Sugar defender reviews : sugar defender reviews
Sugar defender reviews : sugar defender reviews
Tech Learner For the reason that the admin of this site is working, no uncertainty very quickly it will be renowned, due to its quality contents.
nagano tonic reviews : nagano tonic reviews
nagano tonic reviews : nagano tonic reviews
nagano tonic reviews : nagano tonic reviews
nagano tonic reviews : nagano tonic reviews
nagano tonic reviews : nagano tonic reviews
nagano tonic reviews : nagano tonic reviews
My brother suggested I might like this blog He was totally right This post actually made my day You can not imagine simply how much time I had spent for this info Thanks
nagano tonic reviews : nagano tonic
nagano tonic reviews : nagano tonic
nagano tonic reviews : nagano tonic
Nice read, I just passed this onto a friend who was doing some research on that. And he just bought me lunch as I found it for him smile So let me rephrase that: Thanks for lunch! “Life is a continual upgrade.” by J. Mark Wallace.