SOLVED Adding a 2nd drive as a mirror (ZFS), converting a stripe pool to a mirror pool

Status
Not open for further replies.

nemo1478

Dabbler
Joined
May 5, 2015
Messages
43
I have a volume consisting of a single 2TB drive but now I want to add another 2TB drive and convert to a mirrored pool.

I came across the following instructions and followed it as best as I could understand.

1. Run "zpool status" to get the name of your pool and the gptid device name of the current drive
2. Run "gpart list | less" and find the rawuuid of the new drive. It will match a file in the /dev/gptid folder
3. Run "zpool attach <pool name> gptid/<existing device gptid> gptid/<new device gptid>"

My info is as follows;

pool name: Zuki
existing device gptid: 2a33ba62-e948-11e4-b186-74d435a781a2
new device gptid: 2a2621f4-e948-11e4-b186-74d435a781a2

I issued the command;

"zpool attach Zuki gptid/2a33ba62-e948-11e4-b186-74d435a781a2 gptid/2a2621f4-e948-11e4-b186-74d435a781a2"

and I am being presented with the following error;

"cannot open 'gptid/2a2621f4-e948-11e4-b186-74d435a781a2': no such GEOM provider
must be a full path or shorthand device name"

The newly installed drive is visible in FreeNAS but I dont know what to do next. Any suggestions?
 
D

dlavigne

Guest
Did you figure this out? It's hard to tell as it's marked as solved without the solution listed.
 
Status
Not open for further replies.
Top