Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Creating BMR SRT image problem

Created: 02 Oct 2012 • Updated: 08 Oct 2012 | 13 comments
This issue has been solved. See solution.

Hi there I am having an issue creating image for SRT on boot server.... see below. How can I generate logs for this server si I can see more detail of why its is failaing? 

 

bash-3.00# ./bmrsrtadm 

 
Select one of the following options:
 
    1.  Create a new Shared Resource Tree.
    2.  Create a new CD image based Shared Resource Tree.
    3.  Copy an existing Shared Resource Tree to a new location.
    4.  Import a Shared Resource Tree.
    5.  Modify an existing Shared Resource Tree.
    6.  Delete an existing Shared Resource Tree.
    7.  List Shared Resource Trees available on this server.
    8.  Quit.
 
Enter your selection (1-8) [1] : 2
Enter the name of an existing SRT : Solaris9sparc
Enter the name of the new SRT to create : Solaris9sparcSRTdvd
Enter the description of the new SRT [Solaris9sparc] : Solaris9sparcSRTdvd
Enter the directory in which to place the new SRT CD image [/export/srt] : 
Enter the CDROM device name [/dev/dsk/c0t0d0s2] : /sparcdvd
Please insert Solaris 9 media into the CDROM/DVDROM drive.
Press ENTER when ready (or CTRL-C to quit)... : 
mount: No such device
mount: cannot mount /s0
Inserted media is not of Solaris 9.
Do you want to try another device? (y/n) [y] : 
Enter the CDROM device name [/sparcdvd] : /Solaris9   
Please insert Solaris 9 media into the CDROM/DVDROM drive.
Press ENTER when ready (or CTRL-C to quit)... : 
mount: No such device
mount: cannot mount /Solaris0
Inserted media is not of Solaris 9.
Do you want to try another device? (y/n) [y] : y
Enter the CDROM device name [/Solaris9] : /dev/dsk/c0t0d0s2
Please insert Solaris 9 media into the CDROM/DVDROM drive.
Press ENTER when ready (or CTRL-C to quit)... : 
Computing space requirements. Please wait...
Enter the name of a Partition of size 1,921,920 or more blocks : /dev/dsk/c1t3d0
Partition /dev/dsk/c1t3d0 does not exist.
Do you want to try another Partition? (y/n) [y] : y
Enter the name of a Partition of size 1,921,920 or more blocks : c1t3d0s4
All data on /dev/dsk/c1t3d0s4 will be lost. Do you want to continue? (y/n) [y] : y
Extracting vtoc...
Extracting boot slices...
Creating ISO 9660 image from /export/srt/bmr.1745/tmp...
Truncating slice 0...
Padding slice 0...
Building slice 1...
[Error] V-125-604 Cannot create CD image.
 
Cleaning up....

Comments 13 CommentsJump to latest comment

manmountain's picture

To view logs for bmrsrtadm:  ./vxlogview -o 125

 

++++++++++++++

Error

==============

 

Entering, from=/export/srt/Solaris9sparc/Solaris_9/Tools/Boot/tmp, to=/tmp/FsMntPt.1745/tmp

Failure copying files from /export/srt/Solaris9sparc/Solaris_9/Tools/Boot/tmp to /tmp/FsMntPt.1745/tmp

Failure in CopyArchives for directory /export/srt/Solaris9sparc/Solaris_9/Tools/Boot/tmp

 

Any ideas on why it fails to copy?

Thanks

mandar_khanolkar's picture

can you attach whole bmrsrtadm log generated with debug level 6. For enabling debug level 6, open nblog.conf file and set debuglevel=6

move any existing bmrsrtadm log and repeat process of ISO creation to generate fresh detailed log.

thanks.

mandar

manmountain's picture

Hi Mandar,

How do I remove existing bmrsrtadm logs?

 

 
Thanks,
M
mandar_khanolkar's picture

bmrsrtadm log is generated on bmr boot server at /usr/openv/logs/bmrsrt directory. You can move *.log files inside this dierectory to somewhere else so that fresh logs can be generated with debug level 6.

thanks.

mandar

mandar_khanolkar's picture

I suspect the provided partition "/dev/dsk/c1t3d0s4" is of less size than required. Can you create a parittion with bigger space (~1.5 GB) and use the same for ISO creation?

If fails please provide the same log again by cleaning previous one.

thanks.

mandar

manmountain's picture

Hi Mandar, Turns out the DVD was corrupted somehow. I changed the solaris 9 DVD and now it works.  The partition I was using was 64GB

SOLUTION
susindran.suruli's picture

Hi Manmountain,

COuld you please confirm..What and all files comes under iso image after ISO image creation??

My self created ISO image without any error but i could see only below files is exists...

/Tools/Boots/Sbin

/Tools/Boots/etc/

/Tools/Boots/BMT/VXVM.tar

 

manmountain's picture

Hi Susindran, Yes I just have the same directories as you mention in path /Tools/Boot

 

bash-3.00# ls -al
total 32
drwxr-xr-x   2 root     root        2048 Oct  5 10:47 etc
drwxr-xr-x   3 root     sys        10240 Oct  5 10:15 sbin
bash-3.00# 
 
I actually haven't attempted a BMR restore as of yet using this SRT iso.
susindran.suruli's picture

Hi,

 

Thanks for your update.So my ISO SRT aswell good...But getting error while doing disimiler disk recover option...Please let us know your going to test with new disk???

I saw other post you have faced same problem.Please let us know which patch set we have to apply..I have downloaded entire solaris 9 recommanded patch set.

manmountain's picture

Hi Susindran, What I ended up doing was using the latest Solaris 9 image dowloaded from Oracle to create SRT. Any patches that I had to add I ended up getting from either the recommanded patch list or from mounting a solaris 10 iso. I just added patches that were related to the issue I was having. 

I didn't attempt to recover using disimilar disks.

These are some of the packages that I installed.

SUNWpiclu, SUNWfruip, SUNWkvm and SUNWhea

susindran.suruli's picture

Hi Manmountain,

 

Thank you for quick turnaround..Let me add SUNWpiclu, SUNWfruip, SUNWkvm and SUNWhea packages into SRT and try for restoration.I will let you know result once tested..

Thanks,

Susi.S