11-14-2001
Solaris 7 restore problem
Hi,
I am trying to restore a full system, which I backup with the ufsdump command, in to a different unix box.
I partitioned that box(second one) exactly the same as the first one and install the same version of operation system(solaris 7).
I have backed up the first system with:
<pre>
mt -f /dev/rmt/0cn rewind
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s0
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s3
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s4
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t0d0s5
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t1d0s0
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t1d0s1
ufsdump 0uf /dev/rmt/0cn /dev/dsk/c0t1d0s3
</pre>
and put everything in to same tape.
Below you can see :
<pre>
isgsi01(root)40: df -k
Filesystem kbytes used avail capacity Mounted on
/proc 0 0 0 0% /proc
/dev/dsk/c0t0d0s0 1987399 936298 991480 49% /
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t0d0s3 962571 645814 259003 72% /var
/dev/dsk/c0t0d0s4 962571 766780 138037 85% /home
/dev/dsk/c0t0d0s5 3009327 2066073 883068 71% /u01
/dev/dsk/c0t1d0s0 3009327 2262543 686598 77% /u02
/dev/dsk/c0t1d0s1 3009327 2323693 625448 79% /u03
/dev/dsk/c0t1d0s3 3009327 2938899 10242 100% /u04
swap 2761080 6592 2754488 1% /tmp
</pre>
The problem is that when I try to restore the (root) / and /var
directories the system core dumps and gives me a bus error.
I went through SUN and "ufsrestore procedure for restoring / and /usr" but it says somewhere that I have to unmount the
file system and create a new file system with newfs.
I can NOT do the umount for / or /var.
I get that the / or /var are busy or already mounted.
What can I do for this ?? I am in / directory when I do that.
I use 'ufsrestore srv 7' for example for the /u04 partition
and it works fine. It does the restore without problems.
The same with all the rest apart from /var and /.
Can anyone help please ??
Thank you.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I tried to restore my server with backup tape, but after the restoration complete, install bootblk and edit the vfstab file, i cant boot up my server with the error message can't find /packages. Anyone can help me pls? Thanks!! (1 Reply)
Discussion started by: cybh
1 Replies
2. UNIX for Advanced & Expert Users
Hello All,
I use flar to install servers. I am not sure why it does not restore my hostname.bge0, hostname.bge1, ... from the same server with quad NIC card. Right now, I use a shell script to copy my networking information. Am I doing anything wrong or is flar behaving the way it is suppose... (1 Reply)
Discussion started by: afadaghi
1 Replies
3. UNIX for Dummies Questions & Answers
Hi all, having problem with dump & restore for cloning simple linux system.
The command is : dump -0u -f /temp/var.dump /dev/sda5
But somehow the result displayed:
~~~~~~
dump: ACLs in inode #1250760 won't be dumped: Inappropriate ioctl for device
dump: ACLs in inode #1250761 won't be... (1 Reply)
Discussion started by: mycoolwater
1 Replies
4. Solaris
hi All,
Can anyone help me with the set of commands which are used to restore maybe a sybase database on solaris.. (1 Reply)
Discussion started by: sankasu
1 Replies
5. Solaris
Hi,
Is there a Restore Point on Solaris 8 like windows ? Today I restarted my machine and saw that one entire Directory is missing. Need to restore the lost data :(:( (6 Replies)
Discussion started by: angshuman_ag
6 Replies
6. Solaris
Hope someone can help me here...
I've got to restore an E450 with 300MHz cpus which was running Solaris 2.6 from tape. Regrettably the boot drive has failed.
I've access to the first release of Solaris 2.6 CD's and to a set of Solaris 9 CD's.
I remember that different E450 CPUs needed different... (1 Reply)
Discussion started by: pamplemousse
1 Replies
7. Solaris
Greetings
How can i restore metastat db after a solaris upgrade (9 to 10)?
will it work if i save and restore /etc/vfstab and /etc/lvm/md.cf file?
root@netad# metastat
d35: Mirror
Submirror 0: d38
State: Okay
Submirror 1: d39
State: Okay
Pass:... (2 Replies)
Discussion started by: kashif_islam
2 Replies
8. Solaris
I'm new to utilizing Solaris... especially the old 8 version, but I'm trying to find out if there is a way to create a Flash Archive of a disk that can be restored on a smaller size disk or disk of varying size? (2 Replies)
Discussion started by: scifi_vixen
2 Replies
9. Solaris
Hi!
I want to migrate Sun Fire v240 server (sun4u) with Solaris 10 update 6 to LDOM virtual host (sun4v). I was mount NFS directory from another server in /mnt and did this steps on v240
1) I add to the /var/sadm/system/admin/.platform
PLATFORM_GROUP=sun4v
# cat... (1 Reply)
Discussion started by: pbubentsov
1 Replies
10. UNIX for Beginners Questions & Answers
Hello everybody,
I have a little problem with my mksysb restore. My system: AIX 6100-09-11-1806.
I make mksysb backup of my LPARs by NIM server. I am doing restore tests by NIM server on spare LPAR now. All LPARs were restored allright except for one.
During restore it stops with this... (4 Replies)
Discussion started by: Necronomic
4 Replies
LEARN ABOUT MOJAVE
mkdevalloc
mkdevalloc(1M) System Administration Commands mkdevalloc(1M)
NAME
mkdevalloc - Make device_allocate entries
SYNOPSIS
/usr/sbin/mkdevalloc
DESCRIPTION
The mkdevalloc command writes to standard out a set of device_allocate(4) entries describing the system's frame buffer, audio and removable
media devices.
The mkdevalloc command is used by the init.d(4) scripts to create or update the /etc/security/device_allocate file.
Entries are generated based on the device special files found in /dev. For the different categories of devices, the mkdevalloc command
checks for the following files under /dev:
audio /dev/audio, /dev/audioctl, /dev/sound/...
tape /dev/rst*, /dev/nrst*, /dev/rmt/...
floppy /dev/diskette, /dev/fd*, /dev/rdiskette, /dev/rfd*
removable disk /dev/sr*, /dev/nsr*, /dev/dsk/c0t?d0s?, /dev/rdsk/c0t?d0s?
frame buffer /dev/fb
All entries set the device-minimum and device-maximum fields to the hex representations of ADMIN_LOW and ADMIN_HIGH, respectively. The
device-authorization field is set to solaris.device.allocate, except for the framebuffer entry, where it is set to *. The device-name,
device-type and device-clean fields are set to the following values:
device-name device-type device-clean
audio audio audio audio_clean_wrapper
tape mag_tape_0,1,... st st_clean
floppy floppy_0,1,... fd disk_clean
removable disk cdrom_0,1,... sr disk_clean
frame buffer framebuffer fb /bin/true
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
SEE ALSO
allocate(1), bsmconv(1M), attributes(5)
NOTES
mkdevalloc might not be supported in a future release of the Solaris operating system.
SunOS 5.10 8 Oct 2003 mkdevalloc(1M)