Copy operation incomplete


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Copy operation incomplete
# 1  
Old 05-31-2012
Copy operation incomplete

I am logged into AIX 6.1 as a root user. I tried copying about 190GB of data to a different folder.

Code:
cp -R /u01/data/scope /CY/backup

I got the message:
Code:
cp: Requested a write of 4096 bytes, but wrote only 3584.

When the copy operation completed, I checked the /CY/backup/scope folder and found that it contains 187 GB (out of the 190 I set to copy).

How can I get all 190Gb copied?

Last edited by Scrutinizer; 05-31-2012 at 11:56 AM.. Reason: code tags
# 2  
Old 05-31-2012
Do you have the space?
# 3  
Old 05-31-2012
Googling this error message suggests some ideas:
1) Source filesystem contains a files larger than 2Gb and target filesystem does not allow large files.
2) Check ulimit.
3) Blown kernel parameter.

Please post the full error message including the IBM message number.

If the issue is related to the sheer number of files, you may get more joy with "find" piped to "cpio" (there are examples in both the "find" and the "cpio" man pages).
# 4  
Old 05-31-2012
yes, I have space.

I've set the ulimit to -1 and re-initiated the copy.. Will come back with an update.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Copy last few lines of a file, perform math operation and iterate further

Hi, I am trying to generate a data of following order: 4 0 1 642 643 4 642 643 1283 1284 4 1283 1284 1924 1925 4 1924 1925 2565 2566 4 2565 2566 3206 3207 4 3206 3207 3847 3848 4 3847 3848 4488 4489 4 4488 4489 5129 5130 ---------------------- 4 1 2 643 644 4 643 644 1284... (6 Replies)
Discussion started by: SaPa
6 Replies

2. UNIX for Dummies Questions & Answers

Delete incomplete data

Hi all, Please help with the following example. I want to keep all people in the data, who at least have Firstname or Lastname or both and at least 1 row of Details. So, Person4 lacking both Firstname and Lastname will be deleted, Person5 with no Details will be deleted. Firstname,Lastname... (3 Replies)
Discussion started by: ritakadm
3 Replies

3. UNIX for Dummies Questions & Answers

Help with incomplete Code

Hello, Since i am new in shell scripting, i need some help from you guys. :rolleyes: I am trying to implement an automata that reflects the attached photo.. The main idea behind is to take an array of (0 & 1)s from the user and terminate it by "end". Then, the string is send to the function... (1 Reply)
Discussion started by: Geekie
1 Replies

4. Shell Programming and Scripting

Incomplete last line

I need help with appending the last line to the file only if the last line is incomplete. I tried awk 1 filename > new_filename but it appends to every file and I only want to append to the file if the last line is incomplete (3 Replies)
Discussion started by: smee
3 Replies

5. Emergency UNIX and Linux Support

Logic for file copy operation

Hi, i need to copy contents from source to destination with a few conditions, Please helpme out. Sample input file $>cat testfile.txt /a/b/c/d | /e/f/g/d (d can be either a file or directory) my conditions are: check if destination is valid and if its a file or directory if its a... (5 Replies)
Discussion started by: raghu_shekar
5 Replies

6. Shell Programming and Scripting

Column operation : cosne and sine operation

I have a txt file with several columns and i want to peform an operation on two columns and output it to a new txt file . file.txt 900.00000 1 1 1 500.00000 500.00000 100000.000 4 4 1.45257346E-07 899.10834 ... (4 Replies)
Discussion started by: shashi792
4 Replies

7. Shell Programming and Scripting

script incomplete

#!/bin/bash DIR=/dir/$(date +%y%m) || mkdir "$DIR" for D in $@ # obtem os argumentos do cp /usr/home/backup if backup=null then mkdir backup done How can I complete that script, that's not value, can someone help me complete this... The point of the program is: - If the... (1 Reply)
Discussion started by: strshel
1 Replies

8. Shell Programming and Scripting

incomplete last line

How do I find through script if a contains "incomplete last line". If it does then only insert a new line character as:: echo "" >> filename.txt (4 Replies)
Discussion started by: PRKS
4 Replies

9. Shell Programming and Scripting

How to ignore incomplete files

On Solaris & AIX, suppose there is a directory 'dir'. Log files of size approx 1MB are continuously being deposited here by scp command. I have a script that scans this dir every 5 mins and moves away the log files that have been deposited so far. How do I design my script so that I pick up... (6 Replies)
Discussion started by: sentak
6 Replies

10. IP Networking

Incomplete three way handshake

I've got a strange problem with a single mail sender (it is one of those large free mail providers). My mail server works well with thousands of senders but not this one, so we have made a connection dump and it seems that the three way handshake is not completed 15:55:59.177431 IP... (0 Replies)
Discussion started by: 3wayTrouble
0 Replies
Login or Register to Ask a Question