Operating System - HP-UX
1834179 Members
2517 Online
110064 Solutions
New Discussion

Cannot mount the file system

 

Cannot mount the file system

Hi,

I try to mount the unmounted file systems back, but one of the LV displays the following error messege,

"file system is not clean, full fsck required.
full file system check required, exiting ..."

The file system are just only unmount from the server, and never've been issue the "vgchgid" any more.

Do you have any ideas?

Thanks
SKE
7 REPLIES 7
Sridhar Bhaskarla
Honored Contributor

Re: Cannot mount the file system

Hi,

Do you see any block read or write errros in /var/adm/syslog/syslog.log?.

Why did you have to unmount the file systems and remount them back?.

Did you run fsck and see if it was successful?.

Try to unmount it and mount it again and see if the issue persists.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Tom Jackson
Valued Contributor

Re: Cannot mount the file system

You need to run fsck. Do a man fsck.

Tom
Jose Mosquera
Honored Contributor

Re: Cannot mount the file system

Hi,

A full fsck is run as follow:

#fsck -F vxfs -o full /dev/vg[nn]/rvol[n]

In some cases the logarea might have been damage. This requires a:

#fsck -F vxfs -o full,nolog /dev/vg[nn]/rvol[n]

See fsck_vxfs man page for more info.

Rgds.
Paul Sperry
Honored Contributor

Re: Cannot mount the file system

The fsck command audits and interactively repairs inconsistent
conditions for HP-UX file systems on mass storage device files
identified by special. If the file system is consistent, the number
of files on that file system and the number of used and free blocks
are reported. If the file system is inconsistent, fsck provides a
mechanism to fix these inconsistencies, depending on which form of the
fsck command is used.

man fsck
After fsck you will be able to mount
Steven E. Protter
Exalted Contributor

Re: Cannot mount the file system

Reminder: answer all fsck questions yes, even if they seem dangerous. Say no and nothing gets fixed.

The above instructions apply only vxfs filesystems.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ravi_8
Honored Contributor

Re: Cannot mount the file system

Hi,

#fsck -y /dev/vgxx/lvolxx
#mount /dev/vgxx/lvolxx /
never give up

Re: Cannot mount the file system

Hi All,

The problem is fixed already,
I just issue the command
"fsck -F vxfs -o full"

Thanks for all response.

SKE.
SKE