From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,1d8fce8c8a58a866 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-10-03 16:17:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-nue1.dfn.de!news-han1.dfn.de!news.uni-paderborn.de!not-for-mail From: Michael Joosten Newsgroups: comp.unix.tru64 Subject: Re: TAR command Date: Thu, 04 Oct 2001 01:17:36 +0200 Organization: Badlab Construction Services, Inc Message-ID: <3BBB9C90.59E2@c-lab.de> References: <9pbcoj$29f$1@news2.kornet.net> <3bb96fa6@maser.urz.unibas.ch> NNTP-Posting-Host: tintin.c-lab.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-paderborn.de 1002151056 72 131.234.80.96 (3 Oct 2001 23:17:36 GMT) X-Complaints-To: usenet@news.uni-paderborn.de NNTP-Posting-Date: 3 Oct 2001 23:17:36 GMT X-Mailer: Mozilla 3.04Gold [en] (X11; I; IRIX 6.5 IP32) Xref: archiver1.google.com comp.unix.tru64:5121 Hans Schwengeler wrote: > > > I kept getting an error message saying "No space left on device". > > What other command can I use so it works on both platform? > > Thanks in advance > > Paul > well, the same thing happens quite often here. In such a case you > have to use GNU tar instead of the system supplied tar. GNU tar works ok, > whereas the DEC tar has some known problems. (I use GNU tar (gtar) version > 1.13, available at http://sunsite.cnlab-switch.ch for example). > Solaris use 'variable block mode' for DATs and Exabytes by default, where other Unices like SGI and AIX often use fixed tape blocks (like with the old QIC tape drives, which used 512bytes/block). Make sure that yu use the correct tape device, then try to provide the blocking factor explicitely: start with tar tvbf 20 /dev/???, and then jump to 64 and 126 (which is often used on Suns). 'No space left on device' is a system call level error, so tar has just openend the tape device and tried to read the first block. If the blocksize is too small, this error might happen. -- Michael Joosten, SBS C-LAB, joost@c-lab.de Fuerstenallee 11, 33094 Paderborn, Germany Phone: +49 5251 606127, Fax: +49 5251 606065 C-LAB is a cooperation of University Paderborn & SIEMENS