Sponsored Content
Operating Systems AIX 2.6TB filesystem to be copied or moved to another FS ? Post 302481575 by filosophizer on Saturday 18th of December 2010 03:30:45 PM
Old 12-18-2010
2.6TB filesystem to be copied or moved to another FS ?

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
Code:
 
# 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




---------- 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
 

6 More Discussions You Might Find Interesting

1. Solaris

Filesystem - error when extend the filesystem

Hi all, currently , my root filesystem already reach 90 ++% I already add more cylinder in the root partition as below Part Tag Flag Cylinders Size Blocks 0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300 1 swap wu 1 - ... (11 Replies)
Discussion started by: SmartAntz
11 Replies

2. Solaris

Check copied file

Hi all, If i wanted to copy file within different folders or different servers, how do i determine the copied file is absolutely correct :confused: Is it using cmp and chksum command enough? Anyway that i can make further checking? Thanks in advance for reading & anyone who reply the... (7 Replies)
Discussion started by: beginningDBA
7 Replies

3. UNIX for Dummies Questions & Answers

Using sudo scp -r – can't get everything copied though

I want to copy a folder and all its contents of ~700GB from a computer to another. I've tried sudo scp -r directory/ admin@host:directory but the result is that the copied folder is about 2GBs smaller than the original. I checked the shell for errors and found some "file doesn't exist" errors.... (2 Replies)
Discussion started by: MJH
2 Replies

4. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

5. Solaris

Solaris Filesystem vs. Windows FileSystem

Hi guys! Could you tell me what's the difference of filesystem of Solaris to filesystem of Windows? I need to compare both. I have read some over the net but it's so much technical. Could you explain it in a more simpler term? I am new to Solaris. Hope you help me guys. Thanks! (4 Replies)
Discussion started by: arah
4 Replies

6. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies
All times are GMT -4. The time now is 02:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy