?
Solved

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

Posted on 2008-10-04
5
Medium Priority
?
1,655 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
si_shamil earned 1400 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

770 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