SUSE Support

Here When You Need Us

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

SUSE Linux Enterprise Server 11 Service Pack 1

Situation

If the smbclient tar command (smbclient -T options) is used to create an archive larger than 8GB, it will fail and create an invalid tar file.

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

The samba update, samba-3.4.3-1.34.1, released February 2012 includes the solution to resolve this problem. Please install the recommended update.

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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.