- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Read IO Error while copying a file
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
11-11-2004 02:50 AM
11-11-2004 02:50 AM
We have a dbf file in an Logical volume. While backing up that file with Data Protector we received Read IO error. While copying the file also I am getting same error. I tried dd as well as cpio but got same error. But strange thing is I am able to tar that file. while doing tar i get following message
#tar cvf ../1nov04.tar ./impdata.dbf
a ./impdata.dbf 2088976 blocks
./impdata.dbf: file changed size
When I restore this file on other machine, database is not coming up this file.
There are not disk errors. Application as well as database is running without any error.
Only one file is having problem among all the file systems.
In syslog.log following error is noticed
Oct 5 01:10:12 hp15 vmunix: msgcnt 1 vxfs: mesg 038: vx_dataioerr - /dev/vgfn/lvdata03 file system file data read error
I could not run fsck as could not get outage.
I am planning to move PEs of the logical volume to different PV ONLINE. Does anyone have other solution/suggestion...Please Suggest
Many Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 02:58 AM
11-11-2004 02:58 AM
Solutiondiskinfo /dev/dsk/cxtxdx
Does it returns OK??? Any erros for the disk in EMS, syslog?? dmesg??
You may try as follows.
mount -F vxfs -o ro /dev/vgxx/lvolx /xxx
then try copying file somewhere else.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 03:26 AM
11-11-2004 03:26 AM
Re: Read IO Error while copying a file
I can not unmount the file system...No Outage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 07:06 AM
11-11-2004 07:06 AM
Re: Read IO Error while copying a file
Since you have no outage available, you must be running a production system 24x7 and it sounds like you do not have disk mirroring. This is a serious situation (no disk mirroring) and you'll need to plan on how to salvage what you have so far, and how to get around the inevitable database error when you try to export or otherwise save /dev/vgfn/lvdata03. Note that you WILL get the same error when you try to move the PE's to another volume so that will not fix anything.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 07:15 AM
11-11-2004 07:15 AM
Re: Read IO Error while copying a file
At this point, I'd fire up a tool light cstm mstm or xstm and run excercize on every disk present.
One of them will come up red as in dead and fail the exercize. That disk will need to be replaced. The tablespace will have to be restored from backup.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 07:19 AM
11-11-2004 07:19 AM
Re: Read IO Error while copying a file
Is there any way I can save my data?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2004 06:20 AM
11-26-2004 06:20 AM
Re: Read IO Error while copying a file
using lvextend.
Once mirroring is done, I will break the mirror and run fsck on mirrored copy.
Can any one comment on this?
Regards
Shirish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2004 06:34 AM
11-26-2004 06:34 AM
Re: Read IO Error while copying a file
Once you are back online with the restored lvol, you'll need to backup every lvol in /dev/vgfn. I would make a couple of backups because you are going to remove the VG, replace the disk, then recreate the VG and lvols, and restore them.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2004 07:08 AM
11-26-2004 07:08 AM
Re: Read IO Error while copying a file
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 05:30 AM
11-29-2004 05:30 AM
Re: Read IO Error while copying a file
dd if=/dev/rdsk/
More then likely it will come back with a message that says somethign like:
X number of records in
X number of records out
I/O Error
Best regards,
Kent M. Ostby