Solved

Why is are my backups failing?

Posted on 2004-04-14
15
765 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
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
 

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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

758 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now