01-14-2017
Yes, if the new disk is the exact same as the existing (but check the number of LBA's as even disks of the same model number can be different sizes) then you could use 'dd' specifying the raw disk 'rdsk' device to copy the whole thing.
However, in my experience, if you want to clone a Solaris 8 system (ufs filesystems) then you might just as well do a disaster recovery (DR) procedure straight onto the second box.
See my post#6 on this thread:
Restoring a system from a backup
for detailed steps.
This, of course, assumes that you are backing up your production box using fssnap/ufsdump to either a tape drive or a NFS remote disk.
Remember that when the restore is complete NOT to boot the second machine on the same network because the node name and the ip address will be identical. You will need to modify those first.
Also, read jlliagre's post#7 which is highly relevant and another method to do it.
Last edited by hicksd8; 01-14-2017 at 01:24 PM..
These 2 Users Gave Thanks to hicksd8 For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows......
dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/????????
Where I have the question marks is the problem.
How do I find out what the... (4 Replies)
Discussion started by: shorty
4 Replies
2. UNIX for Dummies Questions & Answers
I have two drives (scsi) mounted on one server and I need to copy certain files and directories from one drive to the other. Any suggestions :confused: (4 Replies)
Discussion started by: shorty
4 Replies
3. Filesystems, Disks and Memory
Hi
I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies
4. UNIX for Dummies Questions & Answers
Someone gave me a small external SCSI hard drive for my SunOS 5.8 test system. How do I make Unix see the hard drive? (2 Replies)
Discussion started by: FredSmith
2 Replies
5. Solaris
Guys,
I have googled and checked this forum in detail and couldn't find any satisfactory answers for my problem.
I am trying to connect a external SCSI hard Drive(Sea Gate) to a Ultra 80.
I connected it powered it up and at OK prompt did : boot -r
system comes up and complains about not... (6 Replies)
Discussion started by: ajnabi
6 Replies
6. Programming
Hi All,
I am new to Linux and i need your for a program which makes the exact copy of the running process. I have got some codes but it only works for the first command and will not work for subsequent commands. Means it works for "ps" but will not work for "ps u". I have changed the code to... (1 Reply)
Discussion started by: subhash007
1 Replies
7. Solaris
Hi, i'm trying to install a MO Disk Drive Sony model: SMO-f541, to read a 2.6gb Magneto Optical Disk, I install Solaris 10 in a x86 machine with these specifications:
Desktop Board Intel*D946GZIS
Intel core 2 duo 4300, 80ghz
Ram 2038
hard disk 250 gb
I have a PCI SCSI card AHA-2940UW,
At the... (0 Replies)
Discussion started by: Jevivre
0 Replies
8. Solaris
I have an old Pentium 4 PC running Solaris 9. The system has two 40gig IDE hard drives. I removed the drives and, using a hard disk duplicating device, "cloned" both drives. I installed the new drives in the PC. The system boots but I get a message that X-Term will not run on the console. If I... (4 Replies)
Discussion started by: ddogarmyman
4 Replies
9. SCO
OK group, it's been 12 years since I worked with SCO. I need some direction here:
SCO Openserver 5.07
I have a server with a bad motherboard. I have moved the SCSI adapter and hard drive to another computer. This new server has different hardware so I must install the chipset drivers for... (1 Reply)
Discussion started by: jscholz
1 Replies
10. Shell Programming and Scripting
My code is this, what I'm trying to accomplish is to make a list of all pdf documents in my computer and then copy all of those documents to my external hard drive in a directory
mkdir /Volumes/Hardrive-1/allpdf
echo "File Locations" > /Volumes/Hardrive-1/allpdf/FileLocations.txt
mdfind pdf... (2 Replies)
Discussion started by: darpness
2 Replies
LEARN ABOUT MOJAVE
installboot
installboot(1M) installboot(1M)
NAME
installboot - install bootblocks in a disk partition
SYNOPSIS
installboot bootblk raw-disk-device
The boot(1M) program, ufsboot, is loaded from disk by the bootblock program which resides in the boot area of a disk partition.
The ufs boot objects are platform-dependent, and reside in the /usr/platform/platform-name/lib/fs/ufs directory. The platform name can be
found using the -i option of uname(1).
The installboot utility is a SPARC only program. It is not supported on the architecture. users should use installgrub(1M) instead.
bootblk The name of the bootblock code.
raw-disk-device The name of the disk device onto which the bootblock code is to be installed; it must be a character device which is read-
able and writable. Naming conventions for a SCSI or IPI drive are c?t?d?s? and c?d?s? for an IDE drive.
Example 1: Installing UFS Boot Block
To install a ufs boot block on slice 0 of target 0 on controller 1 of the platform where the command is being run, use:
example# installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk
/dev/rdsk/c1t0d0s0
/usr/platform/platform-name/lib/fs/ufs
directory where ufs boot objects reside.
/platform/platform-name/ufsboot
second level program to boot from a disk or CD
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
od(1), uname(1), boot(1M), init(1M), kadb(1M), kernel(1M), monitor(1M), reboot(1M), rpc.bootparamd(1M), init.d(4), attributes(5)
WARNINGS
The installboot utility fails if the bootblk or openfirmware files do not exist or if the raw disk device is not a character device.
11 Apr 2005 installboot(1M)