cancel
Showing results for 
Search instead for 
Did you mean: 

Creating SRT use of solaris 9 ISO image

susindran_surul
Level 6

Hi Team,

 

I dont have solaris 9 cd in hand but having oslaris 9 ISO image.Please let us know any way to create SRT with use of ISO image?

 

Thanks,

Susi.S

1 ACCEPTED SOLUTION

Accepted Solutions

mandar_khanolka
Level 6
Employee

I would say check if your local disk has some free space so that you can create /dev/dsk/c3t0d0s3 as another partition and use the same for SRT ISO creation.

thanks.

mandar

View solution in original post

24 REPLIES 24

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

susindran_surul
Level 6

Thanks Marianne,..But i am having 2 iso image for soalris 1 and 2 cd ISO image..How can i mount /mnt for two iso image??

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
Only cd1 is needed for boot image. You can mount as many iso images as you like - just create mount points for each. Mount point does not need to be /mnt -create any folder name you like, e.g. /cd1, /cd2, etc. Again, no need for both. Only mount iso with base OS image.

susindran_surul
Level 6

Thanks marianne.I am getting below error while doing srt creation.

 

 

$ sudo ./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] : 1
Enter the name of the SRT to create : solaris9
Enter the description of the new SRT : soalris9_alone
Enter desired level of Solaris/SunOS (8/5.8, 9/5.9 or 10/5.10) [5.10] : 5.9
Enter the directory in which to place the new SRT [/export/srt] : /diskbkp1/srt
Enter a [hostname:/]pathname containing a suitable Solaris 5.9
OS CDROM or OS image location [/cdrom] : /mnt
/mnt/Solaris_9/Tools/Boot/platform/sun4u/kernel/unix: No such file or directory
Enter a [hostname:/]pathname containing a suitable Solaris 5.9
OS CDROM or OS image location [/mnt] : ^C
[Error] V-125-637 SRT processing has been interrupted.
Removing SRT "solaris9" from server -- please stand by ...
$
 
 
Please find the below for /mnt/
 
$ cd /mnt/Solaris_9/Tools
$ ls
add_install_client    Boot                  dial                  rm_install_client     setup_install_server
$ ls -lart
total 192
-rwxr-xr-x   2 root     bin        13045 Apr 15  2002 setup_install_server
-rwxr-xr-x   2 root     bin        18599 Apr 15  2002 rm_install_client
-rwxr-xr-x   2 root     sys         1325 Apr 15  2002 dial
-rwxr-xr-x   2 root     bin        59586 Apr 15  2002 add_install_client
lrwxrwxrwx   1 root     other         11 Apr 15  2002 Boot -> ../../../s1
drwxr-xr-x   2 root     bin         2048 Apr 15  2002 .
drwxr-xr-x   7 root     root        2048 Apr 15  2002 ..
$ cd ../../../s1
ksh: ../../../s1:  not found
$
 

 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Something wrong with your ISO image.

When a Solaris cd is mounted, it has more than one 'slice' - if I remember correctly, s0, s1, s2, s3 etc.

Seems your ISO was created from s0 only.

Was the ISO ever tested to install Solaris 9?

Overview of Solaris 9 bootable cd: http://clue.eng.iastate.edu/uberjs/pages/Solaris9BootableCD.htm

 

mandar_khanolka
Level 6
Employee

Can you check bmrsrtadm debug level 6 log created on your boot server?

To enable debug level, edit nblog.conf file and set debugLevel=6. Then run bmrsrtadm steps as you are doing. You will get correct error root cause and you can even guess solution if it is related to os installable/path.

You can attach bmrsrtadm log here in case still issue exists.

Thanks.

mandar

susindran_surul
Level 6

Hi Marianne,

 

Thanks.It seems we have created with s0 alone..Let me create for remaining slices..I will follow your document and let me test after create correct one.

 

Thanks,

Susi.S

susindran_surul
Level 6

Hi Marianne,

 

I have followed all the stpes and finelly mkisofs is not working..

 

 

$ sudo mkisofs -R -d -L -l -sparc-boot solaris_9sol9.s1 solaris_9sol9.s2 solaris_9sol9.s3 solaris_9sol9.s4 solaris_9sol9.s5 -o sol9_boot.iso ./solaris_9
mkisofs: The option '-L' is reserved by POSIX.1-2001.
mkisofs: The option '-L' means 'follow all symbolic links'.
mkisofs: Mkisofs-2.02 will introduce POSIX semantics for '-L'.
mkisofs: Use -allow-leading-dots in future to get old mkisofs behavior.
Warning: creating filesystem that does not conform to ISO-9660.
mkisofs: No such file or directory. Invalid node - -o
$ pwd
/tmp/solaris_9
$ ls -lart
total 556976
drwxr-xr-x   2 root     bin          117 Apr 15  2002 Patches
drwxr-xr-x   2 root     bin          117 Apr 15  2002 Docs
drwxr-xr-x   4 root     bin          262 Aug 28 16:24 Misc
drwxr-xr-x   2 root     bin          465 Aug 28 16:27 Tools
drwxr-xr-x 551 root     bin        36651 Aug 28 16:27 Product
-rw-r--r--   1 root     other    279838720 Aug 28 16:30 solaris_9sol9.s1
-rw-r--r--   1 root     other    1310720 Aug 28 16:30 solaris_9sol9.s2
-rw-r--r--   1 root     other    1310720 Aug 28 16:30 solaris_9sol9.s3
-rw-r--r--   1 root     other    1310720 Aug 28 16:30 solaris_9sol9.s4
-rw-r--r--   1 root     other    1310720 Aug 28 16:30 solaris_9sol9.s5
drwxr-xr-x   7 root     other        794 Aug 28 16:32 .
drwxrwxrwt   8 root     sys          503 Aug 28 18:15 ..
$
 
Thanks,
Susi.S
 

susindran_surul
Level 6

Hi Mandar,

 

I got cd now.But i can able to mount only slice 0 and if i run bmrsrtadm the same issue is persist.I hope because of slice 1 is not mounting?

From below points i could see Boot is having sympolic link to S1 that a problem.Please let us know any way to mount entire cd?

 

$  sudo mount -F hsfs /dev/dsk/c2t0d0s1 /cdrom
hsfs mount: /dev/dsk/c2t0d0s1 is not an hsfs file system.
$ sudo mount -F hsfs /dev/dsk/c2t0d0s0 /cdrom
$ cd /cdrom
$ la -lart
ksh: la:  not found
$ ls -lart
total 27
-r--r--r--   2 root     root        6379 Apr 12  2002 Copyright
-r--r--r--   2 root     root          85 Apr 12  2002 .cdtoc
-r--r--r--   2 root     root          16 Apr 12  2002 .volume.inf
-r--r--r--   2 root     root         462 Apr 12  2002 .slicemapfile
lrwxrwxrwx   1 root     other         32 Apr 15  2002 .install_config -> ./Solaris_9/Misc/.install_config
dr-xr-xr-x   2 root     sys         2048 Apr 15  2002 .
drwxr-xr-x   7 root     root        2048 Apr 15  2002 Solaris_9
drwxr-xr-x  28 root     root        1024 Aug 31 19:51 ..
$ cd Solaris_9
$ ls
Docs     Misc     Patches  Product  Tools
$ ls -lart
total 164
dr-xr-xr-x   2 root     sys         2048 Apr 15  2002 ..
drwxr-xr-x   2 root     bin         2048 Apr 15  2002 Tools
drwxr-xr-x   2 root     bin         2048 Apr 15  2002 Patches
drwxr-xr-x   4 root     bin         2048 Apr 15  2002 Misc
drwxr-xr-x   2 root     bin         2048 Apr 15  2002 Docs
drwxr-xr-x 551 root     bin        71680 Apr 15  2002 Product
drwxr-xr-x   7 root     root        2048 Apr 15  2002 .
$ cd Tools
$ ls -lart
total 192
-rwxr-xr-x   2 root     bin        13045 Apr 15  2002 setup_install_server
-rwxr-xr-x   2 root     bin        18599 Apr 15  2002 rm_install_client
-rwxr-xr-x   2 root     sys         1325 Apr 15  2002 dial
-rwxr-xr-x   2 root     bin        59586 Apr 15  2002 add_install_client
lrwxrwxrwx   1 root     other         11 Apr 15  2002 Boot -> ../../../s1
drwxr-xr-x   2 root     bin         2048 Apr 15  2002 .
drwxr-xr-x   7 root     root        2048 Apr 15  2002 ..
$
 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

You need to mount at least s0 and s1.

Extract from http://osdir.com/ml/os.solaris.managers.summaries/2003-02/msg00149.html

mkdir /tmp_mnt /tmp_mnt/s0 /tmp_mnt/s1 /tmp_mnt/s2
mount -F hsfs -o ro /dev/dsk/c#t#d#s0 /tmp_mnt/s0
mount -F hsfs -o ro /dev/dsk/c#t#d#s1 /tmp_mnt/s1
mount -F hsfs -o ro /dev/dsk/c#t#d#s2 /tmp_mnt/s2

 

s1 may be ufs and not hsfs.
You should be able to confirm with fstyp command. 

susindran_surul
Level 6

Hi Thanks marianne.Now its working after follow your steps.Please let us know below one i need to give yes?

Because already i have installed netbackup in this server..My master server will be act as boot server.If i give yes it will install in master server or only in SRT.My master server is 7.5.0.1 and i m creating SRT for 6.5.5 version.

 

 

Enter your selection (1-8) [1] : 1
Enter the name of the SRT to create : solaris_9
Enter the description of the new SRT : solaris_9_alone
Enter desired level of Solaris/SunOS (8/5.8, 9/5.9 or 10/5.10) [5.10] : 5.9
Enter the directory in which to place the new SRT [/export/srt] : /stage2/srt
Enter a [hostname:/]pathname containing a suitable Solaris 5.9
OS CDROM or OS image location [/cdrom] : /tmp_mnt/
This step may take considerable time. Please wait...
Preparing boot files - please stand by...
Enter a [hostname:]/pathname containing Symantec NetBackup Client software : /stage2/nb/NB65_SOL910
 
 
Symantec Installation Script
Copyright 1993 - 2007 Symantec Corporation, All Rights Reserved.
 
 
        Installing NetBackup Client Software
 
 NOTE:  To install NetBackup Server software, insert the appropriate
        NetBackup Server cdrom.
 
Do you wish to continue? [y,n] (y) y
Do you want to install the NetBackup client software for this client? [y,n] (y) n
 

mandar_khanolka
Level 6
Employee

>> Do you want to install the NetBackup client software for this client? [y,n] (y) n

Please go ahead with Y. This will install NB client into your BMR SRT and not on your host.

Note: BMR SRT contains minimal OS and NB Client which later recovers your client data in recovery environment and prepared your client like it was originally during last backup.

Thanks.

Mandar

 

susindran_surul
Level 6

Thanks Mandar...I am going to create cd based SRT with use of my production master/boot server and  i want to test with this SRT in my test enviromnet..My Master/Boot test Environment not having DVD drive so i am plan to create dvd based SRT use of my production master/boot server and then plan to import into my test master/boot server...Both Master server having different configuration..Please let us know it will support???But same solaris 10 OS only release is differnet.I am going to do BMR for solaris 9 server.Hope it will work?

 

mandar_khanolka
Level 6
Employee

Hmm. This is bit tricky.

Today you cannot import BMR ISO based SRT onto other master/boot server. What you can do here is import your NW SRT on production onto your test setup. Also you need to do PTR with this NW SRT onto test setup but boot your client media srt for restore.

>>going to do BMR for solaris 9 server.Hope it will work?

Note that if your client is solaris 9 then you need SRT based on Solaris 9 itself. Hope you have done the same. Boot server can be solaris 9 or 10.

thanks.

mandar

susindran_surul
Level 6

Hi Mandar/All,

 

Any how i have manged DVD driver for test server after installing solrais srt and want to create with vxvm srt because my most of the server with vxvm encapsulation but getting following error,,...Enter your selection (1-4) [1] : 1

Enter a [hostname:]/pathname containing the VRTSvlic package image : /veritas_4.1
/export/srt/soalris_9/Solaris_9/Tools/Boot/tmp/bmrsrtadm.8606.mnt/VRTSvlic.pkg: No such file or directory
[Error] V-125-696 Cannot find valid package at /veritas_4.1.
[Error] V-125-397 Cannot add VRTSLic to SRT.  Please see diagnostic log for additional information.
Ready to add Veritas Volume Manager/File System to SRT.
Select one of the following options:
 
    1.  Install Veritas License Software. (prerequisite to below)
    2.  Install Veritas Volume Manager.
    3.  Install Veritas File System.
    4.  Return to the previous menu.
 
Enter your selection (1-4) [1] : 4
 
You may make modifications to this SRT.
Select one of the following options:
 
    1.  Install Symantec NetBackup Maintenance Pack.
    2.  Install Veritas Volume Manager and Veritas File System.
    3.  Update Veritas Volume Manager and Veritas File System.
    4.  Install Veritas Security Services.
    5.  Install additional packages or patches.
    6.  Change SRT description.
    7.  Change client exclusive use of this SRT.
    8.  Quit.
 
Enter your selection (1-8) [8] : 8
 
details for my iso image :-
 
$ ls -lart
total 1160
drwxrwxr-x   4 root     root        2048 Dec  8  2004 perl
drwxrwxr-x   3 root     root        2048 Feb  4  2005 support
-rwxr-xr-x   1 root     root        1935 Mar  3  2005 installer
-rwxr-xr-x   1 root     root      569939 Mar  4  2005 getting_started.pdf
drwxrwxr-x   7 root     root        2048 Mar 11  2005 cluster_server
drwxrwxr-x   2 root     root        2048 Mar 11  2005 gnu
dr-xr-xr-x   2 root     sys         2048 Mar 11  2005 .
drwxrwxr-x   7 root     root        2048 Mar 11  2005 file_system
drwxrwxr-x   3 root     root        2048 Mar 11  2005 windows
drwxrwxr-x   8 root     root        2048 Mar 11  2005 storage_foundation
drwxrwxr-x   8 root     root        2048 Mar 11  2005 volume_replicator
drwxrwxr-x   7 root     root        2048 Mar 11  2005 volume_manager
drwxr-xr-x   4 root     root         512 Sep 20 00:32 ..
$ pwd
/veritas_4.1/s0
$
 
$ cd /veritas_4.1/s0
$ ls -lart
total 1160
drwxrwxr-x   4 root     root        2048 Dec  8  2004 perl
drwxrwxr-x   3 root     root        2048 Feb  4  2005 support
-rwxr-xr-x   1 root     root        1935 Mar  3  2005 installer
-rwxr-xr-x   1 root     root      569939 Mar  4  2005 getting_started.pdf
drwxrwxr-x   7 root     root        2048 Mar 11  2005 cluster_server
drwxrwxr-x   2 root     root        2048 Mar 11  2005 gnu
dr-xr-xr-x   2 root     sys         2048 Mar 11  2005 .
drwxrwxr-x   7 root     root        2048 Mar 11  2005 file_system
drwxrwxr-x   3 root     root        2048 Mar 11  2005 windows
drwxrwxr-x   8 root     root        2048 Mar 11  2005 storage_foundation
drwxrwxr-x   8 root     root        2048 Mar 11  2005 volume_replicator
drwxrwxr-x   7 root     root        2048 Mar 11  2005 volume_manager
drwxr-xr-x   4 root     root         512 Sep 20 00:32 ..
$
what i have to give?
 
 
 

mandar_khanolka
Level 6
Employee

Try path till storage_foundation dir.

thanks.

mandar

susindran_surul
Level 6

Thanks Mandar..I have created now and doing DVD based iso SRT image but getting below error.Could you please help..

 

I have inserted my soalris 9 first cd in server.

 

We have to take out solaris 9 first cd after checked below and need to insert any new DVD????

 

Press ENTER when ready (or CTRL-C to quit)... :
Computing space requirements. Please wait...

 

 

# ./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 : soalris_9
Enter the name of the new SRT to create : soalris_9_verita_4.1
Invalid character in SRT name -- please try again.
Enter the name of the new SRT to create : soalris_9vxvm4
Enter the description of the new SRT [soalris_9_all] : soalris_9_all_vxvm_4.1
Enter the directory in which to place the new SRT CD image [/export/srt] : /export/srt/srtiso
That directory does not exist. Do you want to create it? (y/n) : y
Enter the CDROM device name [/dev/dsk/c0t6d0s2] :
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,076,480 or more blocks : /tmp/srt
All data on /tmp/srt will be lost. Do you want to continue? (y/n) [y] :
Extracting vtoc...
Extracting boot slices...
Creating ISO 9660 image from /export/srt/srtiso/bmr.20969/tmp...
Truncating slice 0...
Padding slice 0...
Building slice 1...
the command mkfs failed
[Error] V-125-604 Cannot create CD image.
 
Cleaning up....
 
Below is error message :-
 
0,51216,128,125,1456,1348359136139,26146,1,0:,123:Entering, line=416, command=/usr/sbin/mkfs -F ufs -o bsize=8192,fragsize=2048 /tmp/srt 1076480 2>&1, options=4,41:bmrSystemCommon.cpp:BmrRunCommandCommon(),5
0,51216,128,125,1457,1348359136139,26146,1,0:,112:Entering, line=107, command=/usr/sbin/mkfs -F ufs -o bsize=8192,fragsize=2048 /tmp/srt 1076480 2>&1,37:bmrSystemCommon.cpp:BmrSystemCommon(),5
0,51216,128,125,1458,1348359136142,26146,1,0:,32:Child process started, pid=26541,37:bmrSystemCommon.cpp:BmrSystemCommon(),4
0,51216,128,125,1459,1348359136144,26146,1,0:,18:Entering, line=118,41:fileManipulation.cpp:ReadLineFromStream(),6
0,51216,128,125,1460,1348359136227,26146,1,0:,30:Exiting, line=137, return rc=0,41:fileManipulation.cpp:ReadLineFromStream(),6
0,51216,128,125,1461,1348359136228,26146,1,0:,18:Entering, line=118,41:fileManipulation.cpp:ReadLineFromStream(),6
0,51216,128,125,1462,1348359136229,26146,1,0:,30:Exiting, line=137, return rc=1,41:fileManipulation.cpp:ReadLineFromStream(),6
0,51216,128,125,1463,1348359136230,26146,1,0:,54:Child process pid=26541 exited with non-zero status=32,37:bmrSystemCommon.cpp:BmrSystemCommon(),1
0,51216,128,125,1464,1348359136230,26146,1,0:,30:Exiting, line=398, return rc=1,37:bmrSystemCommon.cpp:BmrSystemCommon(),5
0,51216,128,125,1465,1348359136231,26146,1,0:,30:Exiting, line=426, return rc=1,41:bmrSystemCommon.cpp:BmrRunCommandCommon(),5
0,51216,125,125,30,1348359136231,26146,1,0:,62:Creation of filesystem on /tmp/srt failed with: 1,31:mkCDImagePlat.cpp:BuildSlice1(),1
0,51216,125,125,31,1348359136232,26146,1,0:,31:Exiting, line=1149, rc=BMR_FAIL,31:mkCDImagePlat.cpp:BuildSlice1(),5
0,51216,125,125,32,1348359136232,26146,1,0:,31:Exiting, line=2769, rc=BMR_FAIL,31:mkCDImagePlat.cpp:makeCDImage(),5
2,51216,125,125,33,1348359136232,26146,1,0:,0:,0:,2,(604|)
 

 

mandar_khanolka
Level 6
Employee

>> Enter the name of a Partition of size 1,076,480 or more blocks : /tmp/srt

On Solaris, BMR SRT creation requires some partition which has sufficient free space where it creates a temp file system to build required ISO from SRT folder content.

For example, /dev/dsk/c1t0d0s7 is a partition of required space can be mentioned as input.

If you do not have any free one check if you have some disk space left where you can create a required size partition.

Thanks

mandar

susindran_surul
Level 6

Hi Mandar,

 

I have below file system have space.But the thing is i can create any one directory under ./diskbkp3 and will mount the file system..But if we give /dev/dsk/emcpower2a is a partition of required space can be mentioned as input means it will delete entire /diskbkp3 right...I dont no how exactly have to create..Please correct me if its wrong..

 

$ sudo more /etc/vfstab
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c3t0d0s1       -       -       swap    -       no      -
/dev/dsk/c3t0d0s0       /dev/rdsk/c3t0d0s0      /       ufs     1       no      -
/devices        -       /devices        devfs   -       no      -
sharefs -       /etc/dfs/sharetab       sharefs -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap - /tmp tmpfs - yes size=1024m
/dev/dsk/emcpower0a     /dev/rdsk/emcpower0     /diskbkp1       ufs     2       yes     -
/dev/dsk/emcpower1a     /dev/rdsk/emcpower1a    /diskbkp2       ufs     2       yes     -
/dev/dsk/emcpower2a     /dev/rdsk/emcpower2a    /diskbkp3       ufs     2       yes     -
$
$ df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c3t0d0s0      6.9G   5.3G   1.5G    78%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   2.5G   960K   2.5G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
                       6.9G   5.3G   1.5G    78%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                       6.9G   5.3G   1.5G    78%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   1.0G    56K   1.0G     1%    /tmp
swap                   2.5G    32K   2.5G     1%    /var/run
/dev/dsk/emcpower1a    1.5T   1.4T   102G    94%    /diskbkp2
/dev/dsk/emcpower2a    2.0T   1.8T   136G    94%    /diskbkp3
/dev/dsk/emcpower0a    3.2T   3.0T   130G    96%    /diskbkp1
$
 

 

We dont have svm in this server...