CP to copy file is "stuck"


 
Thread Tools Search this Thread
Operating Systems AIX CP to copy file is "stuck"
# 1  
Old 07-10-2006
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  
Old 07-10-2006
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  
Old 07-10-2006
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  
Old 07-10-2006
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  
Old 07-10-2006
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  
Old 07-10-2006
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
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. Solaris

Solaris 5.10 "Move Pointer" stuck

Hey there, I joined this forum just now cause I need help with an old SUN machine at work. I work on a helpdesk and we use a SOLARIS 5.10 OS. Every once in a while we will try to move one of our windows out of the way to make room on the desktop, and sometimes the mouse doesn't release what we... (7 Replies)
Discussion started by: TRex_2005
7 Replies

3. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

4. IP Networking

Stuck at "bringing up interface eth0:"

Server is stuck at "Stuck at "bringing up interface eth0:"" after i hard reset the server I have IPMI access, please help me diagnose the cause if you can :( (0 Replies)
Discussion started by: postcd
0 Replies

5. UNIX for Advanced & Expert Users

Processes on FreeBSD are stuck in "pipewr" state

Hi Experts, I am executing "svn" checkout command through my java code on a freeBSD machine. SVN checkout gets started , but when I run "top" command on my freebsd machine, I have observed that "svn" processes are stuck in "pipewr" state. Any pointer for this problem? Thanks, akash (0 Replies)
Discussion started by: akash.mahakode
0 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. AIX

"fuser -c -k /XXX/XXXXXXX" Fails and stuck on AIX 6100-05-01-1016

Hi I was wondering if anybody has come across in a failure of fuser command. We have a backup script that is: fuser -c -k /XXX/XXXXXXX sync;sync umount /XXX/XXXXXXX/ backup -0 -f /dev/rmt0.1 -u /dev/XXXXXXXlv mount /XXX/XXXXXXX/ sync;sync The script is called from crontab via an... (2 Replies)
Discussion started by: ggovotsis
2 Replies

8. Solaris

Printer Entries stuck "finished printing"

On Solaris 8, when I do a lpstat -o: I have tried cancel 140828p-16974, but the entries remain New prints to this printer and others work successfully. Can anyone suggest how to get rid of these entries. Thanks (2 Replies)
Discussion started by: pmm
2 Replies

9. AIX

boot process stuck on "Welcome to AIX" banner

Good afternoon, I'm currently working on an IBM 9110-510, with an AIX 6.1 on it. Currently, I've put an HyperTerminal on the machine vty0. Folowing the procedure given by a support guy(§details), I'm able to get to the AIX banner ... (6 Replies)
Discussion started by: nilleb
6 Replies
Login or Register to Ask a Question