Ryan Haver
Dabbler
- Joined
- Jul 6, 2013
- Messages
- 23
I'm attempting to create a new pool with the following disk layout and vdevs, but Truenas Core 12 does not like something about the Metadata vdev. Any help is appreciated.
Data vdev - 8 wide - Raidz2
log vdev - 1 wide
cache vdev - 2 wide - stripe
Metadata vdev - 4 wide - Raidz2
It won't allow me to specify raidz2 when attempting to create the metadata vdev. The only options are mirror or stripe, but when not selecting either of those options it appears to be using raidz2, so I leave it like that and then when attempting to create the metadata vdev I get the following error.
I've tested creating all the other vdevs without the metadata vdev, but it won't let me add the metadata vdev with raidz2 after the fact either.
When selecting a mirror or stripe for the metadata vdev the following message is seen and a force option is presented:
Data vdev - 8 wide - Raidz2
log vdev - 1 wide
cache vdev - 2 wide - stripe
Metadata vdev - 4 wide - Raidz2
It won't allow me to specify raidz2 when attempting to create the metadata vdev. The only options are mirror or stripe, but when not selecting either of those options it appears to be using raidz2, so I leave it like that and then when attempting to create the metadata vdev I get the following error.
[special] Item#0 is not valid per list types: [type] Invalid choice: RAIDZ2
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 361, in run
await self.future
File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 397, in __run_body
rv = await self.method(*([self] + args))
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 972, in nf
args, kwargs = clean_and_validate_args(args, kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 930, in clean_and_validate_args
value = attr.clean(args[args_index + i])
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 607, in clean
data[key] = attr.clean(value)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 607, in clean
data[key] = attr.clean(value)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 470, in clean
raise Error(self.name, 'Item#{0} is not valid per list types: {1}'.format(index, found))
middlewared.schema.Error: [special] Item#0 is not valid per list types: [type] Invalid choice: RAIDZ2
I've tested creating all the other vdevs without the metadata vdev, but it won't let me add the metadata vdev with raidz2 after the fact either.
When selecting a mirror or stripe for the metadata vdev the following message is seen and a force option is presented:
Metadata vdev must be the same type as the data vdevs. First data vdev is a raidz2, new Metadata vdev is a stripe.