Solved

Why is are my backups failing?

Posted on 2004-04-14
15
771 Views
Last Modified: 2013-12-27
My backups have run smoothly for months... last night they failed.  I get this message in my backup log:

DUMP: NEEDS ATTENTION: Cannot open `web17:/dev/rmt/0n'.  Do you want to retry the open?: ("yes" or "no")   DUMP: The ENTIRE dump is aborted.
Backup of file system / failed

Any Ideas why?  Resolution?

0
Comment
Question by:rwpulliam
[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
  • 5
  • 3
  • 3
  • +3
15 Comments
 
LVL 7

Expert Comment

by:fim32
ID: 10825668
did you try it manually today?  did it error out the same way?

do you potentially have multiple hosts trying to dump at the same time?
0
 

Author Comment

by:rwpulliam
ID: 10825743
Same problem manually running backup script as root. Root cron runs it each night.

Local dump to tape drive /dev/rmt/0n... no multiple hosts.
0
 
LVL 7

Expert Comment

by:fim32
ID: 10825787
oic.

how often do you change tapes?  (are you at the end of this one)

are there other messages in /var/adm/messages or /var/log/syslog? (if there were a scsi problem, they would show up there)
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:rwpulliam
ID: 10825817
additonal info....

tape drive has tape and is working OK:

# mt status
HP DDS-3 4MM DAT tape drive:
   sense key(0x6)= Unit Attention   residual= 0   retries= 0
   file no= 0   block no= 0
# mt fsf 1
# mt rewind
# mt status
HP DDS-3 4MM DAT tape drive:
   sense key(0x0)= No Additional Sense   residual= 0   retries= 0
   file no= 0   block no= 0

It has somthing to do with root opening the raw device file... /dev/rmt/0n.  
0
 

Author Comment

by:rwpulliam
ID: 10825894
Nothing interesting in /var/adm/messages... just checked last 24 hours.
0
 

Author Comment

by:rwpulliam
ID: 10825929
last mail to root was on march 7th.... no info there either.  HMMMmmmm?  Need backup to run tonight.
0
 

Author Comment

by:rwpulliam
ID: 10826380
Changed password on root & sys and WALA!

Backing up file system " / " started at 02:10:26 PM
  DUMP: Writing 32 Kilobyte records
  DUMP: Date of this level 0 dump: Wed Apr 14 14:10:28 2004
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rdsk/c0t0d0s0 (hqprdweb17:/) to /dev/rmt/0n.
  DUMP: Mapping (Pass I) [regular files]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Estimated 4083034 blocks (1993.67MB).
  DUMP: Dumping (Pass III) [directories]
  DUMP: Dumping (Pass IV) [regular files]
  DUMP: 57.57% done, finished in 0:07
  DUMP: 4083006 blocks (1993.66MB) on 1 volume at 1763 KB/sec
  DUMP: DUMP IS DONE
  DUMP: Level 0 dump on Wed Apr 14 14:10:28 2004
 
Backups are ow nrunning.  Not sure which account did the trick.  I had to su to root before I chaged root's passwd so I think it was probably the sys account.

Questions:

Can the sys account expire/get locked out?

Does sys have any connection to the cron facility?

Is this REALLY the solution, or did I just get lucky?
0
 
LVL 7

Expert Comment

by:fim32
ID: 10826562
i suppose it's possible... but the sys user shouldn't have a password!

if you haven't seen an email since march 7th, is it possible that there was a hung backup process that was tying up the tape device?
0
 
LVL 2

Expert Comment

by:CadburyKat
ID: 10832590
Probably better to run backups as root.  sys is for data collection.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 10852357
> .. `web17:/dev/rmt/0n' ..
tells me that the tape is on a remote machine: web12
So testing local to fix the problem sounds like barking up the wrong tree

Is web17 reachable?
Id the tape mounted there?
Cann you acces the tape from web17 itself?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11354074
beside my typos,  I don't see a reason for refund ;-)
0
 
LVL 18

Expert Comment

by:liddler
ID: 11354247
>> Changed password on root & sys and WALA!
because original problem was solved by changing password, it was supplemental questions that drifted
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11354804
oops, missed that comment. Agreed.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 11387626
PAQed, with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

733 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