- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Strange rsync problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2011 06:41 PM
тАО02-14-2011 06:41 PM
Strange rsync problem
My customer face a strange problem on using rsync to move file from local file system to NFS file system mount on same host by samba.
some files during rsync moving will generate several times size on destination and unreadable.
example:
file a ~ file z
all files size around 10MB, but after moving these files using rsync, some files size will became to 1.4GB
is this bug for rsync ?
OS version is 11.23 on ia64, and rsync version is v 3.0.6 protocol version 30.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2011 08:15 PM
тАО02-14-2011 08:15 PM
Re: Strange rsync problem
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2011 06:44 PM
тАО02-15-2011 06:44 PM
Re: Strange rsync problem
No , it just simply text files.
that's why I said its really weird.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2011 06:17 PM
тАО02-16-2011 06:17 PM
Re: Strange rsync problem
xd -xc filea
Zeros are not normal in a plain text file but some application may have created streams of nulls (zeros) by skipping records. The original file will be small, the copy will be much larger.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2011 01:29 AM
тАО02-17-2011 01:29 AM
Re: Strange rsync problem
when execute rsync -av $SOUR_PATH/ $DEST_PATH
the first 10 min see all fine,but at the moment all changed, some files start growth to 1.1GB, and I just let it keep running, more worth is some file growth to 9GB!
after I kill the rsync process, and list these wrong size files to a file as list, then re-write a script to process these wrong size files, the result is some of them are complete in normal size (10MB) and some others growth to 1.2GB again.
what can I do now?
I really haven't face this strange thing before !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2011 10:23 PM
тАО02-21-2011 10:23 PM
Re: Strange rsync problem
I build another windows server and mount its share folder on same network/subnet by cifsmount.
now is more intresenting, using cp to copy file have no any issues, but using rsync, every file became 100 times from 10MB > 1.2GB!
is there anything wrong on this system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2011 10:50 AM
тАО02-22-2011 10:50 AM
Re: Strange rsync problem
Are these files sparse? What does ll(1) show for their size?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2011 10:17 PM
тАО02-22-2011 10:17 PM
Re: Strange rsync problem
No, these files are formatted data generate by customer's application.
the file size using ll and ls -la are same result with wc command get.
I do another sets of test with this host by using cifsmount to mount another windows server shared file system.
scenarios:
1) HPUX run rsync from /local/path/files to /mnt/WINDOWS_FS > all files size became 100 times.
2) HPUX share local file system by samba and mount to windows server as net driver, copy files from HPUX to Windows local file system, no problem.
3) run rsync and cp on HPUX box, source and destination is same HPUX box local file system, no problem.
4) ftp from windows server to HPUX get all files back on HPUX, no problem.
can I narrow down the problem root cause is the HPUX box and seems its cifsclient library problem?
and this server's CIF server(samba) is not install from depot as package, its previous admin compile from source.