Summary: Tar over 2GB

From: Marco Greene <marco-greene_at_home.com>
Date: Fri Apr 20 2001 - 14:14:34 EDT
Thanks for all the emails that I've got so quickly.

Everybody told me:

man tar
man largefile

However, I have been misunderstood - since I've said that I already have
files bigger than
2GB there is no issue with largefile - they are already there, mounted
and they are largefile:

# /usr/lib/fs/vxfs/mkfs -F vxfs -m /dev/vx/rdsk/datadg/vol01
mkfs -F vxfs -o
ninode=unlimited,bsize=2048,version=4,inosize=256,logsize=512,largefiles
/dev/vx/rdsk/datadg/vol01 633549616

man largefile    - doesn't show tar as a large file aware utility, at
least not on my Solaris 2.6:

# man largefile

NAME
     largefile -  large file status of utilities
  Large file aware utilities
     The following /usr/bin utilities are large file aware:

          adb          awk        bdiff      cat     chgrp
          chmod        chown      cksum      cmp     compress
          cp           csh        csplit     cut     dd
          dircmp       du         egrep      fgrep   file
          find         ftp        getconf    grep    head
          join         jsh        ksh        ln      ls
          mkdir        mkfifo     more       mv      nawk
          page         paste      pathchk    pg      rcp
          remsh        rksh       rm         rmdir   rsh
          sed          sh         sort       split   sum
          tail         tee        test       touch   tr
          uncompress   uudecode   uuencode   wc      zcat

man tar     - doesn't give information about the limit size of the file.

Also I have no E option in my man tar:

# man tar

User Commands                                              tar(1)

NAME
     tar - create tape archives and add or extract files

SYNOPSIS
     tar c [bBefFhiklnopPqvwX [ 0-7 ]] [ block ] [ tarfile ]
          [ exclude-file ] { -I include-file |
          -C directory file | file } ...

     tar r [ bBefFhiklnqvw [ 0-7 ]] [ block ]
          { -I include-file | -C directory file | file } ...

     tar t [ BefFhiklnqvX [ 0-7 ]] [ tarfile ]
          [ exclude-file ] { -I include-file | file } ...

     tar u [ bBefFhiklnqvw [ 0-7 ]] [ block ] [ tarfile ]
          file ...

     tar x [ BefFhiklmnopqvwX [ 0-7 ]] [ tarfile ]
          [ exclude-file ] [ file ... ]

Thanks,
Marco

Marco Greene wrote:

> Hello Admins,
>
> Environment:  Solaris 2.6
>
> I have to bnackup a directory of 30GB.
> It has inside files bigger than 2GB.
>
> Can I do it with tar - that is can tar backup files bigger than 2GB,
> or I should use ufsdump or cpio?
> What is the maximum file size that tar can backup?
>
> Thank you for your help.
> Marco
>
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Apr 20 19:14:34 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:53 EDT