Solved

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

Posted on 2008-10-04
5
1,648 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Where to get php 5.6 for AIX 7.1? 5 147
Searching File Names and Eliminating Duplicates in Linux 4 85
Access_log 17 183
Adding a continue option in a script 9 75
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.:

732 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