Error in tar command

m.roth at 5-cent.us m.roth at 5-cent.us
Thu Apr 8 14:57:10 UTC 2010


> Hi experts i have error on tar command when i hit  *tar -cvfM /dev/nst2*
> *
> /DATA*   command. it have to creat multiple volume tape cartridge  (IBM
> 3592)
> but it give
>
> *tar: M: Wrote only 0 of 10240 bytes
> tar: Error is not recoverable: exiting now
> *
> Error  Date size is 3.07 TB

man tar.

Now, let's look at this... you're creating a tarfile named /dev/nst2* and
you're putting into it * and /DATA*? And what's the * in front of the tar
command?

What happens if you do
$ tar -cvMf /dev/nst2 ./* /DATA*
?
    mark






More information about the redhat-list mailing list