Problem with zfsloader on 9.2-BETA2
Trond Endrestøl
Trond.Endrestol at fagskolen.gjovik.no
Fri Aug 2 17:34:19 UTC 2013
On Fri, 2 Aug 2013 11:31-0400, J David wrote:
> On Fri, Aug 2, 2013 at 2:36 AM, Trond Endrestøl <Trond.Endrestol at fagskolen.gjovik.no> wrote:
>
> > I'll try the 8.4-R -> 9.2-BETA2 route later this afternoon, and avoid
> > updating the boot blocks with the ones from 9.2-BETA2. That leaves the
> > raidz2 configuration unexplored.
I figured the easiest way would be to copy the boot blocks from the
8.4-R BE to da0p1 and da1p1, and let the bootfs property remain
pointing to the 9.2-BETA2 BE.
The 8.4-R stuff showed no problems booting the 9.2-BETA stuff.
> Thanks for looking into this. Is there anything you can think of that
> I can do to help establish what is happening on this system?
>
> If there is a way to e.g. debug zfsloader to see what exactly it is
> doing and where it goes awry, I sadly do not know what it is. :(
You could put the line verbose_loading="YES" in /boot/loader.conf or
in /boot/loader.conf.local if zfsloader is lucky enough to read those
files.
You can get the pool's guid by running:
zpool get guid data
If you manage to get to zfsloader's OK prompt, you can use the show
command and see what zfsloader has gathered so far.
If you are lucky, vfs.zfs.boot.primary_pool should be the same value
as shown by the zpool get command above.
You could also try verbose booting of the kernel. Maybe that can give
some clues.
Try these suggestions with the currently working/booting system.
It would be a good thing to run smartctl on your drives if you haven't
already done so. Maybe the S.M.A.R.T. statistics will be helpful.
Install sysutils/smartmontools to get smartctl (and smartd).
In another thread it was suggested to try zpool scrub from the lastest
illumos or nexenta releases. Maybe it's possible to scrub a read-only
pool, if only to find out what's wrong.
--
+-------------------------------+------------------------------------+
| Vennlig hilsen, | Best regards, |
| Trond Endrestøl, | Trond Endrestøl, |
| IT-ansvarlig, | System administrator, |
| Fagskolen Innlandet, | Gjøvik Technical College, Norway, |
| tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, |
| sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. |
+-------------------------------+------------------------------------+
More information about the freebsd-stable
mailing list