1751691 Members
4638 Online
108781 Solutions
New Discussion

Increase volume disk

 
SOLVED
Go to solution
Yaroki
Super Advisor

Increase volume disk

Hello,

 

I would would like to increase size on /dev/vg00/lvol9 but its mounted by nfs (auto_master) on /scc directory.

I tried to unmount it but it the device is busy and could not be unmounted.

 

How can I perform the action?

 

BR,

 

Yali.

 

10 REPLIES 10
Pete Randall
Outstanding Contributor

Re: Increase volume disk

You would have to increase the size on the NFS server that owns the disk - you can't do it on the NFS client that is mounting the disk.

 

As far as unmounting it is concerned, you would have to eliminate all open references to it, which can be just about impossible.  Usually the easiest way is to reboot.


Pete
Naj
Valued Contributor

Re: Increase volume disk

Hi,

 

>I tried to unmount it but it the device is busy and could not be unmounted

Please try

 

#df /dev/vg00/lvol9

See the output, did you getting any error?what error is that?

 

#fuser -ku (local folder)

 

Once it's done, try to umount and if the issue remain same, you should reboot the server

 

Thanks

 

BR

Naj

 


____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
Steven E. Protter
Exalted Contributor

Re: Increase volume disk

Shalom,

You would need to shut down the auto_master service, probably all NFS services as a minimum to get the umount to work.

I would suggest scheduling a maintenance window during which you can bring down necessary services to perform this task.

You might find this easier to perform after a reboot into hpux -lm <logical volume maintenance mode> from the system console.

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
Pete Randall
Outstanding Contributor

Re: Increase volume disk

> You would need to shut down the auto_master service,

 

Sorry - not exactly true.  If no one is referencing the mount point you can manually unmount it.  However, another reference to it will cause it to be automatically remounted.


Pete
Steven E. Protter
Exalted Contributor

Re: Increase volume disk

Agreed. Change need to "It would be easier" I am assuming the issue you are running into is because the mount point is active.

 

Low graphics smiley.

:-)

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
Arunabha Banerjee
Valued Contributor

Re: Increase volume disk

If you are running HP-UX 11.11 or 11.23 then you need to reboot the server because most of the time it is very difficult to unmount nfs mount point in these HP-UX version. Please try to follow the steps:

 

# fuser /scc

Now try to kill all the PID using this directory.

# fuser -kuc /sec ( It will kill all the PID forcefully)

 

Still if you are not able to unmount or might some PID still using this directory then there is no other way and you have to reboot.

 

If you are using HP-UX 11.31 there is a new option for forcefully unmount

# umount -f /sec

 

Please let me know still if you have any difficulties.

AB
Yaroki
Super Advisor

Re: Increase volume disk

Thank you for your replies.

 

Actually I'm holding 2 old HP-UX versions: B.10.20 and B.11.11.

Should I reboot the system into hpux -lm and then run the following?

 

#f user /scc

# fuser -kuc /sec

 

Or should I do it on the casual root mode?

 

BR,

 

Yali

Dennis Handly
Acclaimed Contributor

Re: Increase volume disk

>Should I reboot the system into hpux -lm and then run the following?

#fuser /scc

 

Once you rebooted, usually no need to use fuser.

Arunabha Banerjee
Valued Contributor
Solution

Re: Increase volume disk

As already confirmed that if you are rebooting this server then no need to run this command. So before rebooting the server just run the fuser command as posted earlier and if you are lucky then it will work.

AB