Sponsored Content
Full Discussion: File copy issue in Solaris
Operating Systems Solaris File copy issue in Solaris Post 302957663 by sembii on Tuesday 13th of October 2015 10:50:07 PM
Old 10-13-2015
File copy issue in Solaris

Dears,

I have one strange problem. When I copy file from source to destination using scp, file size decreased in destination side. I can see that copy progress is successful in source side. But when I check file size using
Code:
du -sh

command file size is 10 time smaller.
First I looked into network. But there wasn't any network interrupt. So I changed destination directory to /tmp in scp copy command. After that I checked file size on destination side and it was correct size. Then I copied file from /tmp to /backup on destination side and checked file size. File size was 0k very strange.

I think there's some disk issues in the server. Also checked zfs filesystem using
Code:
zfs list
zpool list
zpool status -x  commands.

They are all fine. Have you seen this issue ever?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

copy from Solaris to HyperTerm

Hello, I try to copy a small file e.g. /etc/hosts from my workstation to my office Pc via serial cable on Port b. (/dev/term/b) But I donīt now how! On the Pc I can only use the HyperTerm on NT because this is the released software. There is an option to send or receive data but i have no idea... (11 Replies)
Discussion started by: joerg
11 Replies

2. Filesystems, Disks and Memory

on solaris best utility to copy a file system?

Hi, - on a solaris box what is the best utility to copy a whole file system from one place to other? - the aim of the operation is to place the contents of the whole file system to other file system within the discs cp ? - cpio? - tar? - what about file systemes containing symbolic links ?... (1 Reply)
Discussion started by: JAKEZ
1 Replies

3. Solaris

need to copy file from solaris to windows

Hi my OS is solaris 9 , we have requirement to copy 1 file from solaris box to windows machine , so which utility or commands any idea will be appreciated Regards (3 Replies)
Discussion started by: maooah
3 Replies

4. UNIX for Dummies Questions & Answers

Issue with the copy command

Hi, I was copying a bunch of files from one folder to another.. while copy command was running i pressed 'ctrl C'...now these files are not present in the parent directory nor in the target folder... :eek: Where can find these files... Is there any way to get this files back.. :confused:... (2 Replies)
Discussion started by: Amey Joshi
2 Replies

5. Shell Programming and Scripting

Solaris KSH shell script to copy all lines from one file to another

Hello, more of a windows wscript guy. However I took a new position that requires me to support some solaris servers. So... issue is that I need to copy all lines from a file to a temporary file and then copy them back into the original file starting at line 1. Reason I need to do this is... (5 Replies)
Discussion started by: ZigZaggin
5 Replies

6. Shell Programming and Scripting

Unzipping a file in Solaris - Issue with xls file

Hi, I have an excel file generated by system in windows. I am zipping it, transfering to unix and unzipping there. But i'm getting below output while unzipping. $ /usr/bin/unzip -a 123.zip -d . Archive: 123.zip inflating: ./123/Index.xls When i copy this unzipped xls file to... (0 Replies)
Discussion started by: ajaykumarb
0 Replies

7. UNIX for Dummies Questions & Answers

Issue with Reflection - text copy beyond screen.

Hi, Gretings, While viewing the contents of a file using more/cat in Reflection, I am neither able to see the text beyond the width of screen, nor able to type it as well. I have tried changing windows settings also, but of no vail. Even if I cat/more a file and try to copy its contents, it... (1 Reply)
Discussion started by: dipanchandra
1 Replies

8. Shell Programming and Scripting

how to copy the directory but not copy certain file

Hi experts cp bin root src /mnt but not copy bin/bigfile any help? ( I post this thread in the "redhat" forum wrongly, I don't know how to withdraw that question in that wrong forum) Thanks (6 Replies)
Discussion started by: yanglei_fage
6 Replies

9. Shell Programming and Scripting

Issue with copy command

Hi, I have a shell script which is having copy command. My need is to copy all the files in a directory into its subdirectory. My directory structure is like this. Dir1 file1.txt file2.txt file3.txt subDir1 subDir1 is a subdirectory in Dir1. Now I... (2 Replies)
Discussion started by: yuvi
2 Replies
xfs_rtcp(8)						      System Manager's Manual						       xfs_rtcp(8)

NAME
xfs_rtcp - XFS realtime copy command SYNOPSIS
xfs_rtcp [ -e extsize ] [ -p ] source ... target DESCRIPTION
xfs_rtcp copies a file to the realtime partition on an XFS filesystem. If there is more than one source and target, the final argument (the target) must be a directory which already exists. OPTIONS
-e extsize Sets the extent size of the destination realtime file. -p Use if the size of the source file is not an even multiple of the block size of the destination filesystem. When -p is specified xfs_rtcp will pad the destination file to a size which is an even multiple of the filesystem block size. This is necessary since the realtime file is created using direct I/O and the minimum I/O is the filesystem block size. SEE ALSO
xfs(5), mkfs.xfs(8), mount(8). CAVEATS
Currently, realtime partitions are not supported under the Linux version of XFS, and use of a realtime partition WILL CAUSE CORRUPTION on the data partition. As such, this command is made available for curious DEVELOPERS ONLY at this point in time. xfs_rtcp(8)
All times are GMT -4. The time now is 11:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy