The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Backup to SCSI Tape Backup aborts zionpc SCO 4 12-07-2007 04:47 PM
Check backup file size on backup tape ayhanne UNIX for Dummies Questions & Answers 0 10-25-2007 08:41 AM
Mounting DLT tape and to backup file to tape ayzeayem UNIX for Dummies Questions & Answers 0 08-13-2007 11:09 PM
backup using tape nich007 SUN Solaris 4 05-24-2004 06:50 AM
How to add backup tape josramon UNIX for Dummies Questions & Answers 1 11-27-2002 10:12 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-05-2002
Registered User
 

Join Date: Nov 2001
Location: Hawaii
Posts: 79
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/0ermission 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
Forum Sponsor
  #2  
Old 06-10-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
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
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
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.
__________________
My brain is your brain
  #4  
Old 06-11-2002
auswipe's Avatar
Registered User
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 536
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?
__________________
Not quite as cool as all the other Kids...
  #5  
Old 06-11-2002
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
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.



__________________
My brain is your brain
  #6  
Old 06-11-2002
auswipe's Avatar
Registered User
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 536
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!

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.
Now I feel cheated...

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.
__________________
Not quite as cool as all the other Kids...
  #7  
Old 06-11-2002
auswipe's Avatar
Registered User
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 536
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...
__________________
Not quite as cool as all the other Kids...
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0