Operating System - HP-UX
1827293 Members
2574 Online
109717 Solutions
New Discussion

mount - file system on /dev/vg00/lvol6 has structural damage

 
SOLVED
Go to solution
Ken Penland_1
Trusted Contributor

mount - file system on /dev/vg00/lvol6 has structural damage

Has anyone seen this error before?
Anyway to fix it without replacing the drive?

# mount /tmp
mount - file system on /dev/vg00/lvol6 has structural damage

# fsck /dev/vg00/lvol6
vxfs fsck: OLT extent 0 has bad checksum
read of primary OLT failed
vxfs fsck: OLT extent 1 has bad checksum
read of OLT copy failed
vxfs fsck: no valid OLT, cannot continue
file system check failure, aborting ...
'
5 REPLIES 5
Victor BERRIDGE
Honored Contributor

Re: mount - file system on /dev/vg00/lvol6 has structural damage

Hi Ken,
>Anyway to fix it without replacing the drive?
How much space to you have left on that pv?
Are you mirrored?
The rapid workaround would be if you have some spare logical extend would be to add a new lv and mount it on /tmp the other alternative would be to use a symbolic link to somewhere with more space then lvremove /dev/vg00/lvol6 and recreate it again

All the best
Victor
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: mount - file system on /dev/vg00/lvol6 has structural damage

You are fortunate that this is /tmp. You should be able to simply create a new filesystem.

cat /etc/fstab to make sure that lvol6 is a vxfs filesystem then
newfs -F vxfs /dev/vg00/rlvol6
mount /tmp

Of course, any files residing in /tmp will be lost but that should be of little consequence.


If it ain't broke, I can fix that.
Alex Lavrov.
Honored Contributor

Re: mount - file system on /dev/vg00/lvol6 has structural damage

Looks bad. You Object Location Table is damaged, but as I saw it can be fixed sometimes, here is a thread with a document that explains the whole issue:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=317817



And couple of other ones:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=695634
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=13072


Good luck!
I don't give a damn for a man that can only spell a word one way. (M. Twain)
A. Clay Stephenson
Acclaimed Contributor

Re: mount - file system on /dev/vg00/lvol6 has structural damage

Your situation is not all that uncommon especially if you were using the tmplog or nolog mount options. tmplog is not that bad a choice for /tmp because the files are by definition temporary and there is a performance boost derived from this mount option. The downside is that critical metadata can be lost during a system crash; there is little direct consequence of losing the temporary files but reboots may require intervention that would likely be avoided if the log or delaylog mount options were in effect. It's your call but delaylog is probably a reasonable choice for performance and robustness for /tmp (and /var/tmp if it is a separate filesystem).
If it ain't broke, I can fix that.
Ken Penland_1
Trusted Contributor

Re: mount - file system on /dev/vg00/lvol6 has structural damage

Thanks to all for your replies..doing a newfs on the file system corrected the problem. You were right, we were lucky this was only /tmp ;)
'