1833596 Members
3556 Online
110061 Solutions
New Discussion

backup fails

 
Pieter_5
Advisor

backup fails

Hi,

When I backup my filesystem to a DLT-tape I get the following errors.

fbackup(3027): ioctl error, can't query outfile
at media record 668850
fbackup(3102): attempting to make this volume salvagable
fbackup(3123): could not read the previous checkpoint record
fbackup(3105): writing 2 EOFs and rewinding the tape
fbackup(3106): please mount a good tape
fbackup(3041): output file /dev/rmt/0m is currently being used and not available
fbackup(3019): would you like to enter a new output file?

What is the cause of this?
5 REPLIES 5
Bernhard Mueller
Honored Contributor

Re: backup fails

Pieter,

I would guess it sounds like a bad tape or a problem with the drive.

Did you try a new fbackup with a new tape?
Did you check the drive LEDs if it wants a cleaning tape?
Did you check for other processes attempting to use /dev/rmt/0m (use lsof, if you do not have it, download and check using lsof | grep /dev/rmt/0m)

Regards,
Bernhard
G. Vrijhoeven
Honored Contributor

Re: backup fails

Hi,

Can you do a # mt -t /dev/rmt/0m rew?
Can you write files to the tape with tar?
( tar cvf /dev/rmt/0m /etc/hosts )
Can you do a ioscan -fnkCtape and list the device file?

Gideon
Paula J Frazer-Campbell
Honored Contributor

Re: backup fails

Hi

The error:-

fbackup(3106): please mount a good tape

Indicated either a bad tape, dirty drive or a faulty drive.

Paula
If you can spell SysAdmin then you is one - anon
Steven E. Protter
Exalted Contributor

Re: backup fails

One thing I can tell you. Nothing on that tape is salvageable. I've had to replace tapes in that circumstance many times. At least once, I've had to ditch the tape drive and and get a new one from HP Hardware.

You may see some errors in dmesg or /var/adm/syslog/syslog.log output

ioscan the tape drive?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Todd McDaniel_1
Honored Contributor

Re: backup fails

Pieter,

Is this happening with every tape or one tape?

I would first try to clean the drive with a clean tape and then try to run a test backup with a new unused DLT tape.

If all else fails I would replace the drive and test your tapes again... then if that is still happening, I would check with HP support.
Unix, the other white meat.