greg_905
Dabbler
- Joined
- Jun 1, 2023
- Messages
- 17
Me again. :)
When you create a metadata/special vdev from the command line, and you have multiple disks you wish to mirror for its use, you might type something like this:
zpool add stg2pool0 -o ashifit=12 special mirror /dev/nvme1 /dev/nvme2 /dev/nvme3 mirror /dev/nvme4 /dev/nvme5 /dev/nvme6
And data will stripe over the two mirror sets.
When I added 6 drives to the special devices vdev via the SCALE gui it creates a mirror of one drive, so 6 copies of the same data, one drives worth of capacity.
There doesn't appear to be a 'create mirror sets' option. If we add 3 drives and select 'mirror', it does make a mirror set. If I add 3 more drives to the existing vdev, it doesn't pair them out as two disk mirrors, just one big mirror of 6 drives.
The intention is to get the capacity of 2 drives worth for this vdev, using 6 drives (i was going for 2 mirror sets of 3 drives per).
Is there a way to do this via the gui, and if not is it ok to append it from the command line? (I read Truenas doesn't want you to manage anything outside of their web/api tools).
ps - i know i am incorrectly calling nvme storage devices 'drives'... Probably will forever too. :)
Here is what it looks like when created via the gui:
-greg
When you create a metadata/special vdev from the command line, and you have multiple disks you wish to mirror for its use, you might type something like this:
zpool add stg2pool0 -o ashifit=12 special mirror /dev/nvme1 /dev/nvme2 /dev/nvme3 mirror /dev/nvme4 /dev/nvme5 /dev/nvme6
And data will stripe over the two mirror sets.
When I added 6 drives to the special devices vdev via the SCALE gui it creates a mirror of one drive, so 6 copies of the same data, one drives worth of capacity.
There doesn't appear to be a 'create mirror sets' option. If we add 3 drives and select 'mirror', it does make a mirror set. If I add 3 more drives to the existing vdev, it doesn't pair them out as two disk mirrors, just one big mirror of 6 drives.
The intention is to get the capacity of 2 drives worth for this vdev, using 6 drives (i was going for 2 mirror sets of 3 drives per).
Is there a way to do this via the gui, and if not is it ok to append it from the command line? (I read Truenas doesn't want you to manage anything outside of their web/api tools).
ps - i know i am incorrectly calling nvme storage devices 'drives'... Probably will forever too. :)
Here is what it looks like when created via the gui:
thanks,special - - - - - - - - -
mirror-9 888G 44.1G 844G - - 0% 4.97% - ONLINE
19af3cad-90b7-483c-82d3-2bb87d0c41f8 894G - - - - - - - ONLINE
456c05c8-873b-4183-acea-d9a687d58feb 894G - - - - - - - ONLINE
d1fd3193-d8bb-491e-b718-953e7752c8b6 894G - - - - - - - ONLINE
029fe1a2-5f78-43ed-b82c-4b3bd34c6d72 894G - - - - - - - ONLINE
9371dede-3931-4223-8914-f9426c506d3c 894G - - - - - - - ONLINE
f0681ed8-ac0f-4d7d-8e32-7eec76ea51d5 894G - - - - - - - ONLINE
-greg
Last edited: