Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

What's wrong with my tar?

Posted on 1997-02-22
1
Medium Priority
?
300 Views
Last Modified: 2013-12-16

I have two NCR platforms that are almost two peas in a pod.  One is a model 3450 (call it P2); the other a 3455 (P3), and each supports two Sybase System 10 data servers and one backup server.  While logical architectures differ from daily usage, they were set up to be parallel, and no conscious differences were instituted.

When beginning an upgrade of SQL Backtrack from Datatools, I have not been able to tar the files to P2.  The install notes specify a non rewinding tape device and to mt rewind, mt fsf to the correct file, and tar the files to disk.  Results...

/usr/ucb/mt -f /dev/rmt/c0t0d0s0nn rewind -- seemed to work ok if maybe a bit to quickly.

/usr/ucb/mt -f /dev/rmt/c0t0d0s0nn fsf 5 -- reported *no data found* the first time around.

tar -xvf /dev/rmt/c0t0d0s0nn -- reported *Tape blocksize error*

The tar results were the same for two other tapes, and mt fsf seemed to work on one of them.

In the first attempts I may have su'd to root, but in the last attempts it was from a root *login*.  All commands have been executed from the console.

The device is routinely used for database dumps and restores, and a simple tar *to* the tape was normal.

I received a tape verified for an NCR machine by the Datatools people, and it also failed on the tar.  So I charged off in another direction to tar it to *P3* and copy the files over to *P2*.  It complained about problems not being able to read the group entry in /etc/group, but it worked, reporting a blocksize = 20.

There are some other issues to deal with on the rcp and NFS options yet, so I'm back to the tar issue for P2.

What's do I need to do to get my tar to work?
0
Comment
Question by:ricurban
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
danlip earned 300 total points
ID: 1811897
I am not familiar with your system,
but on mine /dev/rmt* corresponds to
the rewinding tape device.  The
non rewinding tape device is nrmt.
Try that.

0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question