Re: How much space do I need on "/" for a 7.4 to 8 stable upgrade?
Adam Vande More wrote: > On Wed, Feb 22, 2012 at 11:47 AM, Joe Moore > wrote: > >> >> I have 65MB of free space on "/". Is that going to be enough? I've >> already moved tftpboot to /usr, cleaned out /root, /boot/kernel.old, and >> /tmp. >> >> What else could I clean out if I need more space? I'm thinking some >> executables in /rescue. "ls -l" shows most of them being 4MB each but >> that can't be right. >> > > I don't know the specific numbers of what you'll need but you can probably > delete the *.symbol files(they aren't needed by default). i386 also > produces smaller files/mem imprint than most equivalent amd64 bins. > I did this and the only i386 box I have left uses 96MB on / while the amd64 ones hover around 105MB, give or take a few. I believe adding WITHOUT_PROFILE= true to /etc/src.conf prevents them from being built/installed in subsequent builds. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: How much space do I need on "/" for a 7.4 to 8 stable upgrade?
-Original Message- From: Dan Nelson [mailto:dnel...@allantgroup.com] Sent: Wednesday, February 22, 2012 12:33 PM To: Joe Moore Cc: freebsd-questions@freebsd.org Subject: Re: How much space do I need on "/" for a 7.4 to 8 stable upgrade? In the last episode (Feb 22), Joe Moore said: > I need to upgrade a server from 7.4 stable to 8.x stable. > > I running buildworld as I write this, and plan to build a GENERIC kernel. > > The root disk partition is 248 MB which was probably the auto default > size when the server was originally built. I remember having to do > some scrambling during the last update to free up enough space for a > new kernel and I really don't want that to happen again. > > I have 65MB of free space on "/". Is that going to be enough? I've > already moved tftpboot to /usr, cleaned out /root, /boot/kernel.old, and /tmp. I did a 5.5 -> 8.1 upgrade (no intermediate installs!) on a system with a 256MB root a few years ago and didn't have any problems. As Adam said, get rid of any /boot/*/*.symbol files. With symbols, a kernel directory could be 50-70 MB, but without, you're looking at only 5-15 MB. My root is only 90MB used, so there should be quite a bit of space you should be able to free up still. Try deleting web browser cache dirs or ccache trees in ~root. > What else could I clean out if I need more space? I'm thinking some > executables in /rescue. "ls -l" shows most of them being 4MB each but > that can't be right. All the files in /rescue is hardlinked to each other, so they only consume 4MB total. -- Dan Nelson dnel...@allantgroup.com I deleted /boot/kernel/*symbols and that freed up another 90+ MB. I've got 159MB free so I'm good to go. Thanks to all responders! ...jgm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: How much space do I need on "/" for a 7.4 to 8 stable upgrade?
In the last episode (Feb 22), Joe Moore said: > I need to upgrade a server from 7.4 stable to 8.x stable. > > I running buildworld as I write this, and plan to build a GENERIC kernel. > > The root disk partition is 248 MB which was probably the auto default size > when the server was originally built. I remember having to do some > scrambling during the last update to free up enough space for a new kernel > and I really don't want that to happen again. > > I have 65MB of free space on "/". Is that going to be enough? I've already > moved tftpboot to /usr, cleaned out /root, /boot/kernel.old, and /tmp. I did a 5.5 -> 8.1 upgrade (no intermediate installs!) on a system with a 256MB root a few years ago and didn't have any problems. As Adam said, get rid of any /boot/*/*.symbol files. With symbols, a kernel directory could be 50-70 MB, but without, you're looking at only 5-15 MB. My root is only 90MB used, so there should be quite a bit of space you should be able to free up still. Try deleting web browser cache dirs or ccache trees in ~root. > What else could I clean out if I need more space? I'm thinking some > executables in /rescue. "ls -l" shows most of them being 4MB each but > that can't be right. All the files in /rescue is hardlinked to each other, so they only consume 4MB total. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: How much space do I need on "/" for a 7.4 to 8 stable upgrade?
Joe Moore writes: > What else could I clean out if I need more space? I'm thinking some > executables in /rescue. "ls -l" shows most of them being 4MB each but that > can't be right. Since they are all links to the same executable, you won't save anything unless you delete all of them, which would not be recommended. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: How much space do I need on "/" for a 7.4 to 8 stable upgrade?
From: Adam Vande More [mailto:amvandem...@gmail.com] Sent: Wednesday, February 22, 2012 12:16 PM To: Joe Moore Cc: freebsd-questions@freebsd.org Subject: Re: How much space do I need on "/" for a 7.4 to 8 stable upgrade? On Wed, Feb 22, 2012 at 11:47 AM, Joe Moore wrote: I have 65MB of free space on "/". Is that going to be enough? I've already moved tftpboot to /usr, cleaned out /root, /boot/kernel.old, and /tmp. What else could I clean out if I need more space? I'm thinking some executables in /rescue. "ls -l" shows most of them being 4MB each but that can't be right. I don't know the specific numbers of what you'll need but you can probably delete the *.symbol files(they aren't needed by default). i386 also produces smaller files/mem imprint than most equivalent amd64 bins. -- Adam Vande More Thanks Adam. I should have mentioned that I am running 32 bit i386. .jgm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: How much space do I need on "/" for a 7.4 to 8 stable upgrade?
On Wed, Feb 22, 2012 at 11:47 AM, Joe Moore wrote: > > I have 65MB of free space on "/". Is that going to be enough? I've already > moved tftpboot to /usr, cleaned out /root, /boot/kernel.old, and /tmp. > > What else could I clean out if I need more space? I'm thinking some > executables in /rescue. "ls -l" shows most of them being 4MB each but > that can't be right. > I don't know the specific numbers of what you'll need but you can probably delete the *.symbol files(they aren't needed by default). i386 also produces smaller files/mem imprint than most equivalent amd64 bins. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"