Hey Guys,
I'm new here and i think this is the right place. I found several threads which are similar to my case but I couldn't figure out to solve my problem. Hopefully anyone can bring some light into the darkness for following situation. First my Setup:
I decided to speed things a bit up and got my server a new Disc-Controller. I then attached my fully working pool to the Controller which made my pool unavailable.
The first Mirror is still fully working, the second not. I looked on to the mirrors with the controllers raid utilitiy on the next boot and found on each disk of the second mirror a second partition. I had no clue for what reason there's now a second partition and in a kind of panic-mode I destroyed the mirror and configured the disks of the second mirror to JBOD.
This for sure didn't help in any way, except there are no partitions left.
My guess after reading a lot is the controller created a Host-protected-area which fits to the size of that partition(4 or 8mb don't remember exactly...)
However, i digged deeper and searched for any labels left on the broken disk.
I'm able to extract all labels of each disc of the first mirror with
but no label on the second mirror.
So I began to dig deeper.
I found a phrase similar to the label "l1" of the working discs. Some details changed like the members of the raid. Makes sense to me, because its the other mirror.
Now comes the tricky part which I need your help with.
If I'm thinking correctly I need to restore the zfs-GPT, then manually extract one of the labels and then bring that label into correct position on the corresponding disc. I cloned one of the affected discs, so at least I've unlimited trys like god-mode on AMIGA![Big Grin :D :D](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
What are the next steps? Hopefully here is someone to help me.
Thanks so far and greetings from Germany
I'm new here and i think this is the right place. I found several threads which are similar to my case but I couldn't figure out to solve my problem. Hopefully anyone can bring some light into the darkness for following situation. First my Setup:
Code:
Poolname: Media
stripped mirrors -->
Mirror 1:
Disk 1: ata-TOSHIBA_MD04ACA400_2567K2TAxxxx ->sda
Disk 2: ata-TOSHIBA_MD04ACA400_2567K2TVxxxx ->sdb
Mirror 2:
Disk 1: ata-TOSHIBA_MD04ACA400_Z4GHK8IHxxxx ->sdc
Disk 2: ata-TOSHIBA_MD04ACA400N_86E7K0Txxxx ->sdd
I decided to speed things a bit up and got my server a new Disc-Controller. I then attached my fully working pool to the Controller which made my pool unavailable.
The first Mirror is still fully working, the second not. I looked on to the mirrors with the controllers raid utilitiy on the next boot and found on each disk of the second mirror a second partition. I had no clue for what reason there's now a second partition and in a kind of panic-mode I destroyed the mirror and configured the disks of the second mirror to JBOD.
This for sure didn't help in any way, except there are no partitions left.
My guess after reading a lot is the controller created a Host-protected-area which fits to the size of that partition(4 or 8mb don't remember exactly...)
However, i digged deeper and searched for any labels left on the broken disk.
I'm able to extract all labels of each disc of the first mirror with
zdb -l /dev/sd(a/b)
but no label on the second mirror.
So I began to dig deeper.
Code:
dd if=dev/sdc bs=1k skip=x count=256 |grep hd
I found a phrase similar to the label "l1" of the working discs. Some details changed like the members of the raid. Makes sense to me, because its the other mirror.
Now comes the tricky part which I need your help with.
If I'm thinking correctly I need to restore the zfs-GPT, then manually extract one of the labels and then bring that label into correct position on the corresponding disc. I cloned one of the affected discs, so at least I've unlimited trys like god-mode on AMIGA
What are the next steps? Hopefully here is someone to help me.
Thanks so far and greetings from Germany