?
Solved

Why is are my backups failing?

Posted on 2004-04-14
15
Medium Priority
?
776 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
  • 5
  • 3
  • 3
  • +3
14 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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.
Suggested Courses
Course of the Month14 days, 14 hours left to enroll

839 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