Clone scsi disc solaris 8


 
Thread Tools Search this Thread
Operating Systems Solaris Clone scsi disc solaris 8
# 1  
Old 08-26-2009
Clone scsi disc solaris 8

I have a SunOS 5.8 Generic_108528-29 sun4u sparc SUNW,UltraAX-i2, i have 2 scsi disk, the first with the S.O. and the second free.

I read many in the forum about this: with single user, miniroot, dd, flarcreate, ufsdump and ufsrestore.

Which is the best metod?

If i clone the disk with any of this metods, then only mount the disk or i need anything more?

Tkns.

PS: I'm sorry for my english and my last post in spanish.

Last edited by tirher; 08-26-2009 at 09:48 AM..
# 2  
Old 08-26-2009
Assuming both disks are same size, replicate partition table using prtvtoc and fmthard
Code:
prtvtoc /dev/rdsk/cXdXd0s2  | fmthard -s - /dev/rdsk/cXtXd0s2

This will create same disk partition on second disk.
My choice would be to use ufsdump. If you plan to boot from second disk, install boot loader on second disk using installboot command.
Code:
installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk  /dev/rdsk/cXtXd0s0

# 3  
Old 08-26-2009
The other option which can also used in this case is Solaris Live update
# 4  
Old 10-20-2009
Now when i try to install a secondary scsi disk to clone (c1t1d0). I have the next problem, when do format i get the next:

Code:
# format
Searching for disks...Oct 20 22:50:31 beto scsi: WARNING: /pci@1f,0/pci@1/scsi@8/sd@1,0 (sd1):
Oct 20 22:50:31 beto    offline
done

AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@1f,0/pci@1/scsi@8/sd@0,0
       1. c1t1d0 <drive type unknown>
          /pci@1f,0/pci@1/scsi@8/sd@1,0
Specify disk (enter its number):1

AVAILABLE DRIVE TYPES:
        0. Auto configure
        1. Quantum ProDrive 80S
        2. Quantum ProDrive 105S
        3. CDC Wren IV 94171-344
        4. SUN0104
        5. SUN0207
        6. SUN0327
        7. SUN0340
        8. SUN0424
        9. SUN0535
        10. SUN0669
        11. SUN1.0G
        12. SUN1.05
        13. SUN1.3G
        14. SUN2.1G
        15. SUN2.9G
        16. Zip 100
        17. Zip 250
        18. SUN36G
        19. other
Specify disk type (enter its number): 18 <--- the disk: 36 gb
selecting c1t1d0
[disk unformatted]

When i try to make a format:

Code:
format> format
Ready to format.  Formatting cannot be interrupted.
Continue?
Beginning format. The current time is Tue Oct 20 23:03:21 2009

Reserve failed
failed

I don't know why i can't format the second disk. Somebody help me?
# 5  
Old 10-21-2009
go to /dev/dsk and dev/rdsk,
rm c1t1d*
devfsadm -Cv -c disks
then do format, make sure you see the second disk online, then choose the disk, choose option 0-Autoconfigure
# 6  
Old 10-21-2009
Thanks, but when i run:

# devfsadm -Cv -c disks

get the next message:

Oct 21 20:55:19 beto smt: smt0: nf FDDI driver is not active. Initialization of this driver cannot be completed.

And when i run format -> Autoconfigure get:

Specify disk type (enter its number): 0
Auto configure failed

What can i do?
# 7  
Old 10-22-2009
please provide the output
echo|format
Your disk should spin up before you can do anything.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Need to Clone Solaris OS to another disk

Hi, I am trying to clone the hard disk image of Solaris OS on one disk to another disk. After some googling I found that there is a command "dd" to achieve this. However there is a condition to use the dd command, that the disk geometry of both the disks (source and target disks) should... (5 Replies)
Discussion started by: rajujayanthy
5 Replies

2. Solaris

Newly relabelled disc unable to initialize to Solaris 8 login - please help

We are having a problem with initializing Solaris 8 installed on a Sunblade 1500 after having cloned the hard disc. (The cloning process was done in a windows environment. Not a UNIX environment.) Immediately after the cloning process neither hard disc would boot until the format label... (10 Replies)
Discussion started by: DR_RALT
10 Replies

3. Solaris

Solaris 11 - how to backup and restore system disc

I have installed Solaris 11 Express on my machine and now I am wondering what is the best way to backup (to another hard disc) and restore the system hard disc content. The backup should to be done every night using a script launched by cron and all previously done backups should be available to... (8 Replies)
Discussion started by: RychnD
8 Replies

4. Solaris

Backup / Clone Solaris Zone Issue

Hi, I'd like to discuss the subject of backing up / cloning Solaris zone. I was trying to clone zone A to zone B (Solaris 10 11/06: Cloning a Non-Global Zone on the Same System (System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones)). The first test... (7 Replies)
Discussion started by: aixlover
7 Replies

5. Solaris

Solaris 8 Clone - Help

I've got two drives in the same Sun server and I've been cloning the boot drive to the secondary drive by using both ufsdump/ufsrestore and the dd command sucessfully. When I try and boot the cloned drive I get the following error: WARNING - /usr/sbin/fsck not found. Most likely the mount... (10 Replies)
Discussion started by: johnj1965
10 Replies

6. Solaris

Ultra 10 - Copying Files From Disc After Booting Up With Recovery Disc?

Hello, I'm still learning unix and I have what is probably a simple question but I can't seem to find the question to. I have an Ultra 10 Sparc Server running solaris 8 and the drive may have crashed (I hope not). Currently, it appears some files in the /etc folder are missing. I have a backup... (1 Reply)
Discussion started by: ideffects
1 Replies

7. Solaris

disc clone - using Ufsdump / ufsretore

I am attempting to clone the hard drive of an old (and delicate) SUN Sparc 5 Station using Solaris 7 operating system, an Informix Database and application software. I have successfully copied all six partitions using Ufsdump to DAT tape. However, when I attempt to restore the system using the... (1 Reply)
Discussion started by: RAILWAY
1 Replies

8. Solaris

clone solaris

I have a Sun Solaris 9 and I would like to clone the Operating System from a sun4u Sun Fire 480R machine to a Sun Fire 280R machine. The disk is the same size, the 480R has no space disk slot to the 280R disk for mirrioring, i have no external disk, I am not allowed to take the machine down. ... (1 Reply)
Discussion started by: hassan1
1 Replies

9. UNIX Desktop Questions & Answers

How do I clone Solaris 7 disk

could anyone give me a general idea of how i may clone a 2 Gig disk running Solaris 7 on it to another disk of the same size? currently, this system only has one disk in it though. i do have the ability to hook up another disk via SCSI. i have been told i need to boot to "miniroot" to run... (9 Replies)
Discussion started by: obosha
9 Replies

10. UNIX for Advanced & Expert Users

SCSI Card in Solaris 8

HI, I am trying to install Symbios SCSI PCI adapter in Ultra10 but unable to configure it. Getting following errors genunix: NOTICE: glm0: fault detected in device; service still unavailable genunix: NOTICE: glm0: Symbios PCI device (1000,3) not supported. Anyone has an idea, how to resolve... (1 Reply)
Discussion started by: s_aamir
1 Replies
Login or Register to Ask a Question