Can't Create Pool

koberulz

Dabbler
Joined
Aug 4, 2022
Messages
45
[EFAULT] Unable to GPT format the disk "sdb": Warning! Read error 5; strange behavior now likely! Warning: Partition table header claims that the size of partition table entries is 0 bytes, but this program supports only 128-byte entries. Adjusting accordingly, but partition table may be garbage. Warning! Read error 5; strange behavior now likely! Warning: Partition table header claims that the size of partition table entries is 0 bytes, but this program supports only 128-byte entries. Adjusting accordingly, but partition table may be garbage. Unable to save backup partition table! Perhaps the 'e' option on the experts' menu will resolve this problem. Warning! An error was reported when writing the partition table! This error MIGHT be harmless, or the disk might be damaged! Checking it is advisable.

Error: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 411, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 446, in __run_body
rv = await self.method(*([self] + args))
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1140, in nf
res = await f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1272, in nf
return await func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool.py", line 740, in do_create
await self.middleware.call('pool.format_disks', job, disks)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1344, in call
return await self._call(
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1293, in _call
return await methodobj(*prepared_call.args)
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/format_disks.py", line 56, in format_disks
await asyncio_map(format_disk, disks.items(), limit=16)
File "/usr/lib/python3/dist-packages/middlewared/utils/asyncio_.py", line 16, in asyncio_map
return await asyncio.gather(*futures)
File "/usr/lib/python3/dist-packages/middlewared/utils/asyncio_.py", line 13, in func
return await real_func(arg)
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/format_disks.py", line 29, in format_disk
await self.middleware.call(
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1344, in call
return await self._call(
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1304, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1205, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/disk_/format.py", line 68, in format
raise CallError(f'Unable to GPT format the disk "{disk}": {cp.stderr}')
middlewared.service_exception.CallError: [EFAULT] Unable to GPT format the disk "sdb": Warning! Read error 5; strange behavior now likely!
Warning: Partition table header claims that the size of partition table
entries is 0 bytes, but this program supports only 128-byte entries.
Adjusting accordingly, but partition table may be garbage.
Warning! Read error 5; strange behavior now likely!
Warning: Partition table header claims that the size of partition table
entries is 0 bytes, but this program supports only 128-byte entries.
Adjusting accordingly, but partition table may be garbage.
Unable to save backup partition table! Perhaps the 'e' option on the experts'
menu will resolve this problem.
Warning! An error was reported when writing the partition table! This error
MIGHT be harmless, or the disk might be damaged! Checking it is advisable.





I have two WD Red Pro 20TB drives connected to the motherboard, and another two connected to an LSI 9211 thingy. It's one of the mobo drives that's acting up, I switched the two mobo SATA cables and the problem stayed with the drive so it's not a cable or mobo issue.

At a loss here.
 

koberulz

Dabbler
Joined
Aug 4, 2022
Messages
45
SMART testing fails immediately: scsi error badly formed scsi parameters

badblocks won't run on any of the four drives because they're too big.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
SMART testing fails immediately: scsi error badly formed scsi parameters
That, once again, sounds like a bad sign. What's the complete output, in code tags, of smartctl -a /dev/sdb?
badblocks won't run on any of the four drives because they're too big.
Of course it will, just set a larger block size: badblocks -b 65536 -wsv /dev/sdb.
 

koberulz

Dabbler
Joined
Aug 4, 2022
Messages
45
Code:
root@truenas[~]# smartctl -a /dev/sdb
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.131+truenas] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD201KFGX-68BKJN0
Serial Number:    2LG96J5K
LU WWN Device Id: 5 000cca 2b3c42fd2
Firmware Version: 83.00A83
User Capacity:    20,000,588,955,648 bytes [20.0 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-5 (minor revision not indicated)
SATA Version is:  SATA >3.3 (10), 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Tue Sep  6 01:31:57 2022 AWST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

Read SMART Data failed: scsi error badly formed scsi parameters

=== START OF READ SMART DATA SECTION ===
SMART Status command failed: scsi error badly formed scsi parameters
SMART overall-health self-assessment test result: UNKNOWN!
SMART Status, Attributes and Thresholds cannot be read.

Read SMART Log Directory failed: scsi error badly formed scsi parameters

Read SMART Error Log failed: scsi error badly formed scsi parameters

Read SMART Self-test Log failed: scsi error badly formed scsi parameters

Selective Self-tests/Logging not supported
 

koberulz

Dabbler
Joined
Aug 4, 2022
Messages
45
badblocks in progress:
Code:
135700% done, 15:58 elapsed. (0/1357/0 errors)
1358
135900% done, 16:00 elapsed. (0/1359/0 errors)
1360
136100% done, 16:01 elapsed. (0/1361/0 errors)
1362
136300% done, 16:03 elapsed. (0/1363/0 errors)
1364
136500% done, 16:04 elapsed. (0/1365/0 errors)
1366
136700% done, 16:05 elapsed. (0/1367/0 errors)
1368
136900% done, 16:07 elapsed. (0/1369/0 errors)
1370
137100% done, 16:08 elapsed. (0/1371/0 errors)
1372
137300% done, 16:10 elapsed. (0/1373/0 errors


That doesn't seem ideal?
 

koberulz

Dabbler
Joined
Aug 4, 2022
Messages
45
Is there a way to stop TrueNAS web GUI logging me out all the time? I'd left the badblocks thing running but when I came back to my computer it was at the login screen, so the results were gone.
 
Top