Archive for November 3rd, 2012
I was trying to use zdb to query details of the pool on one of our test machines but it was failing for the pool I knew was working, the OS was running off it, the error was
zdb tank zdb: can't open 'tank': No such file or directory
Printing the config via
zdb -C was working but the
phys_path details where wrong as the device has been moved in the chassis.
After much digging I found the following command quickly and easily updates the pool label information including vdev path and physpath information which fixes zdb
zpool reguid <pool>