To export an entire disk you have to export slice 2, so you should export
/dev/dsk/c3t50060E801002E786d0s2 instead of /dev/dsk/c3t50060E801002E786d0

alex.


Ben Wood wrote:
> If anyone has ideas on how to properly specify the SAN disk for jumpstarting 
> a guest domain's OS please let me know.  
> 
> Thanks and regards,
> Ben Wood
> 
> Some details:
> 
> The primary domain sees the disk and I have set it as the boot disk for this 
> guest domain:
> 
> # ldm list-services primary
> VSW
>     NAME             MAC               NET-DEV   DEVICE     MODE
>     primary-vsw0     00:14:4f:9d:ac:88 e1000g0   switch at 0   prog,promisc
> 
> VCC
>     NAME             PORT-RANGE
>     primary-vcc0     5000-5100
> 
> VDS
>     NAME             VOLUME         OPTIONS          DEVICE
>     primary-vds0     vol1                            /dev/dsk/c0t2d0s0
>                      vol13                           
> /dev/dsk/c3t50060E801002E786d0
>  # ldm set-var boot-device=vdisk13 masvm001  
> # format on primary domainy does see this disk.  I have stripped out other 
> entries:
> Searching for disks...done
> 
> AVAILABLE DISK SELECTIONS:
>    
>   5. c3t50060E801002E786d0 <HITACHI-DF600F-0000 cyl 2182 alt 2 hd 50 sec 768>
>           /pci at 7c0/pci at 0/pci at 8/SUNW,qlc at 0,1/fp at 0,0/ssd at 
> w50060e801002e786,0
>   
> 
> # ldm list-domain -e -l -p masvm001       
> VERSION 1.0
> DOMAIN|name=masvm001|state=active|flags=transition|cons=5000|ncpu=4|mem=2147483648|util=25.0|uptime=75|softstate=Openboot
> initializing
> VCPU
> |vid=0|pid=4|util=100|strand=100
> |vid=1|pid=5|util=0.0|strand=100
> |vid=2|pid=6|util=0.0|strand=100
> |vid=3|pid=7|util=0.0|strand=100
> MEMORY
> |ra=0x8000000|pa=0x108000000|size=2147483648
> VARIABLES
> |auto-boot?=true
> |boot-device=vdisk13
> VNET|name=vnet0|dev=network at 0|service=primary-vsw0 at 
> primary|mac-addr=00:14:4f:fa:ea:86
> VDISK|name=vdisk1|vol=vol1 at primary-vds0|dev=disk at 0|server=primary
> VDISK|name=vdisk13|vol=vol13 at primary-vds0|dev=disk at 1|server=primary
> VCONS|group=masvm001|service=primary-vcc0 at primary|port=5000
> VLDCC|name=vldcc0|service=primary-vldc0 at primary|desc=ds
> # 
> 
> {0} ok boot vnet0 - install
> Sun Fire T200, No Keyboard
> Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
> OpenBoot 4.27.4, 2048 MB memory available, Serial #66739922.
> Ethernet address 0:14:4f:fa:5e:d2, Host ID: 83fa5ed2.
> 
> 
> 
> Boot device: /virtual-devices at 100/channel-devices at 200/network at 0ile 
> and args: - install
> Requesting Internet Address for 0:14:4f:fa:ea:86
> SunOS Release 5.10 Version Generic_120011-14 64-bit
> Copyright 1983-2007 Sun Microsystems, Inc.  All rights reserved.
> Use is subject to license terms.
> whoami: no domain name
> Configuring devices.
> NOTICE: [1] disk access failed.
> ....other jump startup messages taken out...
> Boot device: vdisk13  File and args: 
> The file just loaded does not appear to be executable.
> {0} ok devalias
> vdisk13                  /virtual-devices at 100/channel-devices at 200/disk 
> at 1
> vdisk1                   /virtual-devices at 100/channel-devices at 200/disk 
> at 0
> vnet0                    /virtual-devices at 100/channel-devices at 
> 200/network at 0
> virtual-console          /virtual-devices/console at 1
> net                      /pci at 780/network at 1,1
> disk                     /pci at 7c0/scsi at 1/disk at 0
> scsi                     /pci at 7c0/scsi at 1
> ttyb                     /virtual-devices/console at 4
> nvram                    /virtual-devices/nvram at 3
> ttya                     /virtual-devices/console at 1
> vdisk                    /virtual-devices/disk at 0
> name                     aliases
> {0} ok
> --
> This message was posted from opensolaris.org
> _______________________________________________
> ldoms-discuss mailing list
> ldoms-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss

Reply via email to