10-16-2007
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 method below:-
1. boot cdrom -s (load in single user mode Solaris 7)
2. Load tape and confirm status using 'mt status'
3. mount /dev/dsk/c0t0d0s0 /mnt
4. cd /mnt
5. ufsrestore rvf /dev/rmt/0 /dev/rdsk/cntndnsn (n=0-6 starting at 0)
6. rm restoresymtable
7. cd /
8. umount /mnt
9. fsck /dev/rdsk/cntndnsn (for each slice 0-6)
10. installboot /usr/platform/'uname -i'/lib/fs/ufs/bootblk /dev/rdsk/c0t0d0s0
the machine attempts to boot and issues 'skipping system dump - no dump device configured' then resets then attempts to boot again. I have also had 'file synching problems'. Any suggestions?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to try using Ufsdump for backups .
The man pages state that the file systems should be inactive or be in the unmounted state .
But for that system should be in single User mode.
My query is that can we perform Ufsdump in run-level 3 ?
And if no should I have to reboot it in Single user... (3 Replies)
Discussion started by: DPAI
3 Replies
2. UNIX for Dummies Questions & Answers
hi
i would like to backup my OS
what is the exact command to do?
beside backup to tapes can i back up to a directory in another server?
will the command be the same?
thanks. :confused: (4 Replies)
Discussion started by: legato
4 Replies
3. Solaris
I want to clone a disk, i have not done this yet, i think dd and ufsdump | ufsrestore are the most common two options i see documented on the internet.
Which one is better? pro's & kons?
Tnx! (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
4. Solaris
Hi,
I want to how to take backup of File system From Disk to Disk using ufsdump?
Wheather we can take the backup of root file system from one disk to another if tape drive is not available? wheather it is reliable to restore root file system? (2 Replies)
Discussion started by: manoj.solaris
2 Replies
5. UNIX for Dummies Questions & Answers
I ran this dump (as root) and got the following.............
# ufsdump 0f /dev/rmt/0n /
DUMP: Writing 32 Kilobyte records
DUMP: Date of this level 0 dump: Tue 11 Dec 2007 06:07:35 AM PST
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c2t1d0s0 (gambler:/) to... (1 Reply)
Discussion started by: shorty
1 Replies
6. Solaris
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. UNIX for Dummies Questions & Answers
Hi,
I have 5 soraris boxes and i am trying to backup all to SAN.Which backup is more suitable tar or ufsdump? Also pls mention what are the important folders i need to back up.
Thanks (3 Replies)
Discussion started by: solaris5.10
3 Replies
8. Solaris
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... (6 Replies)
Discussion started by: tirher
6 Replies
9. Solaris
Experts,
Before patching am advised to take backup :
so am going with:
ufsdump -0uf /dev/rmt0 / ---> to take the whole / bkp to tape.
some servers have /var in diff slice, In this case whether i need to take backup of /var also in tape?
ufsdump -ouf /dev/rmt0 /var ---> to take... (3 Replies)
Discussion started by: fizan
3 Replies
10. Solaris
Hello, i have a solaris 11 sparc64 and Im trying to do a backup to tape. This is the display:
# ufsdump 0uf /dev/rmt/0cbn /dev/rdsk/c2t0d0s2
DUMP: Date of this level 0 dump: February 27, 2013 01:58:23 PM CET
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c2t0d0s2 to... (2 Replies)
Discussion started by: Ferch13
2 Replies
LEARN ABOUT OPENDARWIN
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)