Operating System - HP-UX
1847350 Members
4907 Online
110264 Solutions
New Discussion

Change /etc/fstab cause "hang"

 
Alianto
Advisor

Change /etc/fstab cause "hang"

Hi,

Does anyone know how to solve this problem ?

I had finished with my a short project and I had modified /etc/fstab fil in order to save time of the project, but then apparently the way that I did make the logical volume become corrupted. I know this when I issue some command to retrieve some info on this. For example using "lvdiplay" command. Generally this command will retrieve some info about the logical volume. But when issue the command with the particular logical volume, it hangs.
And also SAM program is going to be "hang" when I choose option "Disks and File Systems".

In /etc/fstab:

before:
/dev/vg08/lvol10 /home/oracle8173 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2

after:
/dev/vg08/lvol10 /home/oracle81732 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2

I update the "oracle8173" to be "oracle81732". When I open SAM "Disks and File Systems", this menu hang". Or when i issue the following command,

# lvdisplay /dev/vg08/lvol10

< hang, never ending >

Please kindly share the experience how to solve this problem ?

Thank You,

Mark
4 REPLIES 4
Ivajlo Yanakiev
Respected Contributor

Re: Change /etc/fstab cause "hang"

hi,

Did you try to restore old fstab and try SAM and other commands. My be fstab isn't problem.
If you restore your orginal fstab and problem still there pls write.
Also check
#dmsg
for error

Steven E. Protter
Exalted Contributor

Re: Change /etc/fstab cause "hang"

That might to happen if you make changes to /etc/fstab while the logical volume is still mounted.

I think if you put it back you will find the logical volume is not corrupted and the database can be recovered.

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
Roberto Arias
Valued Contributor

Re: Change /etc/fstab cause "hang"

Hello Alianto:

I think that the system think that the Filesystem is mounted.Please check the file /etc/mnttab whit bdf and mount -v . If this commands hangs the problem may be there.

try this:
kill proces hang and
mv /etc/ /etc/fstab
mv /etc/mnttab /etc/mnttab.old
mount -a
check whit bdf or mount -v

For check the filesystem use the fsck -F vxfs

Best regards.
wizard
The man is your friend
Alianto
Advisor

Re: Change /etc/fstab cause "hang"

case closed.