Discussion:
Please clarify /usr partition size for 6.9 release
Jay Hart
2021-05-18 23:11:53 UTC
Permalink
My partition size for /usr is 2.0G. Currently using 1.1G, and df is reporting 783M available.

Can I upgrade from 6.8 release to 6.9 release without the upgrade failing due to lack of space in /usr?

I'm thinking I'm ok.

In the future, would it be advisable to increase this partitions size? I could swap /usr (2.0G) for /tmp (3.9G), if I had a process to do
this.

Thanks in Advance!

Jay
Jay Hart
2021-05-19 01:59:31 UTC
Permalink
Answered my own question.

Jay
Post by Jay Hart
My partition size for /usr is 2.0G. Currently using 1.1G, and df is reporting 783M available.
Can I upgrade from 6.8 release to 6.9 release without the upgrade failing due to lack of space in /usr?
I'm thinking I'm ok.
In the future, would it be advisable to increase this partitions size? I could swap /usr (2.0G) for /tmp (3.9G), if I had a process to do
this.
Thanks in Advance!
Jay
Jay Hart
2021-05-19 12:28:56 UTC
Permalink
Ian,

Thanks for the reply. I figured maybe it was low issue for people and just wanted the list to know I resolved it so no time spent on it...

I reread the upgrade guide, and then looked at past upgrade guides and came to the conclusion the documentation just said you only needed
a partition for /usr greater in size than 1.1G, which I have (not that you needed 1.1GB of free space on the partition). So I went ahead
and upgraded to 6.9, no issues noted...

The issue really is this: I set up this router years ago when the install documentation must have stated a [recommended] partition size
for /usr of 2.0GB. 2.0GB is the current partition size for /usr on this router. I could be wrong on this. Compared to other partitions
on this box /usr is far smaller than anything else...

/usr, right after I finished upgrading to 6.8 (all patches installed, ports/packages upgraded, sysclean ran, etc) had 783M free. After
the same process going to 6.9, /usr has 813M free.

I really was/am concerned about running out of space on /usr. I still am, and I could swap my /tmp and /usr partitions if I knew how to
do this...and, if the thought is /usr would fill up or cause issues in future upgrades.

I also have a /usr/obj, /usr/src, /usr/X11R6, etc., partitions. All those have ample space.

Jay
Post by Jay Hart
Answered my own question.
Posting that bare announcement to the list is either unnecessary
(noise) or frustrating (no details provided).
Future readers of your email who are facing the same problem might
feel flummoxed, along the lines of, "Yes, but what was your answer?"
Ian
Post by Jay Hart
Answered my own question.
Jay
Post by Jay Hart
My partition size for /usr is 2.0G. Currently using 1.1G, and df is
reporting 783M available.
Can I upgrade from 6.8 release to 6.9 release without the upgrade failing
due to lack of space in /usr?
I'm thinking I'm ok.
In the future, would it be advisable to increase this partitions size? I
could swap /usr (2.0G) for /tmp (3.9G), if I had a process to do
this.
Thanks in Advance!
Jay
Loading...