cancel
Showing results for 
Search instead for 
Did you mean: 

FS inconsistency on HPUX

 
Highlighted
vijay alur alur
Frequent Advisor

FS inconsistency on HPUX

Hello All,

 

We are regularly facing backup error on database/application mount points. It says that there is a filesystem inconsistency on the filesystem. This happens on regularly basis. We have to frequently run fsck on the filesystem to fix the issue. But this is not an ideal situation. Any one having any idea about this? how we can avoid this? what is causing filesystem inconsistency on regularly basis?

 

 

Regards,

Vijay

Lead Engineer, IMS.
iGATE
3 REPLIES 3
Bill Hassell
Honored Contributor

Re: FS inconsistency on HPUX

Filesystems normally do not go bad, requiring fsck.

 

However, if you simply power off your server (like a PC) rather than properly using shutdown), then your mounted filesystems (at the time of the powerfail) will certainly require fsck to fixup the mess.

 

Now if you left out some very important information about your filesystems such as BCVs or business copy, or snapshots, then you need to go over your procedures. Whether you use BCVs or a simple dd to copy raw data between two lvols, once a filesystem is mounted, a copy of that filesystem will always require fsck to repair the structures in the copied filesystem. If you first un-mount a filesystem before copying then fsck won't be required when you mount the copy as the filesystem is offline.



Bill Hassell, sysadmin
Yogesh-Puranik
Occasional Advisor

Re: FS inconsistency on HPUX

Hello,

 

Please check below things,

 

1.Please check whether any quota has been set on this file system using,

/usr/sbin/quotacheck

 

2.Check whether largefiles option is set on the filesystem while creation.

 

Rgds,

Yogesh

 

 

vijay alur alur
Frequent Advisor

Re: FS inconsistency on HPUX

sorry to delayed update, Bill you are absolutely right. THis server is a DR server and is on continous replication frm Primary site. We learned that and unmounted and deactivated the VG's that are getting replicated.

 

Really good catch Bill!

 

 

Thanks.

Lead Engineer, IMS.
iGATE