Hello,
I hope this is the right place to ask.
I just built a new i386 server to toy with zfsroot, followed Tabriz''s
instructions as far as I can tell to the letter to build a zfs root system, and
it hangs at boot time if I try and boot the ZFS solaris from the grub selection
screen. I did this a few months back with b44 I think, and it worked, but this
is b54, maybe something''s changed?
I know my ZFS partition is fine :
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c0d0s0 29G 3.3G 25G 12% /
/devices 0K 0K 0K 0% /devices
/dev 0K 0K 0K 0% /dev
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 9.3G 784K 9.3G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/usr/lib/libc/libc_hwcap1.so.1
29G 3.3G 25G 12% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
swap 9.3G 48K 9.3G 1% /tmp
swap 9.3G 36K 9.3G 1% /var/run
root_pool/root_filesystem
274G 3.4G 270G 2% /zfsroot
root_pool 274G 24K 270G 1% /root_pool
My zfsroot''s vfstab is this (I''ve been fiddling with swap to
see if that''s the problem):
/zfsroot/etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
#/dev/dsk/c0d0s1 - - swap - no -
/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
root_pool/root_filesystem - /zfsroot zfs - yes -
root_pool/root_filesystem - / zfs - no -
/dev/dsk/c0d0s0 /dev/rdsk/c0d0s0 /ufsroot ufs - yes -
It gets to the bootup banner screen, there''s disk activity for maybe 30
seconds or so, and then nothing, just a resolute :
SunOS release 5.11 Version snv_54 64-bit
Solaris blah blah
Use is subject to license terms
Any suggestions for how to debug what I''ve done? I''m pretty
sure the zfs part of the setup is fine, it reads just fine when booted from the
normal UFS root and zpool shows no problems :
# zpool status root_pool
pool: root_pool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
root_pool ONLINE 0 0 0
mirror ONLINE 0 0 0
c1d1 ONLINE 0 0 0
c2d1 ONLINE 0 0 0
errors: No known data errors
The bootadm file in the zfsroot looks right too :
in /zfsroot/sbin
rollcage# ls -la boot*
-rwxr-xr-x 1 root root 122 Jan 17 20:48 bootadm
-r-xr-xr-x 1 root bin 50896 Dec 4 05:48 bootadm.real
rollcage# more bootadm
#!/usr/bin/sh
/sbin/bootadm.real "$@"
/usr/bin/cp /platform/i86pc/boot_archive
/ufsroot/platform/i86pc/boot_archive.zfs
Any clues? Thanks!
Carl
This message posted from opensolaris.org