zpool status shows device name instead of gptid (after disk replacement)

Status
Not open for further replies.

audix

Dabbler
Joined
Jun 11, 2011
Messages
36
I finally got the new replacement disk to be added to the pool. With the latest nightly (7226) it was simply to do a "replace" and then a "detach". :)

When looking at the pool with "zpool status" the new disk shows up with a device name (ada6p2). All other disks are with their gptid (gptid/xyxyxyxyxy...).

Considering that the device names tend to change every now and then... it is probably not something good. (Also, read Williams response here http://forums.freenas.org/showthread.php?1075-Disable-gpt-gptid-labels)

Is this a bug? What can I do to fix it?


(I also have a problem with mountd not starting. http://forums.freenas.org/showthread.php?1698-mountd-not-starting-(8.0.1.amd64-7209-7226))
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
That is not actually a bug.
Initially the zpool status uses all gptid because you have chosen to use 4k disks in ZFS and this is hoe zfs behaves because of the "geom nop" hack to make it work.

In this case the GUI will correctly keep track of the right devices even being named with the device in the zpool status
 

audix

Dabbler
Joined
Jun 11, 2011
Messages
36
Ok, if I understand you correctly there will be no problems even if I change/add/remove disks in the future?

Thanks! :smile:
 
Status
Not open for further replies.
Top