Operating System - HP-UX
1752340 Members
5936 Online
108787 Solutions
New Discussion юеВ

Re: Copying Entire Filesystem

 
PVM_2
Occasional Contributor

Copying Entire Filesystem

Hi,

I want to copy entire filesystem.What is the best way.Below is the filesystem details.

/dev/vg52/lvol1 10452992 234547 9579847 2% /usr/sap/PDR/ERS11
/dev/vg55/lvol1 10452992 4659703 5431646 46% /export/sapmnt/PDR
/dev/vg59/lvol1 15695872 212411 14515751 1% /oracle/PDR
/dev/vg58/lvol1 78610432 352803 73366588 0% /oracle/PDR/sapreorg
/dev/vg60/lvol1 78610432 36180 73663753 0% /oracle/PDR/oraarch
/dev/vg61/lvol1 1015808 143007 818257 15% /oracle/PDR/origlogA
/dev/vg62/lvol1 1015808 143007 818257 15% /oracle/PDR/origlogB
/dev/vg63/lvol1 1015808 119119 840653 12% /oracle/PDR/mirrlogA
/dev/vg64/lvol1 1015808 119119 840653 12% /oracle/PDR/mirrlogB
/dev/vg65/lvol1 10452992 3780542 6259357 38% /oracle/PDR/102_64
/dev/vg66/lvol1 38731776 24360584 13473049 64% /export/usr/sap/trans2
/dev/vg67/lvol1 157220864 44116336 112220904 28% /oracle/PDR/sapdata1
/dev/vg68/lvol1 157220864 102165832 54624976 65% /oracle/PDR/sapdata2
/dev/vg69/lvol1 157220864 53894384 102519312 34% /oracle/PDR/sapdata3
/dev/vg70/lvol1 157220864 41032672 115280480 26% /oracle/PDR/sapdata4

......
PVM
4 REPLIES 4
g3jza
Esteemed Contributor

Re: Copying Entire Filesystem

Copy where? Different system?
What will be your source / destination OS?

If the OS is the same, then consider using fbackup/frecover ; scp...
PVM_2
Occasional Contributor

Re: Copying Entire Filesystem

Copy to other system through NFS.Same OS.

Bob_Vance
Esteemed Contributor

Re: Copying Entire Filesystem

You might want to look at

http://h30499.www3.hp.com/t5/System-Administration/copy-a-filesystem-best-solution-local-host-or-remote-host/m-p/4787250#M391453

bv

"The lyf so short, the craft so long to lerne." - Chaucer
klb
Valued Contributor

Re: Copying Entire Filesystem


Through NFS?

Copying the files is one thing, making sure you get a consistent copy is another and potentially a real problem if your intent is to duplicate an Oracle database instance.

These FS's you list appear to be related to an Oracle instance:
oraarch
oralogA/B
mirrlogA/B
sapdata1/2/3/4

Oracle redo logs and datafiles can't just be copied without some preparation at the Oracle database level ( shut down the Oracle instance or set backup mode on the tablespaces ).

Thee thread BV mentioned should give you some pointers to making the copies though.

Hth,

-klb