1753848 Members
8504 Online
108807 Solutions
New Discussion юеВ

Re: umount failure

 
SOLVED
Go to solution
Alberto Hurtado
Frequent Advisor

umount failure

Hi to all !
Somebody knows why it's the reason for this error:

mvi904 /-> umount -v /oracle/RY0/sapdata17
umount: cannot unmount /oracle/RY0/sapdata17 : Block device required


Your aid it's thanked
Alberto Hurtado
7 REPLIES 7
Rajeev  Shukla
Honored Contributor

Re: umount failure

Hi,
Yes to mount or unmout you need the block device file.
do a bdf /oracle/RY0/sapdata17 to see what device it is mounted on like /dev/vg01/...
and use the block device to unmount.
Other possibility is it could not be a filesystem you are trying to unmount, its just a directory.
Steven E. Protter
Exalted Contributor
Solution

Re: umount failure

umount is done by filesystem.

If the filesystem name is /oracle the command is:

umount /oracle

I believe you've put incorrect input into the command.

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
Jeff Schussele
Honored Contributor

Re: umount failure

Hi Alberto,

Sure sounds like you're trying to umount a non-mount point dir.

Run bdf to verify the mount point. If that doesn't show up then it's not a mount point & hopefully the ouput will give you a clue.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Suresh Patoria
Super Advisor

Re: umount failure

Hi,

I guess i think u trying to umount non exist mount point

use the bdf command

Then try to umount command to corrrect file system

Thanx
Chris Wilkinson
New Member

Re: umount failure

Also check your fstab file. Running umount filesystem name will look up the entry in fstab and try and unmount that device. If the entry is incorrect (raw instead of block for example) you get this error.
Sundar_7
Honored Contributor

Re: umount failure

Hi Alberto,

I ran in to a similar problem sometime back..

# bdf | grep /oracle/RY0

You might be having some other filesystems mounted. Unmount those before unmount this.

I am sorry I could not really recollect what was the source of the problem

Thanks,

Sundar,

Learn What to do ,How to do and more importantly When to do ?
Bill Hassell
Honored Contributor

Re: umount failure

There are two ways to mount or umount a filesystem: by the mountpoint name (ie, umount -v /oracle/RY0/sapdata17) or by the disk lvol, something like umount -v /dev/vg12/lvol2. In the first case, /oracle/RY0/sapdata17 must be in /etc/fstab and /oracle/RY0/sapdata17 must be a real mount point. If it is not in fstab, then you can only umount the device file itself. To verify that it is a mountpoint, use:

bdf /oracle/RY0/sapdata17

The right side of the line should read /oracle/RY0/sapdata17. If not, then /oracle/RY0/sapdata17 is not a mount point at all.


Bill Hassell, sysadmin