Operating Systems Solaris How to backup (create image) SunOS 5.10 sparc? Post 303012778 by 2fat2fly on Friday 9th of February 2018 01:46:35 AM
Quote:
Originally Posted by hicksd8
You have mirrored UFS filesystems and you want to clone the system.

How much Solaris experience do you have?

I have recently given extensive advice/assistance to another member wanting to clone a Solaris 9 system and this will equally apply to Solaris 10.

So read these threads first and post any questions you have. How easy this will be for you will depend on your prior knowledge.


Park yourself beside a coffee machine and keep reading. Search this forum for your further questions and post back here if you can't find the answers.
Dear hicksd8. Thank u very much for ur efforts to help me! Actually I am a newbee in SunOS.

Even more, I have simple problems with mounting an external hdd to SunOs.

I've connected removeble NTFS 500gb hdd:
Code:
 # rmformat -l
Looking for devices...
     1. Volmgt Node: /vol/dev/aliases/rmdisk0
        Logical Node: /dev/rdsk/c1t0d0s2
        Physical Node: /pci@1e,600000/pci@0/pci@1/pci@0/usb@1c,3/storage@1/disk@0,0
        Connected Device: WDC WD50 00AZLX-08K2TA0   0107
        Device Type: Removable

trying to mount it:
Code:
mount -F ntfs /dev/dsk/c1t0d0s2 /mnt/usb
mount: Operation not applicable to FSType ntfs

ok, that makes sense...
Trying to format it to UFS:

Code:
 # newfs /dev/rdsk/c1t0d0s2
/dev/rdsk/c1t0d0s2: Device busy

hm...ok... trying to clear the old MS cruft:

Code:
 # dd if=/dev/zero of=/dev/rdsk/c1t0d0 bs=2048 count=10
10+0 records in
10+0 records out

 # rmformat -F long /dev/rdsk/c1t0d0s2
Formatting will erase all the data on disk.
Do you want to continue? (y/n)y

ok, nice...lets try again:
Code:
 # mkfs -F pcfs /dev/rdsk/c1t0d0s2:c
/dev/rdsk/c1t0d0s2: Device busy

 # newfs /dev/rdsk/c1t0d0s2
/dev/rdsk/c1t0d0s2: Device busy

Code:
# fdisk /dev/rdsk/c1t0d0
fdisk: /dev/rdsk/c1t0d0 must be a raw device.

 # fdisk /dev/rdsk/c1t0d0s2
fdisk: Cannot open device /dev/rdsk/c1t0d0s2.

 # fdisk -B /dev/rdsk/c1t0d0s2
fdisk: Cannot open device /dev/rdsk/c1t0d0s2.

# fdisk -W - /dev/rdsk/c1t0d0s2
fdisk: Cannot open device /dev/rdsk/c1t0d0s2

fdisk command does not work as well. says, that I need a raw device


ok, wanna to create slices:

Code:
# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0
       1. c0t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0
       2. c0t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
          /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@2,0
       3. c0t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
          /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@3,0
Specify disk (enter its number):

it doesnot show my external hdd


plz, help...
I feel so helplessSmilie

Last edited by 2fat2fly; 02-09-2018 at 05:04 AM..
 
Test Your Knowledge in Computers #184
Difficulty: Easy
Less than 4% of those surveyed at UNIX.com indicated that csh was their most useful shell.
True or False?

7 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

Featured Tech Videos

All times are GMT -4. The time now is 07:29 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy