Hello! I have a six-wide Z1 pool that original started with all 4TB disks many years ago with FreeNAS. I finally finished replacing all the disks with 8TB drives, but the auto-expand didn’t work.
I tried re-sizing the partitions as outlined in this thread then did a reboot.
I then clicked the expand button and it gave me this error:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 515, in run
await self.future
File "/usr/lib/python3/dist-packages/middlewared/job.py", line 560, in __run_body
rv = await self.method(*args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 174, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 48, in nf
res = await f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/expand.py", line 61, in expand
await self.expand_partition(part_data)
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/expand.py", line 94, in expand_partition
await self.middleware.run_in_thread(wipe_label)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 627, in run_in_thread
return await self.run_in_executor(io_thread_pool_executor, method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 624, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/expand.py", line 91, in wipe_label
f.seek(wipe_start)
OSError: [Errno 22] Invalid argument
lsblk shows this:
sda 8:0 0 7.3T 0 disk
├─sda1 8:1 0 2G 0 part
└─sda2 8:2 0 7.3T 0 part
sdb 8:16 0 7.3T 0 disk
├─sdb1 8:17 0 2G 0 part
└─sdb2 8:18 0 7.3T 0 part
sdc 8:32 0 7.3T 0 disk
└─sdc1 8:33 0 7.3T 0 part
sdd 8:48 0 7.3T 0 disk
├─sdd1 8:49 0 2G 0 part
└─sdd2 8:50 0 7.3T 0 part
sde 8:64 0 7.3T 0 disk
├─sde1 8:65 0 2G 0 part
└─sde2 8:66 0 7.3T 0 part
sdf 8:80 0 7.3T 0 disk
├─sdf1 8:81 0 2G 0 part
└─sdf2 8:82 0 7.3T 0 part
sdg 8:96 0 447.1G 0 disk
├─sdg1 8:97 0 1M 0 part
├─sdg2 8:98 0 512M 0 part
└─sdg3 8:99 0 446.6G 0 part
zd0 230:0 0 100G 0 disk
nvme0n1 259:0 0 119.2G 0 disk
├─nvme0n1p1 259:1 0 512K 0 part
└─nvme0n1p2 259:2 0 119.2G 0 part
I’m on ver 25.04.2.3
Thank you for any help or advice!