Re: Problems taring up files larger than 2GB on Solaris 8

From: Allen Garvin (allen_at_plover.net)
Date: 05/29/03


Date: 29 May 2003 16:16:08 GMT

In article <9f682ea7.0305290154.7a6b6dc3@posting.google.com>,
Chris Thomas <chrisvai777@hotmail.com> wrote:
    Hi,
    
    I wonder if anyone can help?
    
    We are running vertias volume manager 3.5 on a solaris 8 sun V880 box.
    
    I am trying to tar up large amounts of data under volume
    manager partitions (not veritas file system). When the tar
    (this is using GNU tar) gets to about 2 GB it bombs out with
    the following error:
    
    /usr/local/bin/tar: Cannot write to
    /data/archive/28_05_03/ver_data_images.tar:
    File too large
    /usr/local/bin/tar: Error is not recoverable: exiting now
    
    Similar errors are produced with just the normal solaris tar.
    
    I have heard people talk "Is your file system flagged largefile",
    how do you check this and how do you change it if, it isn't
    set for large files.

mount -o remount,largefiles /mountpoint

Though I thought largefiles was enabled by default on Solaris 8
for ufs filesystems (you say you're not using vxfs, so I assume
it is ufs?). Add 'largefiles' to the last column for the filesystem
in /etc/vfstab. Use the same procedure if you happen to be using
vxfs. You can check to see if a filesystem is mounted largefile by
typing mount. For instance:

[agarvin@wt-web1 /]$ mount
/ on /dev/dsk/c0t0d0s0 read/write/setuid/intr/largefiles/onerror=panic/dev=800000 on Thu May 29 11:15:26 2003

According to the largefile man page (man largefile), tar on
Solaris 8 is largefiles-aware. GNU tar may or may not be.

Allen Garvin



Relevant Pages

  • Re: using star to move 3 millions files .. going slowly .. painfully
    ... >Starting with the Solaris 8 update that did introduce the UFS filesystem ... I am sure that is the case, that is why I am using Solaris 9 in this ... star but star is slower than everything else I try. ... >Sun's tar is much slower than star. ...
    (comp.unix.solaris)
  • Re: "Value too large for defined data type" error when using tar
    ... > cluster, plus the 113072-07 patch. ... Is /usr/bin/tar the tar in your path? ... /usr/bin/tar is largefile aware. ...
    (comp.unix.solaris)
  • Re: XFS: 2.6.26-rc6 link count mismatch for inode
    ... output in dmesg when mounting the filesystem)? ... scsi0: ahci ... Ending clean XFS mount for filesystem: ... The tar xf mozilla-source.tarball was not responding ...
    (Linux-Kernel)
  • Re: Basic unix commands makes server panic
    ... So I believed that Veritas could have been causing this, ... I couldn't do a tar on the /etc folder again. ... that whatever the issue is something about the Veritas client install ... I installed the correct version of Solaris 7, ...
    (comp.unix.admin)
  • Re: Basic unix commands makes server panic
    ... So I believed that Veritas could have been causing this, ... I couldn't do a tar on the /etc folder again. ... that whatever the issue is something about the Veritas client install ... I installed the correct version of Solaris 7, ...
    (comp.unix.admin)