why cannot format the tape ?

Thread Tools Search this Thread
Operating Systems AIX why cannot format the tape ?
# 1  
Old 12-03-2007
why cannot format the tape ?


Why cannot format the tape ?

eft_ar_format << shell script this file correct Iam sure

but cannot format the tape Smilie

Why ?

and What is mean " $? " in shell script ?

for example :

if [ $? != 0 ]
# 2  
Old 12-03-2007
You win the most confused posting prize!

$? in shell is the return code of the command executed on the line above.
In UNIXspeak, 0 is success and any non-zero is an error.
So "if [ $? -ne 0 ]" means if there was an error.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Ejecting tape on AIX & Some Tape commands

I am trying to use this command to eject the tape mt -f /dev/rmt/0 unload but it gives me error mt -f /dev/rmt/0 unload mt: 0511-575 unload is not a recognized subcommand. Usage: mt Subcommand Valid subcommands are: weof eof fsf bsf ... (5 Replies)
Discussion started by: filosophizer
5 Replies

2. UNIX for Dummies Questions & Answers

Copying tape-to-tape on UNIX

I am using a 4mm tape to backup my Unix system. However, I wanted to make a copy all of the files and archive headers (or just the archive headers if that's possible) created on one of my tapes to another 4mm tape. I only have one tape drive. Is there a command that will complete such task? ... (1 Reply)
Discussion started by: acoco
1 Replies

3. AIX

How to make a copy of a tape to another tape?

Hello, We need to make a copy of a backup tape, using the 2 tape recorders in IBM 3582 Tape Library We tried tu use "tcopy", it seems to work fine (no error messages) but we aren't sure if we can rely on it. my question is how to check if the copy succeded or not, but i also want to know... (3 Replies)
Discussion started by: fastlane3000
3 Replies

4. SCO

Tape Status shows 2 Hard errors and 5 Underruns on new tape

when I do a tape status /dev/rStp0 I get the following on a new tape and I have tried several: Status : ready beginning-of-tape soft errors : 0 hard errors: 2 underruns: 5 My BackupEdge has stopped backing up my system because it asks for a new volume yet my total system data is under 20... (5 Replies)
Discussion started by: psytropic
5 Replies

5. UNIX for Dummies Questions & Answers

Mounting DLT tape and to backup file to tape

Hi there: I'm new here Can anyone help me: I have DS15 Alpha server : Unix 5.1B Now i need to connect a DLVT VS80 1U Rackmount Tape Drive unit. What is the exact comman to mount the DLTape IV?? How do i make backuo @ copy file to the tape? Thanx to all (0 Replies)
Discussion started by: ayzeayem
0 Replies

6. UNIX for Advanced & Expert Users

Space free on tape /delete a single file on tape

Hi, I' using a sun solaris server, I would like to known if there is the possibility to control how many space is free on a tape and how I can delete a single file on a tape. Thanks DOMENICO (3 Replies)
Discussion started by: Minguccio75
3 Replies

7. UNIX for Advanced & Expert Users

Format Tape

Hi, Please urgently help me how can i format/remove the contents in a tape under /dev/rStp0 Thanks, Mostafizur Rahman (1 Reply)
Discussion started by: rahmanm
1 Replies

8. UNIX for Dummies Questions & Answers

Tape format?

I've got the job of trying to find a file on tape to restore it. Only problem is I got no idea what the format is. The network admin is on holidays and can't contact him. Does anyone know how I can find out the tape format so I can then look at the contents of the tape. It's on a Solaris 7... (3 Replies)
Discussion started by: merlin
3 Replies

9. UNIX for Dummies Questions & Answers

format tape backup

Hi, I'm new network administrator in my compagny, and i need to format a tape backup on a unix server.... is a hp9000. Some body can help me please!!! Regards, France (1 Reply)
Discussion started by: france
1 Replies
Login or Register to Ask a Question