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
XvQueryBestSize(3)                                                libXv Functions                                               XvQueryBestSize(3)

NAME
XvQueryBestSize - determine the optimum drawable region size SYNOPSIS
#include <X11/extensions/Xvlib.h> int XvQueryBestSize(Display *dpy, XvPort port, Bool motion, unsigned int vw, unsigned int vh, unsigned int dw, unsigned int dh, unsigned int *p_dw, unsigned int *p_dh); ARGUMENTS
dpy Specifies the connection to the X server. port Defines the port associated with the display and adaptor for which the optimum size is to be calculated. motion Specifies True if the destination size needs to support full motion, and False if the destination size need only support still images. vw,vh Specifies the size of the source video region desired. dw,dh Specifies the size of the destination drawable region desired. p_dw,p_dh Pointers to where the closest destination sizes supported by the server are returned. DESCRIPTION
Some ports may be able to scale incoming or outgoing video. XvQueryBestSize(3) returns the size of the closest destination region that is supported by the adaptor. The returned size is guaranteed to be smaller than the requested size if a smaller size is supported. RETURN VALUES
[Success] Returned if XvQueryBestSize(3) completed successfully. [XvBadExtension] Returned if the Xv extension is unavailable. [XvBadAlloc] Returned if XvQueryBestSize(3) failed to allocate memory to process the request. DIAGNOSTICS
[XvBadPort] Generated if the requested port does not exist. X Version 11 libXv 1.0.7 XvQueryBestSize(3)
All times are GMT -4. The time now is 11:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy