Hello Jürgen, Monday, October 6, 2008, 6:27:54 PM, you wrote:
>> Cannot mount root on /[EMAIL PROTECTED],0/pci103c,[EMAIL PROTECTED],2/[EMAIL >> PROTECTED],0:a fstype zfs JK> Is that physical device path correct for your new system? JK> Or is this the physical device path (stored on-disk in the zpool label) JK> from some other system? In this case you may be able to work around JK> the problem by passing a "-B bootpath=..." option to the kernel JK> e.g. something like this: JK> kernel$ /platform/i86pc/kernel/$ISADIR/unix -B JK> $ZFS-BOOTFS,bootpath="/[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a" JK> You can find out the correct physical device path string JK> for the zfs root disk by booting the system from the optical JK> installation media, and running the format utility. JK> OTOH, if you already have booted from the optical installation JK> media, it's easiest to just import the root zpool from the JK> installation system, because that'll update the physical device JK> path in the zpool's label on disk (and it clears the hostid stored in JK> the zpool label - another problem that could prevent mounting JK> the zfs root). Again, what I'm trying to do is to boot the same OS from physical drive - once natively on my notebook, the other time from withing Virtualbox. There are two problems, at least. First is the bootpath as in VB it emulates the disk as IDE while booting natively it is sata. The other one seems to be hostid stored in a pool. Yes, importing the pool when booted from cdrom is a working workaround... but it's not practical. The other thing is - if one boots from another media with root-fs on zfs and tries to import other root-fs on zfs, there will be the problem with both pools having the same name. I could import the pool under different name but one can't export the pool while reverting it back to original name. So far I workaround it by booting from media where root-fs is not on zfs - probably an ability to import same pool name or export with name change at the same time would be useful for some cases. -- Best regards, Robert Milkowski mailto:[EMAIL PROTECTED] http://milek.blogspot.com _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss