1833017 Members
2367 Online
110048 Solutions
New Discussion

Re: No unmount command

 
Andy Sevastian
Occasional Contributor

No unmount command

I am attempting to increase some of my logical volumes, I am finding I do not have an unmount command, I am running hp-ux 10.20. I did a search through the entire vg. I do not want to have to reboot and start up in single user mode. Is there any way of unmounting?
Thanks

Andy
4 REPLIES 4
Alan Riggs
Honored Contributor

Re: No unmount command

/usr/sbin/umount

is the command you want. A filesystem may not be umounted while it is busy. The fuser command will show you processes attached to a filesysem or logical volume. Also, if you have online JFS on the server it is not necessary to umount the filesystem in order to increase the filesystem. Simply extend the logical volume (using lvextend), then increase the size with the fsadm command (-b flag, size specified in Kb: man fsadm_vxfs for info)
James R. Ferguson
Acclaimed Contributor

Re: No unmount command

Andy:

See "man 1M mount" for mount or umount. To un-mount

/usr/sbin/umount
/sbin/umount

...JRF...
Rita C Workman
Honored Contributor

Re: No unmount command

As they already mentioned the command is umount.
BUT...if your wanting to increase your logical volumes, have you checked to see if you have Online JFS (with this you do NOT need to umount any filesystems).
Do:
swlist | grep -i online

If you do have this than you only need to do the
lvextend ...... command and then
fsadm -F vxfs -b /filesys
KB=MB * 1024
If you don't have Online JFS, than YES you will have to umount the filesystem and then extend. If it's on vg00 than I recommend rebooting and going to single user to do your extending.

/rcw
Dan Hetzel
Honored Contributor

Re: No unmount command

Hi Andy,

You're surely not the first one to be confused by the somewhat cryptic Unix names. ;-)
Many people talk about 'unmounting' a filesystem, but the real command name is 'umount' (no N..), located in /usr/sbin.

See man 1M mount as this will give you the umount page as well.

If I were you, I'd create the /usr/lib/whatis database which would allow you to search any command by keyword.

# catman -w

will create the 'whatis' database.

Once created, you may use
# man -k keyword
to search for a given keyword in the whole set of manual pages.


Best regards,


Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com