How to backup (create image) SunOS 5.10 sparc?


 
Thread Tools Search this Thread
Operating Systems Solaris How to backup (create image) SunOS 5.10 sparc?
# 15  
Old 02-15-2018
I wasn't proposing that you copy it to use (locally), only to prove that a remote node is allowed to read it. If you:

Code:
# cp <remote node>:<dir>/<dir>/<flashfile> /tmp

does it complain or begin the copy. Obviously, interrupt it if it start to copy.

Last edited by hicksd8; 02-16-2018 at 05:39 AM..
# 16  
Old 02-15-2018
Another, perhaps silly, question is could the two nodes be running different versions of NFS? What is the remote node OS holding the flash archive?

You could try this just to test.

Boot from CD into single user.

Code:
ok> boot cdrom -s

Plumb, configure, and up, the network interface manually. See this thread post#12 where I explain how to do that:

Ufsrestore

You should then be able to ping the remote host, and then mount the remote NFS handle, and read the archive. That will prove workability.
This User Gave Thanks to hicksd8 For This Post:
# 17  
Old 02-19-2018
Quote:
Originally Posted by hicksd8

You should then be able to ping the remote host, and then mount the remote NFS handle, and read the archive. That will prove workability.
ping is ok, is I said

Code:
ping tjk-netshare
tjk-netshare is alive

ping tjk-ftp001
tjk-ftp001 is alive

ping 172.28.192.160
172.28.192.160 is alive

After
Code:
ok> boot cdrom -s

when I came to Instalation part:
Code:
q Flash Archive Retrieval Method qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq

  On this screen you must select a method to retrieve the Flash archive. The
  retrieval method depends on where the archive is stored.  For example, if
  the archive is stored on a tape, select "Local Tape".

            Available Retrieval Methods
            ========================================
            [X]  HTTP
            [ ]  FTP
            [ ]  NFS
            [ ]  Local File
            [ ]  Local Tape
            [ ]  Local Device








qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
     F2_Continue    F5_Cancel    F6_Help

I've chosen many times FTP, NFS, Local File methods. All of them gave me 1 error:
ERROR: Could not find archive

Even more, I tryed to mount external Hdd (and nfs) manualy :
closed the installation by pressing F5 and entered to the shell.


Code:
mount -F ufs /dev/dsk/c0t0d0s2 /mnt/hdd
cd /mnt/hdd
ls 
icr001.flar

and then went back to the installation by entering


Code:
# install-solaris


- Flash Archive Addition -------------------------------------------------------

  Please specify the local file path where the Flash archive is located.  For
  example:

     Path: /export/archive.flar

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

                    Path: /mnt/hdd/icr001.flar                                                











  ERROR: Could not find archive
--------------------------------------------------------------------------------
     F2_Continue    F5_Cancel    F6_Help

Same ERROR: Could not find archive with manual NFS:

Code:
mount tjk-netshare:/edb4tel/shuhrat /mnt/net
cd /mnt/net
ls
icr001.flar

# 18  
Old 02-19-2018
I suspect the flar install routine is seeing the archive as 'busy' because it's already mounted. The flar recovery routine will try to mount the NFS disk itself. See this Oracle page:

Recovery Image Procedures - Oracle Solaris 10 1/13 Installation Guide: Flash Archives (Creation and Installation)

Otherwise, perhaps the archive is not as expected. What command did you use to create it?
# 19  
Old 02-19-2018
Quote:
Originally Posted by hicksd8
I suspect the flar install routine is seeing the archive as 'busy' because it's already mounted. The flar recovery routine will try to mount the NFS disk itself. See this Oracle page:

Recovery Image Procedures - Oracle Solaris 10 1/13 Installation Guide: Flash Archives (Creation and Installation)
Ofc, I've tryed this method:
"Solaris Istallation" mounted the NFS disk itself, as i described in the post # 10 of this topic.
But it didnt find the flar archive.


Quote:
Otherwise, perhaps the archive is not as expected. What command did you use to create it?
is everything ok with my command? Here it is:


Code:
 # flarcreate -c -n "icr001"  -R / -x /mnt  /mnt/usb/icr001.flar
Full Flash
Checking integrity...
Integrity OK.
Running precreation scripts...
Precreation scripts done.
Determining the size of the archive...

# 20  
Old 02-19-2018
Hi 2fat2fly,

I have had a look through this thread and must confess I'm a little confused as to why it's proving so trouble some. I'm pretty sure this is something stupid that's being missed, but I do have to tar myself with the "stupid brush" as for the life of me I can't actually see what the problem is.

I've had a look here but there doesn't seem to be any additional information.

When you are attempting this boot from cdrom and install from a from flar image, I'm assuming that you are having success in selection the appropriate install mechanism through the install menu. So selecting NFS or Local does actually go to the next menu, I have had one occasion in the past where it didn't and we were forced for some unknown reason to install the flar on a web server and install it from there.

Regards

Gull04
These 2 Users Gave Thanks to gull04 For This Post:
# 21  
Old 02-20-2018
Quote:
Originally Posted by gull04
Hi 2fat2fly,
So selecting NFS or Local does actually go to the next menu, I have had one occasion in the past where it didn't and we were forced for some unknown reason to install the flar on a web server and install it from there.
u r absolutely right! it doesn't go to the next menu after selection. ok, only web server method left Smilie will try it.

ok, i copied flar archive to the web server:

when I enter to the browser url:

Code:
http://172.28.193.100/test/icr002.flar

when i put the url to the solaris install, it says ERROR: Could not find archive

Image

�\_(ツ)_/�

something wrong with my flar archive.

will 'flarcreate' once again. dont know, mb problem in the archive. (T_T)

Dear hicksd8 and gull04 also could u check my command, im blind, missed some options, cant do simple backup archive of the system...

Code:
flarcreate -c -n "icr001"  -R / -x /mnt  /mnt/usb/icr001.flar

in the output of this command shoud be only 1 *.flar file? or some additional xml file?
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Grep command Fails on SunOS Sparc

Hi, This command works ggrep -v -F -x -f app1.txt app2.txt But, I don't have ggrep on SunOS Sparc so I tried using grep instead but it errors out grep: illegal option -- F bash-2.03$ uname -a SunOS mymac 5.8 Generic_Virtual sun4v sparc sun4v Can you help me with a grep command that... (6 Replies)
Discussion started by: mohtashims
6 Replies

2. Solaris

SunOS sun4v sparc ntp service in maintenance mode.

Hi experts, This is a production server. Host information's are below SunOS hostname_srv 5.10 Generic_150400-09 sun4v sparc sun4v Now issue with ntp service, This host have zone in it with 9 hosts, Every hosts have ntp service issue. While i check for the service status it's in... (3 Replies)
Discussion started by: babinlonston
3 Replies

3. Solaris

How to scan for LUNs in SunOS sun4v sparc?

Hi everyone, We have the below sun Operating system, Now our storage team have Create a 500GB LUN for this server, How can i scan and mount the shared LUN ? Could anyone help me to resolve this issue. SunOS my_hostname.com 5.10 Generic_150400-09 sun4v sparc sun4v Update: -------- I... (9 Replies)
Discussion started by: babinlonston
9 Replies

4. Shell Programming and Scripting

matching image files to create one image

Hi, I have two sets of image files. Both sets have names A to Z but set 1 ends with .cdt.png and set 2 ends with .matrix.png. I want set 1 to match with set 2 if the names match (i.e. A.cdt.png will match with A.matrix.png) and with the convert image tool (program for images), it will merge the... (6 Replies)
Discussion started by: kylle345
6 Replies

5. Solaris

Solaris 10 Sparc - backup drive how to read it?

Disk is: c0t1d0 partition> print Current partition table (original): Total disk cylinders available: 38307 + 2 (reserved cylinders) Part Tag Flag Cylinders Size Blocks 0 unassigned wm 0 - 38306 74.53GB (38307/0/0) 156292560 1 unassigned... (3 Replies)
Discussion started by: xnox
3 Replies

6. UNIX for Advanced & Expert Users

DES3 encryption in SunOS sparc

Hi, I want to encrypt a unix file using the des3 algorithm. Seems that there are no standard unix utilities readily available. Can you please suggest how I can encrypt a unix file using des3 ? (2 Replies)
Discussion started by: samuel.vincent
2 Replies

7. UNIX for Advanced & Expert Users

Create an Ignite image on tape from Online IgniteUX image

Hi, (HP-UX 11.11) I need to create a tape image of an igniteUX image created on our igniteUX server. That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
Discussion started by: Andrek
3 Replies
Login or Register to Ask a Question