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 DEBIAN
device_maps
device_maps(4) File Formats device_maps(4)
NAME
device_maps - device_maps file
SYNOPSIS
/etc/security/device_maps
DESCRIPTION
The device_maps file contains access control information about each physical device. Each device is represented by a one line entry of the
form:
device-name : device-type : device-list :
where
device-name This is an arbitrary ASCII string naming the physical device. This field contains no embedded white space or non-
printable characters.
device-type This is an arbitrary ASCII string naming the generic device type. This field identifies and groups together devices
of like type. This field contains no embedded white space or non-printable characters.
device-list This is a list of the device special files associated with the physical device. This field contains valid device
special file path names separated by white space.
The device_maps file is an ASCII file that resides in the /etc/security directory.
Lines in device_maps can end with a `' to continue an entry on the next line.
Comments may also be included. A `#' makes a comment of all further text until the next NEWLINE not immediately preceded by a `'.
Leading and trailing blanks are allowed in any of the fields.
The device_maps file must be created by the system administrator before device allocation is enabled.
This file is owned by root, with a group of sys, and a mode of 0644.
EXAMPLES
Example 1: A sample device_maps file
# scsi tape
st1:
rmt:
/dev/rst21 /dev/nrst21 /dev/rst5 /dev/nrst5 /dev/rst13
/dev/nrst13 /dev/rst29 /dev/nrst29 /dev/rmt/1l /dev/rmt/1m
/dev/rmt/1 /dev/rmt/1h /dev/rmt/1u /dev/rmt/1ln /dev/rmt/1mn
/dev/rmt/1n /dev/rmt/1hn /dev/rmt/1un /dev/rmt/1b /dev/rmt/1bn:
FILES
/etc/security/device_maps
SEE ALSO
allocate(1), bsmconv(1M), deallocate(1), dminfo(1M), list_devices(1)
NOTES
The functionality described in this man page is available only if the Basic Security Module (BSM) has been enabled. See bsmconv(1M) for
more information.
SunOS 5.10 16 Jan 2001 device_maps(4)