1828210 Members
3132 Online
109975 Solutions
New Discussion

extending /usr

 
SOLVED
Go to solution
Rick Cottingham
Advisor

extending /usr

I have an 11.23 system; my /usr is 93% full and I need to apply maintenance which will take me to approx 97%. I want to increase it from 2560mb to 4000mb. I have jfs but not online jfs. My /usr is lvol7.

I am thinking that I should boot into single user mode and do this:

lvextend -L 4000 /dev/vg00/lvol7
extendfs -F vxfs /dev/vg00/rlvol7

Now, my question(s)are:
1)Is the correct way to do this ?

2) My system is quite small, one 36gb drive mirrored in its entirety by a second 36gb drive. Once I perform the above commands will I need to do anything to the mirror ?

Thanks
Rick
4 REPLIES 4
Pete Randall
Outstanding Contributor
Solution

Re: extending /usr

Rick,

First thing is to make sure you've got a backup, just in case.

For your questions:

1) Yes

2) No, the lvextend will be performed on both the orginal lvol and the mirror.


Pete

Pete
A. Clay Stephenson
Acclaimed Contributor

Re: extending /usr

1) Yes. The commands are in /sbin and all of those commands are statically linked which means that no shared library code (generally hopused in /usr is needed).

2) No, the mirroring doesn't care about the filesystem. Nothing more needs to be done.

If it ain't broke, I can fix that.
Rick Cottingham
Advisor

Re: extending /usr

10 points to both of you.
Thanks
Rick
Rick Cottingham
Advisor

Re: extending /usr

Replies from peers confirmed/solved my problem.