Re: [zfs-discuss] ZFS boot: 3 smaller glitches with console, /etc/dfs/sharetab and /dev/random

2007-04-20 Thread Constantin Gonzalez
Hi,

>> 2. After going through the zfs-bootification, Solaris complains on
>> reboot that
>>/etc/dfs/sharetab is missing. Somehow this seems to have been
>> fallen through
>>the cracks of the find command. Well, touching /etc/dfs/sharetab
>> just fixes
>>the issue.
> 
> This is unrelated to ZFS boot issues, and sounds like this bug:
> 
> 6542481 No sharetab after BFU from snv_55
> 
> It's fixed in build 62.

hmm, that doesn't fit what I saw:

- Upgraded from snv_61 to snv_62
- snv_62 booted with not problems (other than the t_optmgmt bug)
- Then migrated to ZFS boot
- Now the sharetab issues shows up.

So why did the sharetab issue only show up after the ZFSification of the
boot process?

Best regards,
Constantin

-- 
Constantin GonzalezSun Microsystems GmbH, Germany
Platform Technology Group, Global Systems Engineering  http://www.sun.de/
Tel.: +49 89/4 60 08-25 91   http://blogs.sun.com/constantin/

Sitz d. Ges.: Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Marcel Schneider, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS boot: 3 smaller glitches with console, /etc/dfs/sharetab and /dev/random

2007-04-19 Thread Robert Thurlow

Constantin Gonzalez Schmitz wrote:


2. After going through the zfs-bootification, Solaris complains on reboot that
   /etc/dfs/sharetab is missing. Somehow this seems to have been fallen through
   the cracks of the find command. Well, touching /etc/dfs/sharetab just fixes
   the issue.


This is unrelated to ZFS boot issues, and sounds like this bug:

6542481 No sharetab after BFU from snv_55

It's fixed in build 62.

Rob T
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS boot: 3 smaller glitches with console, /etc/dfs/sharetab and /dev/random

2007-04-19 Thread Darren J Moffat

Constantin Gonzalez Schmitz wrote:


2. After going through the zfs-bootification, Solaris complains on reboot that
   /etc/dfs/sharetab is missing. Somehow this seems to have been fallen through
   the cracks of the find command. Well, touching /etc/dfs/sharetab just fixes
   the issue.


sharetab is now an in kernel filesystem.



3. But here's a more serious one: While booting, Solaris complains:

   Apr 19 15:00:37 foeni kcf: [ID 415456 kern.warning] WARNING: No randomness
   provider enabled for /dev/random. Use cryptoadm(1M) to enable a provider.

   Somehow, /dev/random and/or it's counterpart in /devices seems to have
   suffered from the migration procedure.

Does anybody know how to fix the /dev/random issue? I'm not very fluent in
cryptoadm(1M) and some superficial reading of it's manpage did not enlighten
me too much (cryptoadm list -p claims all is well...).


Send the output of the following:

cryptoadm list -p
cat /etc/crypto/kcf.conf
dd if=/dev/random bs=10 count=1 | od -x  (basically is it working now)

Can you also send the messages file so we can see when during boot this 
happened since it might indicate a race condition with the availability 
of /dev/random that only shows up with a ZFS root.



--
Darren J Moffat
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] ZFS boot: 3 smaller glitches with console, /etc/dfs/sharetab and /dev/random

2007-04-19 Thread Constantin Gonzalez Schmitz
Hi,

I've now gone through both the opensolaris instructions:

  http://www.opensolaris.org/os/community/zfs/boot/zfsboot-manual/

and Tim Foster's script:

  http://blogs.sun.com/timf/entry/zfs_bootable_datasets_happily_rumbling

for making my laptop ZFS bootable.


Both work well and here's a big THANK YOU to the ZFS boot team!


There seem to be 3 smaller glitches with these approaches:

1. The instructions on opensolaris.org assume that one wants console output
   to show up in /dev/tty. This may be true for a server, but it isn't for a
   laptop or workstation user. Therefore, I suggest someone explains them to be
   optional as not everybody knows that these can be left out.

2. After going through the zfs-bootification, Solaris complains on reboot that
   /etc/dfs/sharetab is missing. Somehow this seems to have been fallen through
   the cracks of the find command. Well, touching /etc/dfs/sharetab just fixes
   the issue.

3. But here's a more serious one: While booting, Solaris complains:

   Apr 19 15:00:37 foeni kcf: [ID 415456 kern.warning] WARNING: No randomness
   provider enabled for /dev/random. Use cryptoadm(1M) to enable a provider.

   Somehow, /dev/random and/or it's counterpart in /devices seems to have
   suffered from the migration procedure.

Does anybody know how to fix the /dev/random issue? I'm not very fluent in
cryptoadm(1M) and some superficial reading of it's manpage did not enlighten
me too much (cryptoadm list -p claims all is well...).

Best regards and again, congratulations to the ZFS boot team!

   Constantin


-- 
Constantin GonzalezSun Microsystems GmbH, Germany
Platform Technology Group, Global Systems Engineering  http://www.sun.de/
Tel.: +49 89/4 60 08-25 91   http://blogs.sun.com/constantin/

Sitz d. Ges.: Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Marcel Schneider, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss