- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: can not fsck
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
07-03-2002 02:35 AM
07-03-2002 02:35 AM
when I do a fsck -F vxfs -y /dev/vg00/lvol7
it said " had I/O error on meta data", I go to single user mode, fsck again, and got the same
error.
any idea?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 02:42 AM
07-03-2002 02:42 AM
Re: can not fsck
Add on the -o full option and retry. If you still have the problem you may need to check you have the latest VXFS/JFS patches installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 02:44 AM
07-03-2002 02:44 AM
Re: can not fsck
This can be down to bad blocks on the area of disk your lvol resides. I had a similar issue the other day and found the only way to clear it was to
Backup the data in that area.
Luckily for me it was only /tmp
I then had to run a newfs on that lvol
In your case
newfs -F vxfs /dev/vg00/rlvol7
(Note the newfs is performed on the raw volume)
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 02:45 AM
07-03-2002 02:45 AM
Re: can not fsck
Try Stefan's option first - I did run -o full though and it still didn't cure it
Regards
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 02:46 AM
07-03-2002 02:46 AM
Re: can not fsck
I suspect you got a faulty disk
Run cstm to confirm if disk is faulty
# cstm
cstm>map
cstm>sel dev
cstm>info
cstm>infolog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 02:53 AM
07-03-2002 02:53 AM
Re: can not fsck
Have you got any errors messages in the syslog or from dmesg. Somthing with regard to
inode number
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 02:55 AM
07-03-2002 02:55 AM
Re: can not fsck
To check whether the disk is faulty, you can also use dd such as:
# dd if=/dev/vg00/lvol7 of=/dev/null bs=8192
or
# dd if=/dev/dsk/cXtYdZ of=/dev/null bs=8192
If the dd is unsuccessful, you have a faulty disk which cannot be read properly.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 02:57 AM
07-03-2002 02:57 AM
Re: can not fsck
1. -o still the same error
2. #vgdisplay -v vg00
it shown lvol7 belongs to /dev/dsk/c0t6d0
3.ctsm shows error N/A
#diskinfo -v /dev/rdsk/c0t6d0
gives this message:
additional inquiry bytes: (32)31 (33)30 (34)36
...... (139)0
any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 03:02 AM
07-03-2002 03:02 AM
Re: can not fsck
how long did dd if/of take?
so far I run 5mins, no messages return.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 03:03 AM
07-03-2002 03:03 AM
Re: can not fsck
I think we can rule out a problem with the whole disk as you would have errors elsewhere
A newfs will almost certainly clear your problem. A little harsh some may add. What data have you got in that lvol ? Back it up first > single user and perform action
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 03:05 AM
07-03-2002 03:05 AM
Re: can not fsck
there are many error message in syslog.log
like this:
error reading inode 79625
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 03:06 AM
07-03-2002 03:06 AM
Re: can not fsck
You can ctrl c to stop the dd, you will get somthing like
If the 2 figures are the same then you are ok
If you get I/O ERROR then you have a problem with the disk. In which case you have nothing to lose running the newfs
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 03:10 AM
07-03-2002 03:10 AM
Re: can not fsck
exactly the same symptoms I had with /tmp
This also caused issues with users who were trying to collect data from that area. I could see it from the terminal as root. They were using ftp applications which couldn't read the data in that area. Plus other things such as my backups were failing
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 03:10 AM
07-03-2002 03:10 AM
Re: can not fsck
are you sure of this:
newfs -F vxfs /dev/vg00/rlvol7
btw,I have the backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 03:13 AM
07-03-2002 03:13 AM
Re: can not fsck
go to single user
shutdown -y 0
filesystem will be unmounted
perform the newfs
reboot
restore your data
Regards
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 03:14 AM
07-03-2002 03:14 AM
Re: can not fsck
ctrl -c
I got this:
1269500 in
1269500 out
it seems the harddisk is ok, right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 04:06 AM
07-03-2002 04:06 AM
Re: can not fsck
Yes, your input and output to the disk is ok. Therefore it's just an area on the disk which is bad. I know it seems a radical step having to wipe the data off an lvol then restoring it. I have been a little worried in the past following actions that HP have given me.
If you want official advise on how to clear this and have a support contract then I would get an engineer to confirm the actions. That way you having something to fall back on if anything should go wrong.
For sound peace of mind
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 04:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 04:46 AM
07-03-2002 04:46 AM
Re: can not fsck
grep -i -e crit -e warn -e err -e fail -e problem /var/adm/syslog/syslog.log
Now, LVM is smart enough to fix this *IF* bad block relocation has been turned on. Use lvchange -r y to turn on the feature for each logical volume (note: some big diskarrays require this to be off and use diskarray tools to fix the error).
Once BadBlockRelocation is on, the next attepmt to write to the bad spot will cause the relocation to occur and all will be well again. Since you don't have any control over whether directory blocks and metadata is updated, newfs will handle this for you. Don't try to just restore the data without newfs. The directory metadata is corrupted and even though it may eventually get rewritten, some of it must be intact to know where to put the new data.
Note that a bad spot will always stay bad (can't be read) and will get worse with age. If this disk is not mirrored, get the Mirror/UX product, mirror your disks and plan for a replacement. If these are old (and likely very small) disks, look at a complete upgrade with mirroring.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 05:14 AM
07-03-2002 05:14 AM
Re: can not fsck
The advice from Bill is a sound as we are ever going to hear. From the prophets mouth I would say.
So - we don't have IO errors, so physical connectivity is ok - timeouts, termination etc
We do have a bad spot - which , as Bill advises a newfs will clear then a restore of the data in that area. But , for a disk to develop bad spots is a sign that it is on its way out so a replacement should be organised.
I'm off for a game of football now
Good luck
Post how you got on with the fix
Regards
Steve