Solved

Why is are my backups failing?

Posted on 2004-04-14
15
768 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
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.

777 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