The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
"sed" to check file size & echo " " to destination file jockey007 Shell Programming and Scripting 7 04-28-2009 02:08 AM
cannot copy file using scp when filename has ":" kiranreddy1215 Shell Programming and Scripting 4 02-19-2008 08:20 AM
Development Releases: Linux Mint 4.0 Beta "Fluxbox", 4.0 Alpha "Debian" iBot UNIX and Linux RSS News 0 01-04-2008 03:00 PM
Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" Lokesha UNIX for Dummies Questions & Answers 4 12-20-2007 01:52 AM
copy "cp" command how distinquish upper/lower case bobk544 UNIX for Dummies Questions & Answers 1 09-17-2007 11:46 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-10-2006
mcubitt mcubitt is offline
Registered User
  
 

Join Date: May 2005
Posts: 6
CP to copy file is "stuck"

For some reason, when I attempt to copy a file, using cp, from one location to another the cmd is stuck (or taking an unusually long time).

Usually copying a 1 GB file will take 3-4 mins, so far it's at 11 mins and yesterday was stuck for several hours.

Is there a way I can see WHY or WHAT is going on?

Thanks
  #2 (permalink)  
Old 07-10-2006
mcubitt mcubitt is offline
Registered User
  
 

Join Date: May 2005
Posts: 6
The AIX screen:

rm: Removing /oracledata/IFSP/ifsapp_archive_data01.dbf
rm -fe /oracledata/IFSP/control01.ctl
rm -fe /oracledata/IFSP/control03.ctl
cp -p /ifsdoc/Backup/BackupofIFSL/oracledata/IFSL/ifsapp_archive_data01.dbf /oracledata/IFSP/ifsapp_archive_data01.dbf

The file is about 1GB.
  #3 (permalink)  
Old 07-10-2006
mcubitt mcubitt is offline
Registered User
  
 

Join Date: May 2005
Posts: 6
I did a test.

I FTP'ed a 6MB file to /oracledata/IFSP and it took about 15-20 seconds. Copying the same file to any other filesystem on the same server took a second.

I also noticed that the file I was copying (the 1GB file) was actually copying, very slowly. 53MB in 30 minutes.

Is there some chkdsk kind of thing I can perform. Note, /oracledata also houses the live, IFSL folder which is "in use".

Thanks
  #4 (permalink)  
Old 07-10-2006
mcubitt mcubitt is offline
Registered User
  
 

Join Date: May 2005
Posts: 6
I think this is the problem:

/dev/redo1_lv -- /redolog1 jfs2 32768000 rw yes
no
/dev/redo2_lv -- /redolog2 jfs2 32768000 rw yes
no
/dev/archive_lv -- /archivelogs jfs 65536000 rw yes
no
/dev/oradata_lv -- /oracledata jfs2 405536768 cio,rw yes
no
/dev/oraindex_lv -- /oracleindex jfs2 305659904 rw ye
s no
/dev/ifsdoc_lv -- /ifsdoc jfs 403701760 rw yes
no


The CIO is known to cause performance issues when copying at OS level.

We are not sure how it got set on, but how can we turn it off!!!
  #5 (permalink)  
Old 07-10-2006
sprellari sprellari is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 49
You can disable this Concurrent IO option by using smitty jfs2, go to change /show ... locate your file systems and remove the cio from Mount options. You can also edit the /etc/filesystems by hand to remove this option from the stanza in question. Remount of /oracledata is required for changes to take effect.

The only problem here is Oracle performance. By using cio option on the mountpoint the databases performance is greatly increased. If you choose to change this configuration you migth want to look in to tuning vmo parameters to decrease the degree of file system buffers used by the system.
  #6 (permalink)  
Old 07-10-2006
mcubitt mcubitt is offline
Registered User
  
 

Join Date: May 2005
Posts: 6
Thank you Spell - though it was switched on accidentally (or mysteriously).

We were running without it since the last time we had it ON, with JFS2, we lost a filesystem totally - which was not a great position to be in!

The os commands "cp" for example run incredibly slow (unacceptably so) although perhaps Oracle is faster. (Can't tell at the moment - since users only moan when it's slow, not parise when it's fast!)

I will unmount, change, remount I think!

Cheers
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:41 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0