Operating System - HP-UX
1752805 Members
5605 Online
108789 Solutions
New Discussion юеВ

Re: unable to mount file system

 
SHADRACH AMARH
Advisor

unable to mount file system

hi guys,
i restarted my server and the error i get when i do mount -a on one of the file system is this
..file system on /dev/vgsanidw/lvol1 has structural damage.. i this because when i do bdf, i dont see this particular file system, can someone please help me out..?
7 REPLIES 7
Aneesh Mohan
Honored Contributor

Re: unable to mount file system


#fsck -F vxfs -o full,nolog /dev/vgsanidw/rlvol1

#mountall


Aneesh
SHADRACH AMARH
Advisor

Re: unable to mount file system

hi boss
i did it and this is what i got..
# fsck -F vxfs -o full,nolog

/dev/vgsanidw/rlvol1
vxfs fsck: OLT extent 0 has bad magic
read of primary OLT failed
vxfs fsck: OLT extents conflict
read of OLT copy failed
vxfs fsck: no valid OLT, cannot continue
file system check failure, aborting ...
Jayan Nair
Frequent Advisor

Re: unable to mount file system

Hi,
check for cosole log for any inode corruption.
Please provide he below output
strings /etc/lvmtab
check the disk are available for this VG
Bill Hassell
Honored Contributor

Re: unable to mount file system

> vxfs fsck: OLT extent 0 has bad magic
> read of primary OLT failed...

This indicates that the directory has been badly corrupted and will have to be restored from backup tapes.


Bill Hassell, sysadmin
Vijaykumar_1
Valued Contributor

Re: unable to mount file system

Hello,

OLT is nothing but Object Location Table, which is used at the time of mounting a filesystem.

OLT gets corrupt due to scenario's like unexpected shutdown etc..

I hope the only way to recover is restoring from the recent back-up as Bill mentioned earlier..
Kapil Jha
Honored Contributor

Re: unable to mount file system

as a last option just before restoring,
you may try to fsck from alternate blocks

sck -o full -y -b

list of alternate super blocks is stored in /etc/sbtab

or u can try 16, 8240 or 16464 as they are common values.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Kapil Jha
Honored Contributor

Re: unable to mount file system

fsck -o full -y -b
I am in this small bowl, I wane see the real world......