Operating System - HP-UX
1840482 Members
3431 Online
110165 Solutions
New Discussion

fstab and file system currepted

 
nasmel
Frequent Advisor

fstab and file system currepted

Hi all

Accidently i removed my fstab file.My system has Logical volume.
When i try to boot system is asking to do the filesystem check mannually.but when i tried to do this,its failing and error message says that fsck faild since it has no fsck pass no in fstab.

Please tell me how to recover my fstab file and how to do the file system check

Thanks
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: fstab and file system currepted

Shalom,

/etc/fstab can be restored from a recvent backup.

It can be extracted from an Ignite backup.

You can copy it from another system and then modify it.

ioscan -fnC disk
Will provide you a list of device names.

strings /etc/lvmtab

Will provide you a list of what volume groups disks are in.

Best bet is to boot the system into single user mode and rebuild the fstab file, assuming no backup is available.

After this you can reboot the system and the file system check will happen automatically at boot.

SEP
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
nasmel
Frequent Advisor

Re: fstab and file system currepted

Thanks everyone


Restored my fstab and system is up..thanx...