Hi folks,
I have a filesystem which is 2.6TB big and would like to copy/mirror this filesystem on another volume group.
1) What is the fastest way to copy or mirror it to another filesystem without shutting down production vg ( oracle is using the filesystem )
2) Is there any way to estimate how long it will take to copy/mirror the filesystem if it is required to shutdown Oracle ?
/u03 is the filesystem which has to be copied/moved to another new filesystem
two options which i thought of:
(1) to mirrorvg ie., mirror oraclevg to the new vg but this process will be very slow if ORACLE is running is continuously accessing the filesystem /u03 while mirror process is under way.
(2) shutdown oracle, use copy filesystem command and move it, but need to know how long will it take to move 2.6TB since Oracle cannot be down for more than 10 hours
# lspv
hdisk0 000f4c011b1e8d57 rootvg active
hdisk1 000f4c017d3b0cd9 rootvg active
hdisk2 000f4c01fc5f525f oraclevg active
hdisk4 000f4c01b4e565d1 oraclevg2 active
hdisk3 000f4c01d80cdc0b oraclevg active
# lsvg -l oraclevg
oraclevg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
loglv00 jfs2log 1 1 1 open/syncd N/A
fslv01 jfs2 5178 5178 2 open/syncd /u03
# lsvg -p oraclevg
oraclevg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk2 active 4079 0 00..00..00..00..00
hdisk3 active 1100 0 00..00..00..00..00
#
# lsvg oraclevg
VOLUME GROUP: oraclevg VG IDENTIFIER: 000f4c010000d9000000011dfc87db92
VG STATE: active PP SIZE: 512 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 5179 (2651648 megabytes)
MAX LVs: 256 FREE PPs: 0 (0 megabytes)
LVs: 2 USED PPs: 5179 (2651648 megabytes)
OPEN LVs: 2 QUORUM: 2 (Enabled)
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per VG: 30480
MAX PPs per PV: 5080 MAX PVs: 6
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
[/FONT]
---------- Post updated at 12:30 PM ---------- Previous update was at 07:30 AM ----------
I did little research on the internet and found few documents which showed the recommended procedure
1) either by backup and restore ( which will preserve the file permissions and inode information )
2) cplv
now regarding cplv, no document points out the following and i hope some knows the answer here on the forum
1) can it be used to copy 2.6 TB ? since it is very big filesystem ?
2) will it preserve file permissions and inode information ?
3) what is the transfer/copy speed ? this is important to know since cplv can be only done when the filesystem is unmounted ( not in use ) so 2.6TB takes like 2 days then have to go with another solution like backup and restore.
thanks