tape backup error


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers tape backup error
# 1  
Old 06-05-2002
tape backup error

Hello everyone,

I like to start off by saying thank-you all. You guys have saved my butt alot of time. Well I have a problem in which I can't find in the search.

I'm trying to do a tar backup to a DDS3 tape as root:

tar -cvf /dev/rmt/0 /home/larry

the error

tar: /dev/rmt/0Smilieermission denied

I've noticed that even in the /etc/mail directory I can't tar to tape. I get the same error.

I don't understand this. I can extract files from the tape and I have no problem using tar. I can also do an ufsdump to tape.
I have also check the tape via mt -f /dev/rmt/0 status. I get the info of the tape.

anyone THANKS
# 2  
Old 06-10-2002
Ever figure this one out?

I read it when first posted but could not think of anything (the fact that you could extract was weird).

Could it be that there has been a change (by someone) to set it up that you can no longer create tars? That or the tar command itself is corrupt. What OS? What is the output of sum or checksum on the tar executable?
# 3  
Old 06-11-2002
I would definitely restore the tar exe from a trusted source. The fact that you can use it and extract with it but not create is weird?

I would look on the web at www.itrc.hp.com --> click on Search. This is for HPUX but there might be an answer there for a generic question regarding tar errors.
# 4  
Old 06-11-2002
I dunno if this is applicable...

But is it possible that somebody as root might have chmod'd the device node so that it could read, but not write?
# 5  
Old 06-11-2002
Wow! Very good Auswipe. You really are WIDE AWAKE today!!

I would give you a gold star... but I am all out...

BTW, I hope that is it, because that is a weird problem.



Smilie
# 6  
Old 06-11-2002
Quote:
Originally posted by Kelam_Magnus
Wow! Very good Auswipe. You really are WIDE AWAKE today!!
Yeah. We tain't as fancy as them folks in Plano, but we WIDE AWAKE out here in Wylie! Yeeeeehaw! Smilie

Quote:


I would give you a gold star... but I am all out...

BTW, I hope that is it, because that is a weird problem.
Smilie
Now I feel cheated... Smilie

I might try to duplicate this problem later on tonight after dinner. I have an Exabyte 8505XL hooked up to my FreeBSD machine and I can change the permissions and see what happens.
# 7  
Old 06-11-2002
Actually, re-reading the original message I see:

Quote:
I'm trying to do a tar backup to a DDS3 tape as root:
So if Larry is really performing this as root, then the permissions shouldn't matter. The next step would be checking if particular DDS3 tape has write protection enabled.

I have a DDS2 4mm 120 meter tape sitting in front of me and there is a write protect tab that can be switched on and off.

Stranger things have happened...
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to backup when there is no tape available?

Hi All! Letīs say there are a few solaris servers connected to a NetApp storage device, but with no tape library or tape device attached to none of them. Assuming the O.S. is installed on the root disks, how to recover if the O.S. failed in one of the systems? Please share your ideas. (13 Replies)
Discussion started by: fretagi
13 Replies

2. AIX

Backup on Tape

Hi, I am very new to AIX, i have a development and a production server with AIX 6.1. I am using following command to backup my system /usr/bin/mksysb '-m' '-V' '-i' /dev/rmt0 You can what i have in my root volume group in the atached file and and you can also see the backup information of... (14 Replies)
Discussion started by: salmanucit
14 Replies

3. SCO

Backup to SCSI Tape Backup aborts

I am trying to make a full backup of my system using the cpio command. The Tape Unit is a SCSI DDS. The process started fine but after about 30 minutes, it just stopped and showed the following message: 1755 Signal 31 - Core dumped Any idea of what is causing this and how to fix it? ... (4 Replies)
Discussion started by: zionpc
4 Replies

4. UNIX for Dummies Questions & Answers

Check backup file size on backup tape

Hi, I performed backup on tape and I want to append more files to my previous backup on the same backup tape. But before I do that I need to know the backup file size of the first backup I performed so that I know the available size on the backup tape. Can someone help me what command I will use... (0 Replies)
Discussion started by: ayhanne
0 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. HP-UX

Backup Tape Restore?

I am trying to do a restore on a backup tape (DDS2) and am having a little trouble. For one, I dont know how the tape was made, whether is was tar, cpio, dump..etc. Anyone know how to restore a tape without knowing the format of the backup? (5 Replies)
Discussion started by: bake255
5 Replies

7. Shell Programming and Scripting

remote tape backup

i have two main servers which are both hpux. the problem is that i only have single dat drive to use with my backup (using tar command). it always takes me alot of time to perform this activity since the backup can only be done one at a time. there are other hpux box with a dat drive attached on... (3 Replies)
Discussion started by: inquirer
3 Replies

8. Solaris

backup using tape

hello everybody... i need some help ... so... i need to do some backups from one solaris system and i dont know whitch is the best solution....to use tar or ufsdump...? ...and .... how can i restore files from tape if on the tape i have 2 sessions....how can i access second session....? enough... (4 Replies)
Discussion started by: nich007
4 Replies

9. UNIX for Dummies Questions & Answers

Tape Backup

I have a script which runs overnight to backup a database into a tar file. I then gzip the file and send it off to a tape device. The command I'm using for the tape backup is tar cvf /dev/rmt/0n /var/dbbackup/${FILE}.gz I thought the n meant no rewind so the next file is copied to tape... (4 Replies)
Discussion started by: mattd
4 Replies

10. UNIX for Dummies Questions & Answers

Tape Backup

Can someone please.... help me how to install tape backup I am using FreeBSD Unix version running on I386 PC box. My IDE tape device is made by HP (Colorado 5GB). Thank you in advance! (15 Replies)
Discussion started by: jackpotp
15 Replies
Login or Register to Ask a Question