[ZFS] How to fix corrupt ZDB

Beeblebrox zaphod at berentweb.com
Thu Nov 8 10:26:57 UTC 2012


*** correction on previous post ***


Beeblebrox wrote
> This command also did not change the corrupt entry for an old pool:
*
> # zdb -c *
*
> zdb: can't open 'asp': No such file or directory

It turns out, ZDB just looks in the first folder / file name it runs into
when running this command. So change to a different folder, run the command
and the error message changes to complain about a different folder. I was
running that command at the top-level and I have a folder named "asp" there
as well.

So disregard that bit...



--
View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-How-to-fix-corrupt-ZDB-tp5758864p5759123.html
Sent from the freebsd-fs mailing list archive at Nabble.com.


More information about the freebsd-fs mailing list