I''ve got an OpenSolaris system rooted on a SCSI disk at /dev/dsk/c4t1d0s0. I would like to reconfigure my VM so that this is on c4t0d0s0. Unfortunately OpenSolaris panics on boot when I do this. It seems that vfs_mountroot is trying to mount the root pool at its old device path (/pci at 0,0/pci1000,30 at 10/sd at 1,0:a) which corresponds to /dev/dsk/c4t1d0s0. Where is this location hardcoded, and how do I change it? Also, is there any way to set up OpenSolaris so that this location is not hardcoded? I took a screenshot of the panic: http://sites.google.com/site/solarium/_/rsrc/1218841252931/zfs-screenshots/paniconboot.gif Thanks Andrew. This message posted from opensolaris.org
Hmm... Just tried the same thing on SXCE build 95 and it works fine. Strange. Anyone know what''s up with OpenSolaris (the distro)? I''m using the ISO of OpenSolaris 208.11 snv_93 image-updated to build 95 if that makes a difference. I''ve not tried this on 2008.05 . Thanks Andrew. This message posted from opensolaris.org
* andrew <andrum04 at gmail.com> [2008-08-16 00:38]:> Hmm... Just tried the same thing on SXCE build 95 and it works fine. > Strange. Anyone know what''s up with OpenSolaris (the distro)? I''m > using the ISO of OpenSolaris 208.11 snv_93 image-updated to build 95 > if that makes a difference. I''ve not tried this on 2008.05 .For a while, the boot-archive on 2008.nn systems included a copy of zpool.cache. Recent versions do not make this mistake. Delete and regenerate your boot archive, and you should be able to make the transfer. See http://mail.opensolaris.org/pipermail/indiana-discuss/2008-August/008341.html and following. - Stephen -- sch at sun.com http://blogs.sun.com/sch/
You may also need to just boot to safe mode and manually import the root pool to mount on /a, then reboot as this updates the device path stored in the pool''s on-disk meta-data. If you search for my posts you will find plenty discussions about my adventures with this. On Tue, Aug 19, 2008 at 7:54 AM, Stephen Hahn <sch at sun.com> wrote:> * andrew <andrum04 at gmail.com> [2008-08-16 00:38]: > > Hmm... Just tried the same thing on SXCE build 95 and it works fine. > > Strange. Anyone know what''s up with OpenSolaris (the distro)? I''m > > using the ISO of OpenSolaris 208.11 snv_93 image-updated to build 95 > > if that makes a difference. I''ve not tried this on 2008.05 . > > For a while, the boot-archive on 2008.nn systems included a copy of > zpool.cache. Recent versions do not make this mistake. Delete and > regenerate your boot archive, and you should be able to make the > transfer. See > > > http://mail.opensolaris.org/pipermail/indiana-discuss/2008-August/008341.html > > and following. > > - Stephen > > -- > sch at sun.com http://blogs.sun.com/sch/ > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-- Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke My blog: http://initialprogramload.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080819/5aff2380/attachment.html>