Operating System - HP-UX
1748285 Members
4053 Online
108761 Solutions
New Discussion юеВ

Re: How to TAR file of 500 GB to an External Drive

 
Deepu Chakravarty
Regular Advisor

How to TAR file of 500 GB to an External Drive

We have one TAR file of size 500GB. We want to put this file in an external drive for a backup purpose. Through tar we can't do it as tar has the limitation of 8GB. What are the other ways to do it. Later on we want to put file again on the server from external drive. Please suggest how to do it. Thanks in advance.
7 REPLIES 7
Mark McDonald_2
Trusted Contributor

Re: How to TAR file of 500 GB to an External Drive

if the file is already tar format, simply use cp or dd
Deepu Chakravarty
Regular Advisor

Re: How to TAR file of 500 GB to an External Drive

Can 'cp' be used for external drive raw device?
Mark McDonald_2
Trusted Contributor

Re: How to TAR file of 500 GB to an External Drive

cant you mount it 1st?
Dennis Handly
Acclaimed Contributor

Re: How to TAR file of 500 GB to an External Drive

We have one TAR file of size 500GB. We want to put this file in an external drive for a backup purpose. Through tar we can't do it

Why would you want to use tar on a tar file?

>What are the other ways to do it?

dd(1).
What do you mean by an external drive? What type of filesystem does it have?
Steven Schweda
Honored Contributor

Re: How to TAR file of 500 GB to an External Drive

I've heard of a disk drive, a tape drive, and
a scenic drive, and I know what those are.
An "external drive" remains a mystery.

> We have one TAR file [...]

How did you get it?

> [...] Through tar we can't do it [...]

So, how did you get this 500GB "tar" file?
(GNU "tar", by the way, has no 8GB limit.)

It might be helpful if you explained the
actual problem which you are trying to solve,
rather than asking how to implement some
sub-ideal solution to that problem.
Bill Hassell
Honored Contributor

Re: How to TAR file of 500 GB to an External Drive

Since copying a file of any size (TB) from HP-UX to a another directory is the simple cp command, there must be some details you are leaving out. Is the external drive connected and working (ie, has a filesystem and is mounted to your HP-UX system)? Whether the file is 500GB or 2TB makes no difference to the cp command. And whether the file is tar format or random data again makes no difference.

If you already have a tar file, why would you want to use tar to copy the file?


Bill Hassell, sysadmin
gingerxin
New Member

Re: How to TAR file of 500 GB to an External Drive

please make sure your external drive support large file