On 4/01/10 5:02 PM, Aristedes Maniatis wrote:> # AMD64, Supermicro hardware. ZFS filesystem (booting to UFS, then rest
> of the file system /usr /var /tmp on ZFS).
>
> I used "freebsd-update upgrade -r 8.0-RELEASE" and all went well
for the
> usual first install of the kernel with "freebsd-update install".
After
> rebooting into single user mode, I manually mounted the ZFS partitions
> (which needs to be done as follows since the ZFS userland tools are
> incompatible with 8.0):
>
> mount -uw /
> mount -t zfs tank/usr /usr
> mount -t zfs tank/var /var
> mount -t zfs tank/tmp /tmp
> mount /bootdir
>
> Then I ran "freebsd-update install" for the second time to
install the
> userland. The disk lights flashed a lot at the start, but then the
> system came to an almost complete halt.
>
> Looking at 'systat -vmstat' I can see that the disk and cpu are
both
> almost idle. 'top' doesn't work (since it probably is the old
userland).
> 'ps ax' shows that freebsd-install is running and has spawned an
> 'install' command. It is installing files at the rate of about one
per 5
> minutes. At this rate it should be done by next Christmas.
>
> I can see that the files it completes have their modified date changed
> to the current date. There is nothing interesting in /var/log/messages.
>
> It is still working, and I don't want to kill it for fear of ending up
> with a completely non-functional system. Any thoughts about this
> problem? I'm really stumped.
Just for the archives... the problem was a non-functional LDAP. I had thought
that in single user mode nsswitch was bypassed, but I was wrong and the
(non-running) LDAP server was being queried for every 'install'. The
timeout (5 minutes?) was the delay before it then proceeded to the next file.
Ari Maniatis
--
-------------------------->
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001 fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A