LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-14-2009, 03:17 AM   #1
kuldeep.k
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
Error in TAR - tar: GNU features wanted on incompatible archive format.


Following is my TAR command :

tar --xattrs -c -f '/mtpts/VG2-LV_ADMIN_Q1/Pr/bkup2.tar.bz2' --bzip -l --rsh-command=\/usr\/bin\/ssh '/mtpts/13Aug09_1226_VG2-LV_ADMIN_Q/ch'

Gives me following error :
tar: GNU features wanted on incompatible archive format

However if I remove --xattrs it works fine.

Please help me out.

Last edited by kuldeep.k; 08-14-2009 at 03:55 AM.
 
Old 08-14-2009, 08:28 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,718
Blog Entries: 54

Rep: Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967
If it works when you change your Rsh command to "--rsh-command=/bin/ls /tmp" for testing purposes then are you sure "--rsh-command=\/usr\/bin\/ssh '/mtpts/13Aug09_1226_VG2-LV_ADMIN_Q/ch'" should produce the same? Doesn't SSH work like "ssh user@host 'command_to_perform'"?
 
Old 08-14-2009, 11:04 AM   #3
kuldeep.k
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Original Poster
Rep: Reputation: 0
I tried the command according to your suggestion but its not working.
There is some problem with the option "xattrs", removing this option the command works fine. And also this happens only for some specific data, for some directories "xattrs" is working but for some it is not.
 
Old 08-14-2009, 12:09 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,718
Blog Entries: 54

Rep: Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967Reputation: 2967
Quote:
Originally Posted by kuldeep.k View Post
I tried the command according to your suggestion but its not working.
Show me the command you used and the output and your tar version?


Quote:
Originally Posted by kuldeep.k View Post
There is some problem with the option "xattrs", removing this option the command works fine. And also this happens only for some specific data, for some directories "xattrs" is working but for some it is not.
My ESP is low today so I do welcome full commandlines, verbose output and exact error postings.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tar this does not look like a tar archive exit depalyed from previous error tasay Linux - Software 1 07-01-2009 04:34 PM
Piping tar bzcat to add a file to a tar.bz2 archive DaveQB Linux - Software 0 06-02-2008 09:28 PM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 03:53 AM
need some help with muli-volume tar (ubuntu, bash, gnu tar) MattCarp Linux - General 4 06-05-2006 09:15 AM
Tar gives error when creating a tar file archive davidas Linux - Newbie 10 04-13-2004 01:35 AM


All times are GMT -5. The time now is 09:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration