Hi all,
I have FreeNAS 9.3 up and running for a couple of months with an encrypted disk.
Now I wanted to mirror it with another HDD. But after trying(!) to import I could not decrypt the primary volume. Now even after demount and trying to reimport I get this error
Is there any way to recover the "old" status? Not sure if the initial mistake happened with reimporting as a guess.
Best and thank you very much for your support I am very frustrated right now as I was hardly at starting the NAS 24/7.
EDIT1:seems as if there has been some repartitioning.
zdb -l /dev/ada2p2 returns:
any way to manually reaccess the pool?
gpart recover is "not needed"
gpart show ada2 gives:
gpart list ada2 gives:
Best,
Blubberor
I have FreeNAS 9.3 up and running for a couple of months with an encrypted disk.
Now I wanted to mirror it with another HDD. But after trying(!) to import I could not decrypt the primary volume. Now even after demount and trying to reimport I get this error
- The following disks failed to attach: gptid/92a350fb-2e7b-11e6-891c-d0509976f5a8
Is there any way to recover the "old" status? Not sure if the initial mistake happened with reimporting as a guess.
Best and thank you very much for your support I am very frustrated right now as I was hardly at starting the NAS 24/7.
EDIT1:seems as if there has been some repartitioning.
zdb -l /dev/ada2p2 returns:
Code:
-------------------------------------------- LABEL 0 -------------------------------------------- failed to unpack label 0 -------------------------------------------- LABEL 1 -------------------------------------------- failed to unpack label 1 -------------------------------------------- LABEL 2 -------------------------------------------- failed to unpack label 2 -------------------------------------------- LABEL 3 -------------------------------------------- failed to unpack label 3
any way to manually reaccess the pool?
gpart recover is "not needed"
gpart show ada2 gives:
Code:
=> 34 11721045101 ada2 GPT (5.5T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 11716850696 2 freebsd-zfs (5.5T) 11721045128 7 - free - (3.5k)
gpart list ada2 gives:
Code:
Geom name: ada2 modified: false state: OK fwheads: 16 fwsectors: 63 last: 11721045134 first: 34 entries: 128 scheme: GPT Providers: 1. Name: ada2p1 Mediasize: 2147483648 (2.0G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 rawuuid: 92941b27-2e7b-11e6-891c-d0509976f5a8 rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b label: 1 length: 2147483648 offset: 65536 type: freebsd-swap index: 1 end: 4194431 start: 128 2. Name: ada2p2 Mediasize: 5999027556352 (5.5T) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 rawuuid: 92a350fb-2e7b-11e6-891c-d0509976f5a8 rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b label: 1 length: 5999027556352 offset: 2147549184 type: freebsd-zfs index: 2 end: 11721045127 start: 4194432 Consumers: 1. Name: ada2 Mediasize: 6001175126016 (5.5T) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0
Best,
Blubberor
Last edited: