Robert Milkowski
2008-Sep-02 12:51 UTC
[zfs-discuss] virtualbox & opensolaris b95 - zfs issue
Hello zfs-discuss, I installed Open Solaris 2008.05 on my notebook then I upgraded it to b95 (following required procedure). Everything worked fine. So now I booted into Windows, installed virtual box and wanted it to boot OS from physical partition. So I created vmdk representing entire disk and another one representing just that one partition. I can boot it into GRUB then I try to boot opensolaris and it load kernel fine but then zfs is complaining it can''t mount rootfs. So I mounted OS livecd image, booted from it with vmdk representing the partition also presented, I was able to import rpool without any issues and I did devfsadm -Cv inside it. So now again, I''m trying to boot from disk and I''m getting on a console (I did booted it with kmdb in order to be able to intercept the message): [...] NOTICE: zfs_parse_bootfs: error 19 panic[cpu0]/thread=fec1cfe0: cannot mount root path /pci at 0,0/pci-ide at 1,1/ide at 0/cmdk at 0,0:a fec351ac genunix:rootconf +10b (c0f040, 1, fec1c750) fec351d0 genunix:vfs_mountroot+54 (fe800010, fec30fd8) fec351e4 genunix:main+b9 () [...] I guess error 19 will be ENODEV coming from spa_vdev_attach. The rootpath it is trying to use seems fine (compared with the one I get if I boot it from livecd with a disk still presented). From kmdb: ::spa d3ccb200 IOFAILURE rpool ::spa -c [phys_path is wrong but I''m not sure if it matters - what -c actually does?] If I boot from livecd in above config I''m able to import rpool so looks like virtualbox does properly present disk to system. Any ideas? -- Best regards, Robert Milkowski mailto:milek at task.gda.pl http://milek.blogspot.com