Operating System - HP-UX
1834935 Members
2409 Online
110071 Solutions
New Discussion

Re: How to break the mirror

 
SOLVED
Go to solution
csreenivas
Frequent Advisor

How to break the mirror

Actually it is DR server and there is no backup but due to some problem server has been rebooted and some files in /home/root were missing(not deleted I am sorry for confusion). I have mirrors. Can anyone of you help us how to break the mirror and how to mount it so that i can use the /home/root or any other solution for this.Thank You.
I am new to HPUX.
8 REPLIES 8
James R. Ferguson
Acclaimed Contributor

Re: How to break the mirror

Hi:

This appears to be the same question you asked yesterday:

https://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1127811

Regards!

...JRF...
Steven E. Protter
Exalted Contributor
Solution

Re: How to break the mirror

Shalom,

If the mirror was consistent when the files went missing then they are missing on all mirrors.

If the mirrors were broken before the missing files became missing then mount the copy that was broken up.

Sounds to me though like your are SOL, the files are gone forever.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Patrick Wallek
Honored Contributor

Re: How to break the mirror

No, because it is NOT POSSIBLE!!!!

Mirroring does not protect you from user mistakes, like deleting files. Mirroring is NOT a substitute for regular backups.

Mirroring is designed to protect from hardware failures (a disk drive failing).

You may not like the answers you got yesterday, but they are accurate.

You must face the reality that if you do not have any backups of your data your almost certainly out of luck.
John Collier
Esteemed Contributor

Re: How to break the mirror

I have no idea why I am chiming in on this. After all, you have already heard from many people of Olympic ranks here who obviously have much more knowledge than I do.

I guess the best I can do here is to point you to a few references online to try to get you to understand what mirroring actually is. A quick Google search on your part would bring you back much more information than I will provide here, though.

Start with these links:
http://www.webopedia.com/TERM/D/disk_mirroring.html
http://en.wikipedia.org/wiki/Disk_mirroring
http://www.bitpipe.com/rlist/term/Disk-Mirroring.html

The lists go on and on, but all the information points to the same information you have already received: A mirror is simply a way to protect you from HARDWARE failure. It does NOT protect you from data loss for ANY other reason.

If you had a Hard Disk Drive fail, this will help you. If you had ANYTHING else happen, your ONLY hope is a backup.

If you had no hardware failure and you had no backup, you have NO other options to restore the lost data.

Does it all make sense now?
"I expect to pass through this world but once. Any good, therefore, that I can do, or any kindness that I can show to any human being, let me do it now. Let me not defer or neglect it, for I shall not pass this way again." Stephen Krebbet, 1793-1855
csreenivas
Frequent Advisor

Re: How to break the mirror

Is it okay if I can copy the missing home/root files from other similar server.
If it is ok can you suggest me which files to copy and how to proceed for that?
A. Clay Stephenson
Acclaimed Contributor

Re: How to break the mirror

First, there shouldn't even be a /home/root directory because root's home directory should be in the / filesystem (by default, /, but preferably /root. There is no way for anyone to say what should be in this directory because /home/root is non-standard. Normally, you want any of root's private files to be available in single-user when only / is mounted. All you really need is .profile in root's home directory plus any local scripts that .profile might source.
If it ain't broke, I can fix that.
DCE
Honored Contributor

Re: How to break the mirror


As Clay stated, root's home directory should not be on a mount point (iif it is is, it will not be available in single user mode, as an example)

That being said, yes you can copy files from the root users directory on another system to one the one with problems.

A couple of options
use tar to copy all of the info to one file, ftp the file over to the problem server, and untar it

another option - if the number of files are managable - simply ftp them over.
csreenivas
Frequent Advisor

Re: How to break the mirror

Thank You.We have copied the .profile from other server.