Solved

flarcreate / flash archive backup of root (that's SDS/metadevice)

Posted on 2008-10-04
5
1,638 Views
Last Modified: 2013-12-27
Hi,

I would like to take "flar create" of the root partition but "df -k" showed it's
an "/dev/md/..."  metadevice.

Would it work?  Any precautions when doing recovery/restore?

Suppose I destroy the root metadevice & just want to restore the flash
archive to a simple disk partition for booting up, would this work (I
don't mind losing the metadevice mirroring/RAID features & replace
with a simple disk partition)
0
Comment
Question by:sunhux
  • 3
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
si_shamil earned 350 total points
ID: 22642540
A problem will occur when recovering operating systems that had been mounted as metadevices. This was because the image created included all the metadevice settings and configuration files. After the restore, all those settings and configuration files were still in the same places. If you do not remove them manually, you will have problems booting the machine.

To remove those metadevice entries, you can boot the machine from a CD, mount the root file system as /a, and then delete MDD root info and MDD database info in the /etc/system file. Also, delete the entries in /etc/lvm/md.cf and mddb.cf files.

it's preferable to remove the metadevice before you create the archive.
0
 

Author Comment

by:sunhux
ID: 22643547
What about a Veritas encapsulated root - do you know how to do it.

This is what I have on one of our sun server (sorry I'm completely green to VxFs) :

df -k /
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/vx/dsk/rootvol  5043518 4711858  281225    95%    /


If I don't take "flar create", would taking ufsdump of root make things easier for
root metadevices (or VxFs encapsulated root)?     So in the event disk crashed
during relocation, we simply mount the replaced disk (without the VxFs or SDS),
do "ufsrestore" & then do "installboot from the CD" - can't remember the full
installboot command but appreciate if anyone can provide me here

0
 
LVL 5

Expert Comment

by:si_shamil
ID: 22643559
I don't think that ufsdump/ufsrestore will do the job here, these utilities intended to backup files to the whole system.
0
 

Author Comment

by:sunhux
ID: 22643882
You may want  to read the link below & give me your views again :

www.sunmanagers.org/pipermail/sunmanagers/2001-June/004650.html

0
 
LVL 5

Expert Comment

by:si_shamil
ID: 22643914
I never did this kind of imaging with ufsdump. But it looks like from the link that it will work.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now