convert 2 drive mirror to extend storage size

Chris.karst

Dabbler
Joined
Jul 9, 2021
Messages
12
I'm trying to correct a mistakei made whilesetting up one of my machines...

TrueNAS-T:
Intel DH61WW
Pentium G620
8GB RAM
SSD boot drive
2 x 500GB HDD as a 1TB Data pool (oops, it is a mirror, only 500GB)

I intended to have the two data drives act as a larger drive, not be mirrors.
(I'm not worried about duplicating data, I have copies across multiple NAS systems)

I've tried offline then detach of the second drive to make dive 1 a single, then extend to add the second back to it,
but it looks like it is turning it back to a mirror.

Am I missing something?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
zpool detach <pool> <device> to remove the device from the mirror.
zpool add <pool> <device> to add it as a new striped vdev.

Keep in mind that you will lose all data if one disk fails.
 

Chris.karst

Dabbler
Joined
Jul 9, 2021
Messages
12
Keep in mind that you will lose all data if one disk fails.

Yes, it is good to note for for anyone not familiar with data in a 2 disk stripe:
Half of the data ends up being on each of the 2 disks,
BUT if a drive fails, all data is lost, not just the half on the failed drive.

Although, in my case, it would be much harder to lose this data:
(The NAS would need rebuilt, but the shared data would not be lost)

This particular shared folder the NAS is working with is well replicated:
Duplicated on 5 Windows 10 machines,
and 1 Netgear NAS,
and 2 Synology NAS,
and 3 TrueNAS devices.

(my Buffalo NAS, D-Link NAS, and WD NAS are not up to the task)

And then, the Windows machines are backedup on 3 Windows servers.
( Wife says I have too many toys. LOL )
 
Top