I just don't get it :-(
I've run format, and it gave me c0d0 as the only formatable disk
then I run fdisk /dev/rdsk/c0d0p0 and it gave me:
             Total disk size is 1305 cylinders
             Cylinder size is 16065 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1       Active    Solaris2          1  1304    1304    100

then ls -al /dev/rdsk/c0d0p0 gave me:
lrwxrwxrwx 1 root root 54 Feb  4 02:30 /dev/rdsk/c0d0p0 ->
../../devices/[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0:q,raw

then ls -al /devices/[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL 
PROTECTED]/[EMAIL PROTECTED],0:q,raw
gave me:
crw-r----- 1 root sys 102, 16 Feb  4 05:52
/devices/[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0:q,raw
So I've deduced that the device has major number 102 and minor number
16, I then specified in the xen config file
disk = [ 'file:/home/administrator/nexenta_ufs.raw,0x10216,w' ]

and the usual things happened:
xentest:~# xm create -c nexenta.cfg
Using config file "./nexenta.cfg".
Started domain nexenta
                      v3.2-1 chgset 'unavailable'
SunOS Release 5.11 Version NexentaOS_20080124 32-bit
Loading Nexenta...

panic[cpu0]/thread=f502ae20: Cannot find /devices

f50556ec genunix:vfs_mountdevices+192 (0, 1, f502a590, 0, )
f5055710 genunix:vfs_mountroot+1e5 (f4c00010, f5051538,)
f5055720 genunix:main+af ()

syncing file systems... done
skipping system dump - no dump device configured
rebooting...

If you can give me an explanation/some pointers to what to fix (what I
did wrong, I'm not a solaris expert (yet, I least hope)), but have some
(few years) experience with linux and *bsd systems.

Thanks in advance

Geza

> Geza,
>
> it can't find your root disk device... you need to configure Xen DomU,
> so it matches disk, i.e. for example if you used to install into c0t0d0
> disk, than exactly the same disk should be supplied to DomU...
>
> On Sun, 2008-02-03 at 21:26 +0100, Gémes Géza wrote:
>   
>> Hi everybody,
>>
>> Sorry for asking that, but have anyone managed to get a working
>> installation as a Dom0 or DomU.
>> Here are my problems:
>>
>> I've installed Nexenta 1.0rc3 under vmware-server (installing on a box
>> with a SATA disk resulted on IO errors and hang after the reboot)
>> If I've enbled the Dom0 boot option as described in
>> http://www.nexenta.org/os/NexentaXenDom0 and tried to boot into the
>> system restarts after successfully loading the kernel (at least it seems
>> to load it), I've tried with both ZFS and UFS root filesystems.
>>
>> My second test was trying to load Nexenta as a DomU in a
>> Xen-3.2/Linux-2.6.18  Dom0 configuration, with the following configuration:
>> name = 'nexenta'
>> memory = '512'
>> disk = [ 'file:/home/administrator/nexenta.raw,0,w' ]
>> vif = [ 'mac=00:16:3e:00:00:ff, bridge=lanbr' ]
>> kernel = '/home/administrator/platform/i86xpv/kernel/unix'
>> ramdisk = '/home/administrator/platform/i86pc/boot_archive'
>> extra = '/platform/i86xpv/kernel/unix -B $ZFS-BOOTFS'
>>
>>
>> where the file nexenta.raw was obtained by converting a ZFS based vmware
>> install to raw disk format by qemu-img.
>> The kernel and boot_archive copied by scp from the vmware install.
>>
>> Unfortunately all I was able to get is:
>> Using config file "./nexenta.cfg".
>> Started domain nexenta
>>                       krtld: Unused kernel arguments: `$ZFS-BOOTFS'.
>> v3.2-1 chgset 'unavailable'
>> SunOS Release 5.11 Version NexentaOS_20080124 32-bit
>> Loading Nexenta...
>>
>> panic[cpu0]/thread=f502ae20: Cannot find /devices
>>
>> f50556ec genunix:vfs_mountdevices+192 (0, 1, f502a590, 0, )
>> f5055710 genunix:vfs_mountroot+1e5 (f4c00010, f5051538,)
>> f5055720 genunix:main+af ()
>>
>> syncing file systems... done
>> skipping system dump - no dump device configured
>> rebooting...
>>
>> and the DomU shuts down.
>>
>> Thanks in advance.
>>
>> Geza Gemes
>> _______________________________________________
>> gnusol-users mailing list
>> [email protected]
>> http://lists.sonic.net/mailman/listinfo/gnusol-users
>>
>>     
>
>   

_______________________________________________
gnusol-users mailing list
[email protected]
http://lists.sonic.net/mailman/listinfo/gnusol-users

Reply via email to