General
cancel
Showing results for 
Search instead for 
Did you mean: 

Sync two mount points in the same system

Srinikalyan
Regular Advisor

Sync two mount points in the same system

Hi,

HP-UX 11iv2
I am looking for a solution to keep two mount points in the same system in sync with each other.
My actual requirement is I need to move one mount point (1TB) to another volume group (for backup purpose)but without an outage (lot of updates happening currently)on the current mount point. After some point in time we will have a minimum outage and use the new MP.
Is it possible by any best method?

Note: I am not looking for BCV solution here.

Thanks,
Srini
6 REPLIES
smatador
Honored Contributor

Re: Sync two mount points in the same system

Hi,
A solution is to use rsync
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/rsync-3.0.6/
Hope it helps
Michal Kapalka (mikap)
Honored Contributor

Re: Sync two mount points in the same system

hi,

if the mount points are based on LVM and are mirrode on LVM, you could split the mirror and mount it under other mount points, and sync.

check this thread :

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1256716597384+28353475&threadId=223050


mikap
Kapil Jha
Honored Contributor

Re: Sync two mount points in the same system

I too think mirroring at LV level is better than rsync.
And whwnever you want split the mirror and mount it on other VG simple :)

BR,
Kapil+
I am in this small bowl, I wane see the real world......
James R. Ferguson
Acclaimed Contributor

Re: Sync two mount points in the same system

Hi Srini:

Have you considered using a JFS snapshot for backup? See:

http://docs.hp.com/en/5992-4616/ch03s04.html#bajcggcd

Regards!

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

Re: Sync two mount points in the same system

Shalom Srini,

Online JFS, described above has a command for splitting a file system and freezing it for update.

This product costs money.

Best method is the one that works for you.

rsync will not work for databases. It will work well for incidvidual files.

mirror/ux also costs and takes time to rebuild mirrors after a split.

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
Srinikalyan
Regular Advisor

Re: Sync two mount points in the same system

I hope this rsync command will be run on different times where the updated changed done on source directory will be copied to dest directory and it will not be replicated continuosly. Am I correct?

Thanks,
Srini