10-15-2015
Hi Don Cragun,
Yeah, read your post, sorry for not enough details. Here are some details.
1. Source file size is 10mb. Actually there are many files with the size greater than 10GB. But I chose 10mb sized one file as test.
2. I'm using cp and scp both.
scp -C source_file oracle@remote_host:/path/to/dir
cp source_file /path/to/destination
3. I used du -sh command to see file size. ls -l command shows the size same as source file. But du -sh command shows different size. I think that ls -l command is showing only file size info in the header and du -sh command is showing size on the disk.
4. Yes, source and destination filesystem are same. I'm using Solaris ZFS filesystem
5. Yes, command completed without error.
6. du -sh and ls -ltr results are different. Please see 3th answer.
7. Already checked if there's any log. But I didn't see any log.
8. Solaris 10 runs on both source and dest server.
9. If I copy files from source server to local disk of the remote server it copies file without issue. All file sizes are correct.
If I copy file from source server to sunstorage disk of the remote server, copied file size is decreased. That means this issue is related to SunStorage.
---------- Post updated at 01:51 PM ---------- Previous update was at 11:27 AM ----------
I'm checking storage and will share the result here.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
LEARN ABOUT OPENSOLARIS
gvfs-move
gvfs-move(1) User Commands gvfs-move(1)
NAME
gvfs-move - move a file from one VFS location to another
SYNOPSIS
gvfs-move source-URI destination-URI
DESCRIPTION
gvfs-move moves a file from one URI location to another, using the virtual file system.
OPERANDS
The following operands are supported:
source-URI Specifies the source file location in standard URI format.
destination-URI Specifies the destination file or directory location in standard URI format.
EXAMPLES
Example 1: Moving a File From a Web Server to a Local File
example%
gvfs-move http://www.sun.com file:///home/user/index.html
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables: NLSPATH.
EXIT STATUS
The exit value 0 is returned regardless of success or failure.
FILES
The following files are used by this application:
/usr/bin/gvfs-move Executable to move a file from one VFS location to another
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-gvfs |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
gvfs-cat(1), gvfs-copy(1), gvfs-rename(1), gvfs-info(1), gvfs-less(1), gvfs-ls(1), gvfs-mkdir(1) gvfs-monitor-dir(1), gvfs-monitor-file(1),
gvfs-mount(1), gvfs-copy(1), gvfs-open(1), gvfs-rm(1), gvfs-save(1), gvfs-trash(1), gvfs-tree(1), attributes(5), environ(5)
NOTES
Written by Alvaro Lopez Ortega, Sun Microsystems Inc., 2008.
SunOS 5.11 25 Mar 2008 gvfs-move(1)