I can format do cryptsetup/format my extern HDD. Then I can format it with any filesystem. When I mount it, after some copy tries of files, I get lots of errors, like this:
root@OpenWrt:~# dmesg
[ 1243.923956] XFS (dm-0): Metadata corruption detected at 0x829425b0 [xfs@deae95aa+0xa13e0], xfs_inode block 0xecf29e90 xfs_inode_buf_verify
[ 1243.935136] XFS (dm-0): Unmount and run xfs_repair
[ 1243.942158] XFS (dm-0): First 128 bytes of corrupted metadata buffer:
[ 1243.949898] 00000000: ec 4f 81 de 2a cb de 5c e3 a1 c7 37 92 9f d4 9c .O..*..\...7....
[ 1243.959908] 00000010: cd 22 ab 46 aa 01 96 38 1c 8d da 12 33 03 c7 37 .".F...8....3..7
[ 1243.968958] 00000020: 36 83 a6 12 d6 67 75 4d 87 ef 4c 92 97 09 1a 5a 6....guM..L....Z
[ 1243.981604] 00000030: aa df b0 0b 1c 18 4e a1 83 86 06 38 a3 a9 de 11 ......N....8....
[ 1243.988388] 00000040: 28 e8 ee b2 15 bb 87 ac 45 00 f9 53 90 06 f6 d6 (.......E..S....
[ 1243.998623] 00000050: 88 cf 2a f4 dc 7a 9c 65 cf 80 3a f7 65 8d b8 d5 ..*..z.e..:.e...
[ 1244.007670] 00000060: 8b 0d ce 94 4b ba 20 2e ed 0a 08 55 57 6c 27 e6 ....K. ....UWl'.
[ 1244.020349] 00000070: 78 5a 54 9b df 08 32 70 67 49 6b e6 3b f0 af 3c xZT...2pgIk.;..<
[ 1244.027210] XFS: metadata IO error: 57 callbacks suppressed
[ 1244.027281] XFS (dm-0): metadata I/O error in "0x829426c8 [xfs@deae95aa+0xa13e0]" at daddr 0xecf29e90 len 32 error 135
[ 1244.127988] XFS (dm-0): xfs_do_force_shutdown(0x1) called from line 296 of file fs/xfs/xfs_trans_buf.c. Return address = 04de1dbf
[ 1244.138328] XFS (dm-0): I/O Error Detected. Shutting down filesystem
[ 1244.144579] XFS (dm-0): Please unmount the filesystem and rectify the problem(s)
[ 1258.048702] XFS (dm-0): Unmounting Filesystem
[ 1567.116934] XFS (dm-0): Mounting V5 Filesystem
[ 1567.609817] XFS (dm-0): Ending clean mount
[ 1567.650160] xfs filesystem being mounted at /home supports timestamps until 2038 (0x7fffffff)
With HDDs under 2 TB, the partitionstable is DOS and with this I have no problems to use luks. but when the partitionstable is GPT ( its recommend by HDDs, greater than 2TB ), I get the Problems. I have tried many OpenWRT versions, but allways run in to the errors.
Anybody now, why ans can help?