- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: backup with dd fails with I/O error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 02:34 AM
03-15-2001 02:34 AM
backup with dd fails with I/O error
xxxxx+0 records in
xxxxx+1 records out
I/O error
return code from dd is "2"
does anyone know something about problems like this, is it possible that system parameters doesen't have the right size ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 02:55 AM
03-15-2001 02:55 AM
Re: backup with dd fails with I/O error
I guess you need to confirm the if= and of= parameters are correctly set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 03:51 AM
03-15-2001 03:51 AM
Re: backup with dd fails with I/O error
To verify your device files for the tape
use ioscan -fnkCtape
The device file for your database should be
your if not your of!!!!
Be carefull with dd.
The bs is not critical.
Do oracle not have their own backup software.
I'm not sure how great dd is, in particular
if you just want to recover one file..
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 04:13 AM
03-15-2001 04:13 AM
Re: backup with dd fails with I/O error
Can you give us the command you use ?
Marcel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 04:25 AM
03-15-2001 04:25 AM
Re: backup with dd fails with I/O error
the dd command is generatet by sap-software, the parameters are set in a parameter file.
here 's the command
dd obs=64k bs=64k if=/oracle/C31/sapdata1/btabd_1/btabd.data1 of=/dev/rmt/c7t2d0BESTn
commands like the above where generated while the backup is running for each datafile of the database
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 04:41 AM
03-15-2001 04:41 AM
Re: backup with dd fails with I/O error
What is the output from ioscan -funC tape and dmesg ? Can you find somthing in /var/adm/syslog/syslog.log ?
Marcel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 04:56 AM
03-15-2001 04:56 AM
Re: backup with dd fails with I/O error
I've experimented with a large filesystem and a small tape and get exactly the same symptoms as you when dd reaches end of tape.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 04:57 AM
03-15-2001 04:57 AM
Re: backup with dd fails with I/O error
i checked the output of ioscan -funC tape and it looks ok, i can see the device file, checking the syslog is a good idea but i couldn't find any error message concerning the tape drive or dd.
later stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 05:03 AM
03-15-2001 05:03 AM
Re: backup with dd fails with I/O error
good idea i looked for this but mostly the backup brakes soon after it has been startet. at this point of time the tape should not be at the end
later stefen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 05:09 AM
03-15-2001 05:09 AM
Re: backup with dd fails with I/O error
no rewind so perhaps the tape is running out
of length?
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 06:08 AM
03-15-2001 06:08 AM
Re: backup with dd fails with I/O error
If it's the first dd of a set, has the tape been reloaded or rewound?
Don't forget that using the no rewind device (as you do), you will have to specifically rewind/offline the tape with the 'mt' command or physically offline it after doing the backup otherwise the tape will remain positioned after the last file that you wrote.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 06:19 AM
03-15-2001 06:19 AM
Re: backup with dd fails with I/O error
i'm shure that the tape runs not on the end. the sap software is configured to rewind the tape first. after rewinding the tape administration information will be written on the tape with cpio and then the backup will begin. all datafiles are saved one after the other on the tape with no rewind (overwrite problem) if the tape will run to the end the backup should run a long time - so think i - hardware is ok - i've built in a new drive
thanks for helping me
stefan