Re: freebsd-update killed my /var
Mel wrote: On Sunday 14 December 2008 15:28:16 FuLLBLaSTstorm wrote: Hey all, Recently I've run freebsd-update on my desktop machine, but it failed saying that it cannot save its files anymore to /var because the filesystem is full. now df shows something like this: # df /dev/ad0s1d253678 250630 -17248 107% /var If this is what I think it is, a 256k /var, then I'm not surprised. Handbook, online tutorials all recommend at least 1G for /var ever since the 4.x days. I use 5G, but I save logs for a year. I faced the same problem last week while trying to update to 7.1-RC1 on a disk with 197MB /var. Here's how I fixed the problem: # freebsd-update -d /path/to/big/path/directory/ upgrade -r 7.1-RC1 # freebsd-update -d /path/to/big/path/directory/ install Simply use freebsd-update's -d option. man freebsd-update for more info. ___ 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: freebsd-update killed my /var
On Sunday 14 December 2008 15:28:16 FuLLBLaSTstorm wrote: > Hey all, > Recently I've run freebsd-update on my desktop machine, but it failed > saying that it cannot save its files anymore to /var because the > filesystem is full. now df shows something like this: > # df > /dev/ad0s1d253678 250630 -17248 107% /var If this is what I think it is, a 256k /var, then I'm not surprised. Handbook, online tutorials all recommend at least 1G for /var ever since the 4.x days. I use 5G, but I save logs for a year. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ 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: freebsd-update killed my /var
On Sun 2008-12-14 19:28:16 UTC+0500, FuLLBLaSTstorm (fullblastst...@gmail.com) wrote: > Recently I've run freebsd-update on my desktop machine, but it failed > saying that it cannot save its files anymore to /var because the > filesystem is full. If you are short on disk space then from what I can tell it seems to be harmless to erase everything under /var/db/freebsd-update before you run "freebsd-update -r x.x-RELEASE upgrade". The catch is that you lose the ability to use the "freebsd-update rollback" command. After all, /var/db/freebsd-update/ presumably begins life as an empty folder after an initial install of FreeBSD. That is my experience, anyway. I may be wrong! I assume the way "rollback" works is that if you use freebsd-upgrade to upgrade from 6.2-REL to 6.3-REL, then again to 6.4-REL, the theory is that you can reverse the upgrades all the way back to 6.2-REL again. Whether you'd actually want to do that... I'm not sure. It seems to me that if you upgraded to 6.4-REL, then you'd probably only ever want to rollback as far back as 6.3-REL. I guess the ability to rollback multiple releases is provided mostly because it's possible, and disk space is cheap. I suppose you could always create a symlink: mv /var/db/freebsd-update /var/db/freebsd-update.old ln -s /disk/with/lots/of/space/freebsd-update /var/db/freebsd-update ___ 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"
freebsd-update killed my /var
Hey all, Recently I've run freebsd-update on my desktop machine, but it failed saying that it cannot save its files anymore to /var because the filesystem is full. now df shows something like this: # df /dev/ad0s1d253678 250630 -17248 107% /var I'm in the middle of solving the problem, now I think of adding new filesystem and replacing the old /var with it. And it would be more than great if freebsd-update notified users how much of free space it needs. ___ 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"