Error copying files


 
Thread Tools Search this Thread
Operating Systems Solaris Error copying files
# 1  
Old 05-17-2012
Error copying files

I have installed Solaris 10 on a Sunblade 150 (512 MB RAM) successfully. But when I create a new directory and try to copy a 40 MB file to it it stops after about 37 MB and gives an error "I/O error" while copying. I have 40GB of Hard Disk. What is the problem?
# 2  
Old 05-17-2012
A 40GB disk has file system overhead. In other words if you make a 100GB slice/disk not all 100GB can be used for file storage. Some is reserved for file system (ufs, zfs) use.

Please show the output of:
Code:
df -h
# if the file is a unix file please show the output of:
ls -l [problem filename]

# 3  
Old 05-17-2012
df -h output below:

Code:
Filesystem                   size   used  avail  capacity  Mounted on
/dev/dsk/c1t0d0s0                 5.0G   3.3G   1.7G    67%    /
/devices                                 0K     0K     0K     0%       /devices
ctfs                                       0K     0K     0K     0%       /system/contract
proc                                       0K     0K     0K     0%       /proc
mnttab                                    0K     0K     0K     0%       /etc/mnttab
swap                                   578M   1.3M   577M     1%    /etc/svc/volatile
objfs                                       0K     0K     0K     0%       /system/object
sharefs                                    0K     0K     0K     0%      /etc/dfs/sharetab
fd                                           0K     0K     0K     0%      /dev/fd
swap                                     577M    88K   577M     1%    /tmp
swap                                     577M    32K   577M     1%    /var/run
/dev/dsk/c1t0d0s7                     31G    32M    31G     1%    /export/home


Last edited by mickod; 05-17-2012 at 08:52 AM.. Reason: code tags
# 4  
Old 05-17-2012
hi
check free space on destination location
df -e
# 5  
Old 05-17-2012
Output of df -e

Code:
Filesystem                             ifree
/dev/dsk/c1t0d0s0      544691
/devices                               0
ctfs                                    2147483624
proc                                     7913
mnttab                                  0
swap                                     57724
objfs                                     2147483494
sharefs                                  2147483646
fd                                         0
swap                                     57724
swap                                     57724
/dev/dsk/c1t0d0s7                   3937020


Last edited by methyl; 05-17-2012 at 10:44 AM.. Reason: please use code tags
# 6  
Old 05-17-2012
Please post:
Quote:
ls -lad name_of_big-file
Please also post:
Code:
Command used to copy this file.

Plus the exact error message received verbatim.

No visible issue with copying a 40 Mb file, but it does depend on where the file is being copied from an to.

Last edited by methyl; 05-17-2012 at 10:57 AM..
# 7  
Old 05-17-2012
I have been trying to copy a file from a USB stick which was formatted with FAT. I changed this to NTFS and now USB stick is not being recognized. I think the problem is the USB stick. If so, how do I fix it?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Copying files

All, I need to grab and rename common files from several unique directory structures. For example, the directory structures looks like: /unique_dir/common/common/common/person_name_dir/common_file.txt There are over 90,000 of these text files that I'd like to put in a single directory as... (5 Replies)
Discussion started by: hburnswell
5 Replies

2. Shell Programming and Scripting

Files copying - [ Listed files alone. ] - Shell script

Hi All, I am doing this for svn patch making. I got the list of files to make the patch. I have the list in a file with path of all the files. To Do From Directory : /myproject/MainDir To Directory : /myproject/data List of files need to copy is in the file: /myproject/filesList.txt ... (4 Replies)
Discussion started by: linuxadmin
4 Replies

3. Shell Programming and Scripting

Error copying files from Unix (Solaris10) to Windows Server 2003 using scp/sftp

Hi, I have generated a Public/Private Key Pair in Solaris Unix (source) server and deployed the Public key in Windows 2003(target) server .ssh directory of user profile. When i try to connect(ssh, scp, sftp) from Unix, i'm getting below error message. Sun_SSH_1.1, SSH protocols 1.5/2.0,... (0 Replies)
Discussion started by: ajaykumarb
0 Replies

4. UNIX for Dummies Questions & Answers

No such file or directory error while copying files

Hi, I need to copy files from one dir to another dir. The list of filesnames to be moved are in a file called files2cp.log Script: #!/bin/ksh exec 0</home/amdocs/files2cp.log while read LINE do cp -i /iccs33/attach/"$LINE" /iccs30/attach/"$LINE" done The output is "No such... (6 Replies)
Discussion started by: srinirsr
6 Replies

5. UNIX for Advanced & Expert Users

copying of files by userB, dir & files owned by userA

I am userB and have a dir /temp1 This dir is owned by me. How do I recursively copy files from another users's dir userA? I need to preserve the original user who created files, original group information, original create date, mod date etc. I tried cp -pr /home/userA/* . ... (2 Replies)
Discussion started by: Hangman2
2 Replies

6. UNIX for Dummies Questions & Answers

Shell Syntax Error when copying files

Hello, I apologize if this was addressed in a previous post. I have done some searching but may have missed it. I am trying to read a list from a file, for example: 3bik 3bix 3biu 3bin 1nwn and using this list, copy files with these names (ex: 3bik.dssp.Z) to a seperate folder,... (1 Reply)
Discussion started by: InfoSeeker
1 Replies

7. UNIX for Advanced & Expert Users

getting error while copying files

I am trying copy all files ,i was getting below error .Please any idea #find . -name "*bat" -exec cp -p {} /devt/jobs find: incomplete statement Thanks, Akil (9 Replies)
Discussion started by: akil
9 Replies

8. Shell Programming and Scripting

copying files

hi I want to copy all files from the current directory and move to .archive file. Moreover,I want to add .bak to each file name, that will be copied. How can I do that? (4 Replies)
Discussion started by: tjay83
4 Replies

9. Solaris

Copying Files and

I am new user to solaris and installed solaris operating system on full Harddisk 120Gb. I am unable to copy music files to desktop and /home directory. One thing happened while registering is- i entered login-root and its password. The message prompted your system is crashed. Is it because of... (1 Reply)
Discussion started by: patilmukundraj
1 Replies

10. UNIX for Dummies Questions & Answers

Copying files

I like to know the command structure of copying files/directories from a unix box using telnet session to a windows box. (4 Replies)
Discussion started by: alpheusm
4 Replies
Login or Register to Ask a Question