smbclient tar (create, extract) fails on zSeries when file is over 8GB
This document (7009690) is provided subject to the disclaimer at the end of this document.
Environment
Situation
On a Samba Server, create a test file using dd:
# dd if=/dev/zero of=smbcl.test bs=1M count=9216 or 8192
On the Samba Client, run
# smbclient //server/share -U uuuu%ppp -I x.x.x.x -Tc xxx.tar
The results are:
count=9216, input size=9663676416, but tar -tvf shows 274911461376
count=8192, input size=8589934592, but tar -tvf shows 33554432
Extracting a 8GB tar file also fails:
# tar -tvf smbltest32.tar
drwxr-xr-x 0/0 0 2010-08-13 17:01 ./lost+found/
-rw-r--r-- 0/0 8589934592 2011-10-19 12:00 ./smbcl.test8g
# smbclient //target/share -U user%password -Tx smbltest32.tar
creating lame upcase table
creating lame lowcase table
Domain=[D31GRP] OS=[Unix] Server=[Samba 3.0.36-0.13.12.1-2426-SUSE-CODE10]
restore directory \lost+found\ Error writing remote file <-------------- Error
Abandoning restore
# ls -al
total 2099212
drwxr-xr-x 2 root root 0 Aug 13 2010 lost+found
-rwxr--r-- 1 root root 2147490816 Oct 20 17:30 smbcl.test8g
Resolution
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7009690
- Creation Date: 03-Nov-2011
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com