Operating System - HP-UX
1833770 Members
2805 Online
110063 Solutions
New Discussion

urgent help required - can not umount the filesystem

 
Fang Jin
Occasional Contributor

urgent help required - can not umount the filesystem

Hi,
I am doing some file system resturcturing tasks.
I never encounter this problem before:
I couldn't umount the filesystem(my database datafiles' mounting point) with errors:
umount: cannot umount /oracle/PRD/sapdata1: Blcok device required. And now all datafiles's
mounting point size become 604547.
My bdf command displays:
/dev/vg05/lvol3 604547 353112 190980 65% /oracle/PRD/sapdata9
/dev/vg06/lvol2 604547 353112 190980 65% /oracle/PRD/sapdata8
/dev/vg03/lvol3 604547 353112 190980 65% /oracle/PRD/sapdata7
/dev/vg05/lvol2 604547 353112 190980 65% /oracle/PRD/sapdata6
/dev/vg05/lvol1 604547 353112 190980 65% /oracle/PRD/sapdata5
/dev/vg04/lvol2 604547 353112 190980 65% /oracle/PRD/sapdata4
/dev/vg04/lvol1 604547 353112 190980 65% /oracle/PRD/sapdata3
/dev/vg03/lvol2 604547 353112 190980 65% /oracle/PRD/sapdata2
/dev/vg03/lvol1 604547 353112 190980 65% /oracle/PRD/sapdata1

Which shouldn't be.
Could anyone give me the instruction how to solve it? (I have to finish the all tasks within today)
Many thanks in advance.

Jin



2 REPLIES 2
Varghese Mathew
Trusted Contributor

Re: urgent help required - can not umount the filesystem

Hi,

The most common error for what you can search for is the sequence you have mounted those filesystems, which results in the kind of said errors, nothing else.
I have observed these errors in our SAP systems in the very similar manner.You can gor to the specific directory /oracle/PRD/sapdata1 and see the output of "#bdf .", which will give yu the idea whether you are in the correct file system or somewhere else. You can even verify the /etc/mnttab the file syetm is pecified in that file too or not..

In the mentioned scenario, it can be a problem that after you have mounted the /oracle/prd/sapdata1, you might have tried to mount /oracle/prd as another file syetm, and then you are trying to unmount the file system which was mounted earlier..

Hope this helps a bit ..
Cheers !!!
Mathew
Cheers !!!
Fang Jin
Occasional Contributor

Re: urgent help required - can not umount the filesystem

System is recovered now, after rebooting.
The problem you mentioned might be one of the root cause. I couldn't remember sequence by which I mounted the system. But if I have mounted /oracle/PRD/sapdata1 already, would I
be able to mount /oracle/PRD to another file system? In my idea, /oracle/PRD must be mounted first, isn't it?
There could be another reason: I tried to change oracle redo log file systems and archive filesystems to non-mirroring. After which I did manually lvcreate with specified harddisk. However since this wouldn't update fstab, I had to manually add in the new entry for this creation.
Also noticed that when system rebooted it did resynconization of all mounting points which I didn't see before.

Thanks for your help.
Jin