Make an iSCSI LUN clone bootable


 
Thread Tools Search this Thread
Operating Systems Solaris Make an iSCSI LUN clone bootable
# 1  
Old 08-04-2014
Make an iSCSI LUN clone bootable

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.

Code:
{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.

how to do I make it executable?

Last edited by DukeNuke2; 08-05-2014 at 03:34 AM..
# 2  
Old 08-05-2014
I need to ask some questions first......

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)?

Do you have the DVD media of this O/S?

Also, what type of filesystem is it? UFS or ZFS?
# 3  
Old 08-05-2014
Got the answer ~ reinstall the boot block

Code:
. 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

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

DM multipath :iscsi lun shows by diff names on two server where its exported

Hi, I am trying to setup multipathing (using DM multipath) for a redhat cluster setup ...all setup is done but issue is : node 1 shows the shared iscsi lun as sdc node 2 shows the same as sdg (changes on reboots) Due to this (i guess) i get i/o error & i can not read files created by... (0 Replies)
Discussion started by: heman96
0 Replies

2. AIX

Netapp iscsi lun

Hi, I have aix 6.1 box. I want to configure iscsi luns from netapp storage. I tried in google but not getting proper solution for that. i m not getting the proper iqn name. Please share me the steps to complete this requirements. Thanks in advance. (1 Reply)
Discussion started by: sunnybee
1 Replies

3. AIX

Mount a SAN LUN which contains clone copy - AIX 6.1

Hello Everyone, Can someone help me to mount a SAN hdisk which contains a clone data copy(san) of the remote server to the another machine. Both servers are running in AIX. Thanks in advance ! Regards, Gowtham.G (3 Replies)
Discussion started by: gowthamakanthan
3 Replies

4. AIX

Any tips to grow iSCSI LUN

Hi, I have an iSCSI LUN attached to an AIX 5.3 box. It's initial size is 250GB, I just grew it on the SAN to 300GB, but AIX is not seeing the change. Right now I have some processes going and it's eating up the disk space. I need to grow this lun by atleast 30GB otherwise the process with bomb... (5 Replies)
Discussion started by: bbbngowc
5 Replies

5. Solaris

Solaris10 -> iscsi -> equiliogic lun

We "lose" the iscsi device after a reboot - i.e., it appears in /dev/rdsk and /dev/dsk but format cannot find it. Obviously, it won't mount either. This happens for two separately defined luns. We must be missing a step in iscsiadm. The luns are defined as targets, we can see them in... (2 Replies)
Discussion started by: jim mcnamara
2 Replies

6. Solaris

Set up iscsi LUN on solaris 9?

Hi, I need to set up iscsi LUN on Solaris 9. I've done it on Solaris 10 with iscsiadm. How do you do it on Solaris 9 though? Currently using Solaris 9 update 2. Your help is appreciated. Thanks, Sparcman (6 Replies)
Discussion started by: sparcman
6 Replies

7. AIX

Help growing iscsi lun

Hi, I have an iSCSI LUN of 200GB. I increased it to 250GB and when I try to increase the size of the vg, I'm getting an error that none of the volumes have increased in size. How can I get the OS to see the additional 50GB? ---------- Post updated at 03:22 PM ---------- Previous update... (9 Replies)
Discussion started by: bbbngowc
9 Replies

8. Filesystems, Disks and Memory

Make non-bootable scsi drive, bootable

In our HP/Unix system, our master scsi drive was bootable and our mirrored drive was non-bootable. Are any of these alternatives possible: 1) Make the non-bootable scsi drive bootable? How? 2) Create a bootable scsi drive, then copy the mirrored data to the newly created scsi drive? I seek... (1 Reply)
Discussion started by: bfisk
1 Replies

9. Solaris

How to make a bootable disk?

The second disk that I'm trying to make bootable is to hold another version of Solaris (9). I've created the partitions with format and labeled the disk - created the filesystems with newfs - created and mounted the directories. ...but I think I've missed something out like using fdisk to... (16 Replies)
Discussion started by: pondlife
16 Replies

10. UNIX for Dummies Questions & Answers

recover DIsk and make bootable

Hello all, I'm trying to recover from backup file to a new system with a new disk. I'm able to partition my new hard drive the same way as my old drive, but I'm unable to boot off of it. I have set the fdisk to toogle as a boot flag. But it does not seem to be working. Does anyone know how to... (4 Replies)
Discussion started by: larryase
4 Replies
Login or Register to Ask a Question