1752749 Members
4962 Online
108789 Solutions
New Discussion юеВ

/opt dir

 
SOLVED
Go to solution
Sandile
Occasional Advisor

/opt dir

Hi all
Do I need to boot the server on the single user mode if I want to increase the size ?
When days are dark friends are very few
4 REPLIES 4
Alex Glennie
Honored Contributor
Solution

Re: /opt dir

certainly do then run lvextend -L ### followed by an extendfs : both man pages have good eg's syntax.

ps unless you have on-line jfs installed ?
Rainer von Bongartz
Honored Contributor

Re: /opt dir

As long as you don't have OnlineJFS installed you need to umount /opt.

If nothing is busy on /opt you won't need single user.

Try umount'ing /opt. If OK then extend lvol and FS.
If umount says 'Device Busy' you could try to find the busy application on /opt (use fuser)

Shut down (if possible) every identified application using /opt and you are fine.
Otherwise single user is required.


Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Vicente Sanchez_3
Respected Contributor

Re: /opt dir

Hi,

If you have Online-Jfs you don't need to stop anything.

If not, depending on the file system you want to increase size.

For data FS, you have to stop all proceses and then increase.

For OS FS, you need to boot in single user. Remember root FS. /opt is one of these.

Use the commands sugested by Alex.

HTH, Vicente.
Sandile
Occasional Advisor

Re: /opt dir

Thanks a lot you 'all have answered my questions.

Thanks
When days are dark friends are very few