trying to do this for a DR situation. I've cloned an iSCSI LUN to another server. I've created an LDOM on it. set the LDOM to auto-boot=false and exported the LUN as a raw disk to the new LDOM. After starting the LDOM and telnetting to it. I can get to the OK prompt and see the disk but when I try to boot into single user mode I get the following output.
{0} ok boot disk0
NOTICE: Entering OpenBoot.
NOTICE: Fetching Guest MD from HV.
NOTICE: Starting additional cpus.
NOTICE: Initializing LDC services.
NOTICE: Probing PCI devices.
NOTICE: Finished PCI probing.
SPARC T4-4, No Keyboard
Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.35.3, 24.0000 GB memory available, Serial #83402997.
Ethernet address 0:14:4f:f8:a0:f5, Host ID: 84f8a0f5.
Boot device: /virtual-devices@100/channel-devices@200/disk@0 File and args:
The file just loaded does not appear to be executable.
You copied an iSCSI filesystem to another machine and want to make it bootable. This filesystem is not iSCSI connected on the DR system; it is a normal directly connected disk??
This may sound like a stupid question but this filesystem has a Solaris O/S already installed (before you copied it over)?
. boot from iso or boot from net into single user mode of the guest domain
ex:boot cdrom:f or boot net:dhcp -s
#2. zpool import & check for rpool is available.
3. zpool import -R /a rpool. You can ignore the errors it thrown below.
# zpool import -R /a rpool
cannot mount �/a/export': failed to create mountpoint
cannot mount �/a/export/home': failed to create mountpoint
cannot mount �/a/rpool': failed to create mountpoint
4. # zfs list
5. Mount the root dataset
ex: zfs mount rpool/ROOT/solaris
6. cd /a ; ls -ltr & see if you can all the files.
7.Install the boot block:
#installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/cxdxsx << Kindly replace the cxdxsx with the original boot disk of the guest domain
8. Update the boot archive
#bootadm update-archive -fv -R /a
9.init 0
ok>boot devalias of the boot disk -vV