Bug 2401 - OpenSolaris will not boot after adding to the ZFS pool.
: OpenSolaris will not boot after adding to the ZFS pool.
Status: CLOSED TRACKEDINBUGSTER
Product: opensolaris
kernel
: unspecified
: i86pc/amd64 Mac OS
: P2 major (vote)
: ---
Assigned To: Watcher account for OpenSolaris kernel bugs
:
:
: BugsterCR=6801972
:
:
:
  Show dependency treegraph
 
Reported: 2008-07-08 11:01 UTC by Brian Leonard
Modified: 2009-02-06 02:14 UTC (History)
5 users (show)

See Also:


Attachments
OpenSolaris Boot Messages (36.00 KB, image/png)
2008-07-08 11:01 UTC, Brian Leonard
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description Brian Leonard 2008-07-08 11:01:25 UTC
Created an attachment (id=350) [details]
OpenSolaris Boot Messages

I'm running OpenSolaris in VirtualBox (which I supposed could be the culprit
here). I've added a new virtual disk and then added that disk to my pool using:

pfexec zpool add rpool c4d1s0

Everything appears fine. zpool status shows the new device in rpool and zpool
list shows the additional capacity gained. However, upon reboot I get several
messages concluding with the error:

Error 16: Inconsistent filesystem structure

This error is consistently repeatable. A screen shot all the boot messages is
attached. Is there something I've done incorrectly?
Comment 1 Jürgen Keil 2008-07-09 03:16:29 UTC
(In reply to comment #0)
> Created an attachment (id=350) [details] [details]
> OpenSolaris Boot Messages
> 
> I'm running OpenSolaris in VirtualBox (which I supposed could be the culprit
> here). I've added a new virtual disk and then added that disk to my pool using:
> 
> pfexec zpool add rpool c4d1s0
> 
> Everything appears fine. zpool status shows the new device in rpool and zpool
> list shows the additional capacity gained. However, upon reboot I get several
> messages concluding with the error:
> 
> Error 16: Inconsistent filesystem structure
> 
> This error is consistently repeatable. A screen shot all the boot messages is
> attached. Is there something I've done incorrectly?


As far as I know, zfs boot currently only supports single disk zpool and 
mirrored zpools. Striped (our case) or raidz pools are not supported for
booting.

    http://opensolaris.org/os/community/zfs/boot/zfsbootFAQ/
Comment 2 Dan Price 2008-11-08 00:48:40 UTC
I believe the ZFS team has implemented protections against misconfiguring the
root pool in bug 102 or 103, which will come out just a little after the
2008.11 release (unfortunately).
Comment 3 Dan Price 2008-11-08 00:49:07 UTC
I meant "build 102 or 103", not "bug".
Comment 4 Rich Burridge 2009-02-05 12:34:36 UTC
In order to get the attention of the Sun kernel engineers, I've
opened a bug in the Sun Bugster database, and am closing this one
as TRACKEDINBUGSTER.

If you'd like me to add you to the cc: of the Bugster bug, just
let me know (by adding a comment to this bug).

Thanks.
Comment 5 James C. McPherson 2009-02-05 15:15:56 UTC
I added this comment to the bugster version:

----
I've seen this when using VBox's expanding storage on-disk form,
rather than a fixed-size fully allocated VDI. 
Could you share your vbox config for the old and new storage please?
----
Comment 6 Jürgen Keil 2009-02-06 02:14:02 UTC
(In reply to comment #5)
> I added this comment to the bugster version:
> 
> ----
> I've seen this when using VBox's expanding storage on-disk form,
> rather than a fixed-size fully allocated VDI. 
> Could you share your vbox config for the old and new storage please?
> ----

Bug 6774616 "GRUB/ZFS Error 16 (Inconsistent filesystem structure) due
to lack of GANG Block support" could be another source for the error 16.
(Fixed in snv_106 or newer)