1836600 Members
2548 Online
110102 Solutions
New Discussion

Backup Problem

 
SOLVED
Go to solution
anantham_1
Occasional Contributor

Backup Problem

Dear Gurus,

syslog

May 21 14:18:47 HCANP vmunix: SCSI TAPE: dev = 0xcd000000 I/O error during clo
se
May 21 14:24:47 HCANP vmunix: SCSI TAPE: dev = 0xcd000000 I/O error during clo
se


Above mentioned error is coming while taking backup and it ends intermediately with console error "end of tape".Tried with new tape.Still problem repeats. Thanks for your reply.

With Regards,
Anand
11 REPLIES 11
Sivakumar TS
Honored Contributor

Re: Backup Problem


Hi,

The first thing to check is cleaning the drive !

Regards,

Siva.
Nothing is Impossible !
Darrel Louis
Honored Contributor

Re: Backup Problem

Hi,

What type of tape device are you using?
Do you see a cleaning light flashing on the device?
What's the output of:
ll /dev/rmt|grep cd

Which product are you using for making backups?
Which tape device file are you using:
/dev/rmt/

Darrel
anantham_1
Occasional Contributor

Re: Backup Problem

Dears,

Tried with new cleaning and data cartridge still problem repeats.

DAT drive model:SONY SDT9000
DATA Cartridge :HP DDS2

Output of "ll /dev/rmt|grep cd" command is nothing.The tape devie file used is "/dev/rmt/0m"

Regards,
Anand
Darrel Louis
Honored Contributor

Re: Backup Problem

Hi,

Are you sure you are using the correct tapes, DDS2?
Check tape state with ioscan:
- ioscan -fnCtape
Can you perform some tests on the tape device:
- Rewind tape (mt -f /dev/rmt/0m rew )
- tar cvf /dev/rmt/0mn /stand/vmunix
- tar rvf /dev/rmt/0mn /etc/profile
- Rewind tape
- check contents of tape: tar tvf /dev/rmt/0m


Darrel
JASH_2
Trusted Contributor

Re: Backup Problem

Anand,

The error that it is failing with is that it is reaching the end of the tape. It could be that somebody has put some big files in recently which has made the backup a bit bigger, thus the backup is running out of tape. Try doing it in 2 bits, ie the database (if you have one) over night and the flat files during the day.

Regards,

JASH
If I can, I will!
Robert-Jan Goossens
Honored Contributor
Solution

Re: Backup Problem

Hi Anand,

Try to diagnose the problem with the Sony Tape Tool for HP-UX PA-RISC.

http://sony.storagesupport.com/dds/tapeutility_hpux_parisc.htm

Regards,
Robert-Jan
anantham_1
Occasional Contributor

Re: Backup Problem

I am using DDS2 cartridge only and I could able to take backup of very small size files.But if any big size(approximately more than 10k block size)file comes then it starts giving this error message.

Regards,
Anand
Torsten.
Acclaimed Contributor

Re: Backup Problem

The error message indicates usually a bad drive.

If cleaning is not helpful, replace the drive.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sheriff Andy
Trusted Contributor

Re: Backup Problem

Have you used any other tapes besides this one tape? It could be a problem with the tape itself.

Andy
Michael D. Zorn
Regular Advisor

Re: Backup Problem

I think Torsten has it - bad drive. You can check that out with

#dd if= of=/dev/rmt/0m bs=8192 (or maybe even bigger)

Do you really need to use 0m? 0h should give more data pn the tape.
anantham_1
Occasional Contributor

Re: Backup Problem

Dear all,

Thanks for your response.It was DAT drive problem only.After replacing drive it is working fine and I could able to take backup as well.Thanks once again.

With Regards,
Anand.