?
Solved

Why is are my backups failing?

Posted on 2004-04-14
15
Medium Priority
?
773 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
Independent Software Vendors: 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…
Suggested Courses
Course of the Month11 days, 9 hours left to enroll

752 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