Hello,
I used a block device as suggested, and there is some progress. The kernel
starts up and immediately panics with the following message :
Using config file "./domu.conf".
Started domain iscsidomu
v3.1.4-xvm chgset 'Mon Apr 28 23:11:15 2008 -0700
15872:0f22805887a1'
SunOS Release 5.11 Version snv_89 32-bit
Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
WARNING: /xpvd/[EMAIL PROTECTED] (xdf0):
Corrupt label - bad geometry
Label says 41913585 blocks; Drive says 41881455 blocks
WARNING: /xpvd/[EMAIL PROTECTED] (xdf0):
Corrupt label - bad geometry
Label says 41913585 blocks; Drive says 41881455 blocks
NOTICE: mount: not a UFS magic number (0x0)
panic[cpu0]/thread=f50299a0: cannot mount root path /xpvd/[EMAIL PROTECTED]:a
f5053b6c genunix:rootconf+10b (0, 1, f5029110, 0, )
f5053b90 genunix:vfs_mountroot+54 (f4c00010, f504f9b8,)
f5053ba0 genunix:main+b4 ()
skipping system dump - no dump device configured
rebooting...
Just to reiterate, the destination iSCSI target has a ZFS file system.
Here is a structure of the FIle system on dom0 :
[EMAIL PROTECTED] zfs list
NAME USED AVAIL REFER MOUNTPOINT
tank 20.0G 114G 19K /tank
tank/containerfs 20.0G 114G 20K /tank/containerfs
tank/containerfs/fs1 20G 128G 5.61G -
"tank/containerfs/fs1 " is where nevada 89 is installed using virt-install.
The configuration file where this panic happens is :
name = "iscsidomu"
memory = "1024"
disk = [ 'phy:/devices/scsi_vhci/[EMAIL PROTECTED]:c,0,w' ]
kernel = "/root/OSFILES/unix"
extra = "/platform/i86xpv/kernel/unix"
ramdisk = "/root/OSFILES/boot_archive"
vif = [ '' ]
on_shutdown = 'destroy'
on_reboot = 'destroy'
on_crash = 'destroy'
Next, I tried setting zfs-bootfs parameter. The configuration file looks as
follows :
name = "iscsidomu"
memory = "1024"
disk = [ 'phy:/devices/scsi_vhci/[EMAIL PROTECTED]:c,0,w' ]
kernel = "/root/OSFILES/unix"
extra = "/platform/i86xpv/kernel/unix -B zfs-bootfs=tank/containerfs/fs1"
ramdisk = "/root/OSFILES/boot_archive"
vif = [ '' ]
on_shutdown = 'destroy'
on_reboot = 'destroy'
on_crash = 'destroy'
However, in this case too, I get a kernel panic with dom0 rebooting. The dump
is as follows :
Using config file "./domu.conf".
Started domain iscsidomu
v3.1.4-xvm chgset 'Mon Apr 28 23:11:15 2008 -0700
15872:0f22805887a1'
SunOS Release 5.11 Version snv_89 32-bit
Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
WARNING: /xpvd/[EMAIL PROTECTED] (xdf0):
Corrupt label - bad geometry
Label says 41913585 blocks; Drive says 41881455 blocks
NOTICE:
***************************************************
* This device is not bootable! *
* It is either offlined or detached or faulted. *
* Please try to boot from a different device. *
***************************************************
NOTICE:
spa_import_rootpool: error 22
panic[cpu0]/thread=f50299a0: cannot mount root path /xpvd/[EMAIL PROTECTED]:a
f5053b6c genunix:rootconf+10b (0, 1, f5029110, 0, )
f5053b90 genunix:vfs_mountroot+54 (f4c00010, f504f9b8,)
f5053ba0 genunix:main+b4 ()
skipping system dump - no dump device configured
rebooting...
What could be going wrong here ?
Thanks,
Sumedha
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]