How to backup (create image) SunOS 5.10 sparc?


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Solaris How to backup (create image) SunOS 5.10 sparc?
# 8  
hicksd8, could u recommend me any liveCD, wich supports SPARC cpu, memory?
Google recommended me this product: system-rescue-cd.org/SystemRescueCd_for_Sparc/
tnx in advise

___ upd: sparc 240 does not support external usb cdrom Smilie pls kill me someone)

___upd2. ok, now im doing flar archive of OS. and later will try to recover a new server from the flar archive which will be located on the external hdd drive



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


Last edited by 2fat2fly; 02-12-2018 at 04:53 AM..
# 9  
Why do you think that you need a 'live' DVD?

If you have the installation media for the Solaris 10 version that you are running then you can:

Code:
ok> boot cdrom -s

to boot into single user running off the DVD. From there you can mount hard disk filesystems (typically under /a on the DVD) and mount recovery archive tape/disk (typically under /mnt). That way you can manipulate/edit a hard disk root filesystem to make it boot. (Read again those links I posted of previous threads which explains all this.)

Yes, you can use flarcreate (aka flash) to backup, or fssnap & ufsdump for backup.

I don't remember ever connecting an external USB drive to a system booted single user from DVD but I don't see why it wouldn't work.
This User Gave Thanks to hicksd8 For This Post:
# 10  
Quote:
Originally Posted by hicksd8
If you have the installation media for the Solaris 10 version that you are running then you can:

Code:
ok> boot cdrom -s

mr. hicksd8, as I said I've created icr001.flar archive.

Now its located on my External USB HDD, NFS and FTP as well.

My actions:
1) ok> boot net - install
2) configuring net, dns, etc...
3) reached the “Solaris Interactive Installation” part, and selected “Flash”.
4) trying to recovery via NFS:

Code:
q Flash Archive Addition qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq

  Please specify the path to the network file system where the Flash archive
  is located.  For example:

     NFS Location: syrinx:/export/archive.flar

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

            NFS Location: tjk-netshare:/edb4tel/shuhrat/icr001.flar











  ERROR: Could not find archive
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
     F2_Continue    F5_Cancel    F6_Help

Could not find archive

5) trying to recovery via FTP:

Code:
q Flash Archive Addition qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq

  Please specify the FTP server, path, username, and password for the Flash
  Archive.  If you are behind a firewall, enter proxy information. For
  example:

             Host: ftp.sun.com
             Path: /path/to/archive.flar
             Username: bob
             Password: ********
             Proxy Host: firewall.eng
             Proxy Port: 8080

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

              FTP Server: tjk-ftp001
            Path to file: /SOFT/icr001.flar
            FTP Username: ftp_icr001
            FTP Password: ********
              Proxy Host:
              Proxy Port: 0
  ERROR: Could not find archive
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
     F2_Continue    F5_Cancel    F6_Help

same ERROR: Could not find archive

What else can I do?

ps. there are another methods available:

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

Thinking about "Local Device" method: But not sure, how to mount external usb HDD, or where do I need to place/locate my icr001.flar image in the internal/local hdd?

Last edited by 2fat2fly; 02-15-2018 at 06:32 AM..
# 11  
https://docs.oracle.com/cd/E19253-01...avn/index.html

Obvious questions are:

Does the network interface configure correctly? Is there a DHCP server supplying the parameters needed?

When you try to mount with a nodename "tjk-netshare" is there a method to resolve that address? Or should you substitute tjk-netshare's ip address instead?

Have you properly shared the NFS handle on the node you are trying to reach? (assuming it is on the same subset)
This User Gave Thanks to hicksd8 For This Post:
# 12  
Quote:
Originally Posted by hicksd8

Obvious questions are:

Does the network interface configure correctly? Is there a DHCP server supplying the parameters needed?
Network configured correctly.
To check, that problem not in the 'network', i wrote wrong ip/hostname of FTP and system warned me: " ERROR: Could not connect to host'.
When i wrote right hostname/ip, but wrong ftp password, system warned me: 'Could not authenticate'

When I wrote wrong ip NFS location, system warned me: " ERROR: Could not mount archive"


Quote:
When you try to mount with a nodename "tjk-netshare" is there a method to resolve that address? Or should you substitute tjk-netshare's ip address instead?
As I said, I tryed both of them hostname and ip


Quote:
Have you properly shared the NFS handle on the node you are trying to reach? (assuming it is on the same subset)
Yes, they are on the same subset.
I shared properly NFS. I tryed to mount from another server my NFS folder, and it mounted properly:

Code:
# df -h |grep tjk-netshare

Filesystem                       size   used  avail   capacity  Mounted on
tjk-netshare:/edb4tel/shuhrat   300G    83G   213G    29%    /mnt/network


___________________________________________________

Exited from the installation menu.

^
Code:
# df -h
Filesystem             size   used  avail capacity  Mounted on
/ramdisk-root:a        197M   175M   2.3M    99%    /
/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                   3.5G   360K   3.5G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
swap                   3.6G   100M   3.5G     3%    /tmp
/tmp/dev               3.6G   100M   3.5G     3%    /dev
fd                       0K     0K     0K     0%    /dev/fd
172.28.192.160:/mnt/usb
                       2.1G   2.1G     0K   100%    /cdrom
df: cannot statvfs /platform/sun4u-us3/lib/libc_psr.so.1: Operation not applicable
df: cannot statvfs /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1: Operation not applicable
swap                   3.5G    32K   3.5G     1%    /tmp/root/var/run
/usr/sbin/install.d/install_config
                       197M   175M   2.3M    99%    /tmp/_install_config
tjk-netshare:/edb4tel/shuhrat/icr001.flar
                       300G    83G   213G    29%    /tmp/flarAAAILaGkb
tjk-netshare:/edb4tel/shuhrat/icr001.flar
                       300G    83G   213G    29%    /tmp/flarBAAJLaGkb
172.28.192.160:/edb4tel/shuhrat/icr001.flar
                       300G    83G   213G    29%    /tmp/flarCAAKLaGkb

NFS mounted 3 times wtih different directories O_o.

When trying to open:
Code:
# cd /tmp/flarCAAKLaGkb
/tmp/flarCAAKLaGkb: not a directory

dismounted all of NFS directories and mounted to /tmp/mnt. Will try to install once again, but from local device

Last edited by 2fat2fly; 02-15-2018 at 08:00 AM..
# 13  
Hmmmm.....

Code:
I shared properly NFS. I tryed to mount from another server my NFS folder, and it mounted properly:

but can you also prove that you can access the archive. What access rights are set on the archive? Perhaps, temporarily set to 777? Try copying the archive to the local system (you can interrupt it once it starts to copy). Also check the access rights on the directory above.

This does seem like an access rights (or wrong path/filename given) issue to me; although I could be wrong.

Still thinking about this one.

Last edited by hicksd8; 02-15-2018 at 07:37 AM..
# 14  
Quote:
Originally Posted by hicksd8
Hmmmm.....

Code:
I shared properly NFS. I tryed to mount from another server my NFS folder, and it mounted properly:

but can you also prove that you can access the archive. What access rights are set on the archive? Perhaps, temporarily set to 777?
directory and flar archive has 777 permission.

Code:
 # pwd
/edb4tel/shuhrat
 # ls -l
total 53485552
-rwxrwxrwx   1 nobody   nobody   27371219774 Feb 14 16:05 icr001.flar

Quote:
Try copying the archive to the local system (you can interrupt it once it starts to copy). Also check the access rights on the directory above.
in which directory shoud i place the archive file? cp is working properly

Last edited by 2fat2fly; 02-15-2018 at 08:13 AM..
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #856
Difficulty: Medium
React was created by Jordan Renke, a software engineer at Facebook.
True or False?

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

Featured Tech Videos