unable to remount an encrypted drive after error during write to the drive [Error 5, Periph was invalidated]

socra

Dabbler
Joined
Nov 3, 2018
Messages
34
Currently running 11.2-u1 native on a otherwise stable system.
  • Freenas 11.2-U1
  • 8GB non-ECC
    Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz (4 cores)
    MSI Motherboard
    SSD for bootdrive
    Couple of data drives for my media collection (which are connected to an LSI HBA card)
    Drive in question is connected directly to the motherboard and not to the LSI card.


I was writing some data to a cifs share when all of a sudden the copy action was broken off.

FreeNAS showed an alert about an error occurred and data corruption may have happend:

Rebooted the box since and box booted fine except the encrypted drive is now not available.


The pool is shown as locked:


The drive is now shown as unused:


glabel status

Code:
                                  Name  Status  Components
gptid/ea5c5c32-fcae-11e8-8985-448a5bca6d50     N/A  ada0p1
gptid/9de944b6-1676-11e9-b2dd-448a5bca6d50     N/A  ada1p2
gptid/bce3642e-fcb4-11e8-abaf-448a5bca6d50     N/A  da0p2
gptid/364b08d6-fde6-11e8-abaf-448a5bca6d50     N/A  da1p2
gptid/c595e422-ff7f-11e8-8cfa-448a5bca6d50     N/A  da2p2


Logging showed this during the copy:
Code:
Mar 16 12:03:55 yoda ahcich2: Timeout on slot 8 port 0
Mar 16 12:03:55 yoda ahcich2: is 00000000 cs fffffe07 ss ffffff07 rs ffffff07 tfd 40 serr 00000000 cmd 0000c817
Mar 16 12:03:55 yoda (ada1:ahcich2:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 08 68 a4 ae 40 5f 00 00 00 00 00
Mar 16 12:03:55 yoda (ada1:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:03:55 yoda (ada1:ahcich2:0:0:0): Retrying command
Mar 16 12:04:25 yoda ahcich2: Timeout on slot 5 port 0
Mar 16 12:04:25 yoda ahcich2: is 00000000 cs f8000000 ss ffffffe0 rs ffffffe0 tfd c0 serr 00000000 cmd 0000db17
Mar 16 12:04:25 yoda (ada1:ahcich2:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 18 78 3c 41 40 52 00 00 00 00 00
Mar 16 12:04:25 yoda (ada1:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:04:25 yoda (ada1:ahcich2:0:0:0): Retrying command
Mar 16 12:04:55 yoda ahcich2: Timeout on slot 2 port 0
Mar 16 12:04:55 yoda ahcich2: is 00000000 cs 1fffffc0 ss 1ffffffc rs 1ffffffc tfd c0 serr 00000000 cmd 0000c617
Mar 16 12:04:55 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 58 fe 73 40 3e 00 00 01 00 00
Mar 16 12:04:55 yoda (ada1:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:04:55 yoda (ada1:ahcich2:0:0:0): Retrying command
Mar 16 12:06:33 yoda ahcich2: Timeout on slot 2 port 0
Mar 16 12:06:33 yoda ahcich2: is 00000000 cs 00000004 ss 00000000 rs 00000004 tfd c0 serr 00000000 cmd 0000c217
Mar 16 12:06:33 yoda (ada1:ahcich2:0:0:0): WRITE_DMA48. ACB: 35 00 78 d0 69 40 60 00 00 00 00 01
Mar 16 12:06:33 yoda (ada1:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:06:33 yoda (ada1:ahcich2:0:0:0): Retrying command
Mar 16 12:07:04 yoda ahcich2: AHCI reset: device not ready after 31000ms (tfd = 00000080)
Mar 16 12:07:34 yoda ahcich2: Timeout on slot 3 port 0
Mar 16 12:07:34 yoda ahcich2: is 00000000 cs 00000008 ss 00000000 rs 00000008 tfd 80 serr 00000000 cmd 0000c317
Mar 16 12:07:34 yoda (aprobe0:ahcich2:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
Mar 16 12:07:34 yoda (aprobe0:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:07:34 yoda (aprobe0:ahcich2:0:0:0): Retrying command
Mar 16 12:08:06 yoda ahcich2: AHCI reset: device not ready after 31000ms (tfd = 00000080)
Mar 16 12:08:35 yoda ahcich2: Timeout on slot 4 port 0
Mar 16 12:08:35 yoda ahcich2: is 00000000 cs 00000010 ss 00000000 rs 00000010 tfd 80 serr 00000000 cmd 0000c417
Mar 16 12:08:35 yoda (aprobe0:ahcich2:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
Mar 16 12:08:35 yoda (aprobe0:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:08:35 yoda (aprobe0:ahcich2:0:0:0): Error 5, Retries exhausted
Mar 16 12:09:07 yoda ahcich2: AHCI reset: device not ready after 31000ms (tfd = 00000080)
Mar 16 12:09:37 yoda ahcich2: Timeout on slot 5 port 0
Mar 16 12:09:37 yoda ahcich2: is 00000000 cs 00000020 ss 00000000 rs 00000020 tfd 80 serr 00000000 cmd 0000c517
Mar 16 12:09:37 yoda (aprobe0:ahcich2:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
Mar 16 12:09:37 yoda (aprobe0:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:09:37 yoda (aprobe0:ahcich2:0:0:0): Error 5, Retry was blocked
Mar 16 12:09:37 yoda ada1 at ahcich2 bus 0 scbus2 target 0 lun 0
Mar 16 12:09:37 yoda ada1: <SAMSUNG HD103UJ 1AA01118> s/n S13PJX0C400547 detached
Mar 16 12:09:37 yoda GEOM_ELI: g_eli_read_done() failed (error=6) gptid/9de944b6-1676-11e9-b2dd-448a5bca6d50.eli[READ(offset=801730490368, length=4096)]
Mar 16 12:09:37 yoda GEOM_ELI: g_eli_read_done() failed (error=6) gptid/9de944b6-1676-11e9-b2dd-448a5bca6d50.eli[READ(offset=270336, length=8192)]
Mar 16 12:09:37 yoda GEOM_ELI: g_eli_read_done() failed (error=6) gptid/9de944b6-1676-11e9-b2dd-448a5bca6d50.eli[READ(offset=998056665088, length=8192)]
Mar 16 12:09:37 yoda GEOM_ELI: g_eli_read_done() failed (error=6) gptid/9de944b6-1676-11e9-b2dd-448a5bca6d50.eli[READ(offset=998056927232, length=8192)]
Mar 16 12:10:08 yoda ahcich2: AHCI reset: device not ready after 31000ms (tfd = 00000080)
Mar 16 12:10:39 yoda ahcich2: Timeout on slot 6 port 0
Mar 16 12:10:39 yoda ahcich2: is 00000000 cs 00000040 ss 00000000 rs 00000040 tfd 80 serr 00000000 cmd 0000c617
Mar 16 12:10:39 yoda (aprobe0:ahcich2:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
Mar 16 12:10:39 yoda (aprobe0:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:10:39 yoda (aprobe0:ahcich2:0:0:0): Retrying command
Mar 16 12:11:10 yoda ahcich2: AHCI reset: device not ready after 31000ms (tfd = 00000080)
Mar 16 12:11:40 yoda ahcich2: Timeout on slot 7 port 0
Mar 16 12:11:40 yoda ahcich2: is 00000000 cs 00000080 ss 00000000 rs 00000080 tfd 80 serr 00000000 cmd 0000c717
Mar 16 12:11:40 yoda (aprobe0:ahcich2:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 00 00
Mar 16 12:11:40 yoda (aprobe0:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:11:40 yoda (aprobe0:ahcich2:0:0:0): Error 5, Retries exhausted
Mar 16 12:12:26 yoda ahcich2: AHCI reset: device not ready after 31000ms (tfd = 00000080)
Mar 16 12:12:26 yoda ahcich2: Poll timeout on slot 9 port 0
Mar 16 12:12:26 yoda ahcich2: is 00000000 cs 00000200 ss 00000000 rs 00000200 tfd 80 serr 00000000 cmd 0000c917
Mar 16 12:12:26 yoda (aprobe0:ahcich2:0:0:0): NOP FLUSHQUEUE. ACB: 00 00 00 00 00 00 00 00 00 00 00 00
Mar 16 12:12:26 yoda (aprobe0:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:12:26 yoda (aprobe0:ahcich2:0:0:0): Error 5, Retries exhausted
Mar 16 12:13:27 yoda ahcich2: Timeout on slot 10 port 0
Mar 16 12:13:27 yoda ahcich2: is 00000000 cs 00000400 ss 00000000 rs 00000400 tfd 80 serr 00000000 cmd 0000ca17
Mar 16 12:13:27 yoda (ada1:ahcich2:0:0:0): WRITE_DMA48. ACB: 35 00 78 d0 69 40 60 00 00 00 00 01
Mar 16 12:13:27 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:13:27 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:14:13 yoda ahcich2: AHCI reset: device not ready after 31000ms (tfd = 00000080)
Mar 16 12:14:13 yoda xptioctl: pass driver is not in the kernel
Mar 16 12:14:13 yoda xptioctl: put "device pass" in your kernel config file
Mar 16 12:14:13 yoda ahcich2: Poll timeout on slot 12 port 0
Mar 16 12:14:13 yoda ahcich2: is 00000000 cs 00001000 ss 00000000 rs 00001000 tfd 80 serr 00000000 cmd 0000cc17
Mar 16 12:14:13 yoda (aprobe0:ahcich2:0:0:0): NOP FLUSHQUEUE. ACB: 00 00 00 00 00 00 00 00 00 00 00 00
Mar 16 12:14:13 yoda (aprobe0:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:14:13 yoda (aprobe0:ahcich2:0:0:0): Error 5, Retries exhausted
Mar 16 12:14:43 yoda ahcich2: Timeout on slot 13 port 0
Mar 16 12:14:43 yoda ahcich2: is 00000000 cs 00002000 ss 00000000 rs 00002000 tfd 80 serr 00000000 cmd 0000cd17
Mar 16 12:14:43 yoda (ada1:ahcich2:0:0:0): SETFEATURES ENABLE RCACHE. ACB: ef aa 00 00 00 40 00 00 00 00 00 00
Mar 16 12:14:43 yoda (ada1:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:14:43 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:15:29 yoda ahcich2: AHCI reset: device not ready after 31000ms (tfd = 00000080)
Mar 16 12:15:29 yoda ahcich2: Poll timeout on slot 15 port 0
Mar 16 12:15:29 yoda ahcich2: is 00000000 cs 00008000 ss 00000000 rs 00008000 tfd 80 serr 00000000 cmd 0000cf17
Mar 16 12:15:29 yoda (aprobe0:ahcich2:0:0:0): NOP FLUSHQUEUE. ACB: 00 00 00 00 00 00 00 00 00 00 00 00
Mar 16 12:15:29 yoda (aprobe0:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:15:29 yoda (aprobe0:ahcich2:0:0:0): Error 5, Retries exhausted
Mar 16 12:15:59 yoda ahcich2: Timeout on slot 16 port 0
Mar 16 12:15:59 yoda ahcich2: is 00000000 cs 00010000 ss 00000000 rs 00010000 tfd 80 serr 00000000 cmd 0000d017
Mar 16 12:15:59 yoda (ada1:ahcich2:0:0:0): SETFEATURES ENABLE WCACHE. ACB: ef 02 00 00 00 40 00 00 00 00 00 00
Mar 16 12:15:59 yoda (ada1:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:15:59 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:16:46 yoda ahcich2: AHCI reset: device not ready after 31000ms (tfd = 00000080)
Mar 16 12:16:46 yoda ahcich2: Poll timeout on slot 18 port 0
Mar 16 12:16:46 yoda ahcich2: is 00000000 cs 00040000 ss 00000000 rs 00040000 tfd 80 serr 00000000 cmd 0000d217
Mar 16 12:16:46 yoda (aprobe0:ahcich2:0:0:0): NOP FLUSHQUEUE. ACB: 00 00 00 00 00 00 00 00 00 00 00 00
Mar 16 12:16:46 yoda (aprobe0:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:16:46 yoda (aprobe0:ahcich2:0:0:0): Error 5, Retries exhausted
Mar 16 12:17:16 yoda ahcich2: Timeout on slot 19 port 0
Mar 16 12:17:16 yoda ahcich2: is 00000000 cs fffbffff ss fffbffff rs fffbffff tfd 80 serr 00000000 cmd 0000d317
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 78 d1 69 40 60 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 c3 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 c4 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda GEOM_ELI: (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 c5 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda g_eli_write_done() failed (error=5)(ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 c6 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda gptid/9de944b6-1676-11e9-b2dd-448a5bca6d50.eli[WRITE(offset=826035924992, length=1048576)](ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 c7 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 c8 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 c9 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 ca 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 cb 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 cc 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 cd 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 ce 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 cf 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 d0 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 d1 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 d2 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 d3 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 d4 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 78 d2 69 40 60 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 78 d3 69 40 60 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 78 d4 69 40 60 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 78 d5 69 40 60 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 78 d6 69 40 60 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 78 d7 69 40 60 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 78 d8 69 40 60 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 78 d9 69 40 60 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 bf 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 c0 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 c1 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 10 c2 60 40 55 00 00 01 00 00
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): CAM status: Unconditionally Re-queue Request
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Error 5, Periph was invalidated
Mar 16 12:17:16 yoda GEOM_ELI: g_eli_read_done() failed (error=5) gptid/9de944b6-1676-11e9-b2dd-448a5bca6d50.eli[READ(offset=731244208128, length=1048576)]
Mar 16 12:17:16 yoda GEOM_ELI: g_eli_read_done() failed (error=6) gptid/9de944b6-1676-11e9-b2dd-448a5bca6d50.eli[READ(offset=731245256704, length=1048576)]
Mar 16 12:17:16 yoda GEOM_ELI: g_eli_write_done() failed (error=5) gptid/9de944b6-1676-11e9-b2dd-448a5bca6d50.eli[WRITE(offset=826036973568, length=1048576)]
Mar 16 12:17:16 yoda GEOM_ELI: g_eli_read_done() failed (error=5) gptid/9de944b6-1676-11e9-b2dd-448a5bca6d50.eli[READ(offset=731243159552, length=1048576)]
Mar 16 12:17:16 yoda ZFS: vdev state changed, pool_guid=3940863797859595156 vdev_guid=16342206147851125131
Mar 16 12:17:16 yoda GEOM_MIRROR: Device swap1: provider ada1p1 disconnected.
Mar 16 12:17:16 yoda GEOM_ELI: Device gptid/9de944b6-1676-11e9-b2dd-448a5bca6d50.eli destroyed.
Mar 16 12:17:16 yoda GEOM_ELI: Detached gptid/9de944b6-1676-11e9-b2dd-448a5bca6d50.eli on last close.
Mar 16 12:17:16 yoda (ada1:ahcich2:0:0:0): Periph destroyed
Mar 16 12:17:18 yoda GEOM_ELI: Device mirror/swap1.eli destroyed.
Mar 16 12:17:20 yoda GEOM_MIRROR: Device swap1: provider destroyed.
Mar 16 12:17:20 yoda GEOM_MIRROR: Device swap1 destroyed.
Mar 16 12:17:21 yoda savecore: /dev/da0p1: Operation not permitted
Mar 16 12:18:03 yoda ahcich2: AHCI reset: device not ready after 31000ms (tfd = 00000080)
Mar 16 12:18:03 yoda ahcich2: Poll timeout on slot 19 port 0
Mar 16 12:18:03 yoda ahcich2: is 00000000 cs 00080000 ss 00000000 rs 00080000 tfd 80 serr 00000000 cmd 0000d317
Mar 16 12:18:03 yoda (aprobe0:ahcich2:0:0:0): NOP FLUSHQUEUE. ACB: 00 00 00 00 00 00 00 00 00 00 00 00
Mar 16 12:18:03 yoda (aprobe0:ahcich2:0:0:0): CAM status: Command timeout
Mar 16 12:18:03 yoda (aprobe0:ahcich2:0:0:0): Error 5, Retries exhausted

smartctl output of the drive. (currently running a long test):
Code:
smartctl output of the drive. (currently running a long test):
smartctl -a /dev/ada1
smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.2-STABLE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     SAMSUNG SpinPoint F1 DT
Device Model:     SAMSUNG HD103UJ
Serial Number:
LU WWN Device Id: 5 0000f0 00b045074
Firmware Version: 1AA01118
User Capacity:    1,000,204,886,016 bytes [1.00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA/ATAPI-7, ATA8-ACS T13/1699-D revision 3b
Local Time is:    Sat Mar 16 13:40:35 2019 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      ( 247) Self-test routine in progress...
                                        70% of test remaining.
Total time to complete Offline
data collection:                (12482) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 209) minutes.
Conveyance self-test routine
recommended polling time:        (  22) minutes.
SCT capabilities:              (0x003f) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   100   100   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0007   078   078   011    Pre-fail  Always       -       7330
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       140
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   253   253   051    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   100   100   015    Pre-fail  Offline      -       11792
  9 Power_On_Hours          0x0032   099   099   000    Old_age   Always       -       4499
10 Spin_Retry_Count        0x0033   100   100   051    Pre-fail  Always       -       0
11 Calibration_Retry_Count 0x0012   100   100   000    Old_age   Always       -       0
12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       136
13 Read_Soft_Error_Rate    0x000e   100   100   000    Old_age   Always       -       0
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0033   100   100   000    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   076   059   000    Old_age   Always       -       24 (Min/Max 24/24)
194 Temperature_Celsius     0x0022   073   056   000    Old_age   Always       -       27 (Min/Max 24/27)
195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   Always       -       955
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   100   100   000    Old_age   Always       -       1
200 Multi_Zone_Error_Rate   0x000a   100   100   000    Old_age   Always       -       0
201 Soft_Read_Error_Rate    0x000a   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Self-test routine in progress 70%      4499         -
# 2  Short offline       Completed without error       00%      4480         -
# 3  Short offline       Completed without error       00%      4432         -
# 4  Short offline       Completed without error       00%      4407         -
# 5  Short offline       Completed without error       00%      4388         -

SMART Selective self-test log data structure revision number 1
SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.



tried to attach the drive after the reboot:
Code:
geli attach -k /mnt//temp/yoda-pool80-geli.key /dev/ada1
geli: Cannot read metadata from /dev/ada1: Invalid argument.


So I think 2 questions come to mind:
1) Anyone an idea why this happend? (drive seems oke?)
2) Is there a way to remount the encrypted drive ?

Thanks for reading and your time!
 
Last edited:

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Check your cables and try a different one or new one. The connection is bad.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Use the import pool button in the GUI, type in your password. Not sure what you mean by help.
 

socra

Dabbler
Joined
Nov 3, 2018
Messages
34
I'm also unsure what you mean by help..don't think I mentioned it in my post ? :)

Anyway I don't have a passphrase just the key file, started the import pool wizard and uploaded the key file and clicked Next. FreeNAS now showing a Starting Job screen. has not moved passed that, don't know how long that normally takes.

 

socra

Dabbler
Joined
Nov 3, 2018
Messages
34
Tried it through the legacy UI which goes further but does not present a volume I can select:


Code:
Mar 16 15:14:13 yoda uwsgi: [middleware.exceptions:36] [MiddlewareError: Failed to geli detach gptid/bce3642e-fcb4-11e8-abaf-448a5bca6d50: geli: Cannot destroy device gptid/bce3642e-fcb4-11e8-abaf-448a5bca6d50.eli (error=16).
]
Mar 16 15:14:13 yoda uwsgi: [storage.forms:942] [MiddlewareError: Failed to geli detach gptid/bce3642e-fcb4-11e8-abaf-448a5bca6d50: geli: Cannot destroy device gptid/bce3642e-fcb4-11e8-abaf-448a5bca6d50.eli (error=16).
]
Mar 16 15:14:13 yoda uwsgi: [middleware.exceptions:36] [MiddlewareError: Failed to geli detach gptid/364b08d6-fde6-11e8-abaf-448a5bca6d50: geli: Cannot destroy device gptid/364b08d6-fde6-11e8-abaf-448a5bca6d50.eli (error=16).
]
Mar 16 15:14:13 yoda uwsgi: [storage.forms:942] [MiddlewareError: Failed to geli detach gptid/364b08d6-fde6-11e8-abaf-448a5bca6d50: geli: Cannot destroy device gptid/364b08d6-fde6-11e8-abaf-448a5bca6d50.eli (error=16).
]
Mar 16 15:14:13 yoda uwsgi: [middleware.exceptions:36] [MiddlewareError: Failed to geli detach gptid/c595e422-ff7f-11e8-8cfa-448a5bca6d50: geli: Cannot destroy device gptid/c595e422-ff7f-11e8-8cfa-448a5bca6d50.eli (error=16).
]
Mar 16 15:14:13 yoda uwsgi: [storage.forms:942] [MiddlewareError: Failed to geli detach gptid/c595e422-ff7f-11e8-8cfa-448a5bca6d50: geli: Cannot destroy device gptid/c595e422-ff7f-11e8-8cfa-448a5bca6d50.eli (error=16).
]
Mar 16 15:14:39 yoda GEOM_ELI: Device gptid/9de944b6-1676-11e9-b2dd-448a5bca6d50.eli created.
 

socra

Dabbler
Joined
Nov 3, 2018
Messages
34
Latest update I can give to this, is that I started over and luckily had somewhat of a backup. Will move off of encrypted drives as soon as I can ($$$), don't trust the current implementation of encryption.
 
Top