Operating System - HP-UX
1830899 Members
3302 Online
110017 Solutions
New Discussion

/usr file system extension

 
SOLVED
Go to solution
so_2
Regular Advisor

/usr file system extension

Hi All

how to extend the /usr file system on a server which is not having online JFS?

Thanks
s.o
4 REPLIES 4
RAC_1
Honored Contributor
Solution

Re: /usr file system extension

You will have to umount /usr and do lvextend and extendfs. But in multiuser mode, you will have lots of apps/programs accessing /usr. So boot into single user mode and do it.
There is no substitute to HARDWORK
Peter Godron
Honored Contributor

Re: /usr file system extension

James R. Ferguson
Acclaimed Contributor

Re: /usr file system extension

Hi:

To extend '/usr' in the absence of OnlineJFS, boot into single user mode. The commands you need are found in '/sbin' since '/usr' will not (and cannot) be mounted to extend your filesystem in the absence of OnlineJFS.

Use 'lvextend' to increase the size of the logical volume that hosts the '/usr' filesystem. Then, use 'extendfs' to enlarge the actual filesystem.

Reboot the system. This is the easist way to restart and bring your server back to a production state.

Regards!

...JRF...
so_2
Regular Advisor

Re: /usr file system extension

Thanks to all . Ponts have been assigned to all.