Try using /dev/IBMtape0n.  I believe that's the "no-rewind" node.

-----Original Message-----
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
Edmund R. MacKenty
Sent: Tuesday, June 23, 2009 12:21 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: [LINUX-390] Lin_tape and IBMtapeutil

On Tuesday 23 June 2009 11:51, Spann, Elizebeth (Betsie) wrote:
>I am trying to tar several directories to an LTO-3 tape using lin_tape,
>IBMtapeutil and tar.
>I open the tape device and then issue the tar commands.   When I check
>the tape contents with  tar tvf, I only see the last directory.
>I am not sure if I am not using the tar command correctly or if the
tape
>is rewinding after each tar command.
>
>IBMtapeutil -f /dev/IBMtape0 rewind
>tar cvf /dev/IBMtape0  /directory1
>tar cvf /dev/IBMtape0  /directory2
>
>tar tvf /dev/IBM/tape0  --- reports only on /directory2
>
>Any suggestions, please?

I think you're right about it rewinding the tape.  I'm not sure how that
tape 
driver works, but old-time UNIX tape drivers would rewind when the
device was 
closed.  Try writing using a single tar command:

    tar -cvf /dev/IBMtape0 /directory1 /directory2

That puts everything into one big tarfile onto that tape.  You can list
as 
many directories you want on the tar command line.
        - MacK.
-----
Edmund R. MacKenty
Software Architect
Rocket Software
275 Grove Street * Newton, MA 02466-2272 * USA
Tel: +1.617.614.4321
Email: m...@rs.com
Web: www.rocketsoftware.com  

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--------------------------------------------------------------------------
This message w/attachments (message) may be privileged, confidential or 
proprietary, and if you are not an intended recipient, please notify the 
sender, do not use or share it and delete it. Unless specifically indicated, 
this message is not an offer to sell or a solicitation of any investment 
products or other financial product or service, an official confirmation of any 
transaction, or an official statement of Merrill Lynch. Subject to applicable 
law, Merrill Lynch may monitor, review and retain e-communications (EC) 
traveling through its networks/systems. The laws of the country of each 
sender/recipient may impact the handling of EC, and EC may be archived, 
supervised and produced in countries other than the country in which you are 
located. This message cannot be guaranteed to be secure or error-free. 
References to "Merrill Lynch" are references to any company in the Merrill 
Lynch & Co., Inc. group of companies, which are wholly-owned by Bank of America 
Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are 
Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a 
Condition to Any Banking Service or Activity * Are Not Insured by Any Federal 
Government Agency. Attachments that are part of this E-communication may have 
additional important disclosures and disclaimers, which you should read. This 
message is subject to terms available at the following link: 
http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you 
consent to the foregoing.
--------------------------------------------------------------------------
 

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to