FreeBSD /var が溢れました

freebsd-update

FreeBSD 7.1 を 7.2にしてみる。

flora# df
Filesystem  1K-blocks     Used     Avail Capacity  Mounted on
/dev/ad0s1a    507630   314650    152370    67%    /
devfs               1        1         0   100%    /dev
/dev/ad0s1e    507630       16    467004     0%    /tmp
/dev/ad0s1f 300010694 11894074 264115766     4%    /usr
/dev/ad0s1d   1243598   909826    234286    80%    /var
devfs               1        1         0   100%    /var/named/dev

flora では、/var が /var/db/freebsd-update で圧迫されているので、

flora

flora# mkdir /usr/freebsd-update
flora# cd /var/db/freebsd-update/
flora# cp -Rp * /usr/freebsd-update/
flora# rm -R freebsd-update/
flora# ln -s /usr/freebsd-update freebsd-update

して、

flora# df
Filesystem  1K-blocks     Used     Avail Capacity  Mounted on
/dev/ad0s1a    507630   314650    152370    67%    /
devfs               1        1         0   100%    /dev
/dev/ad0s1e    507630       16    467004     0%    /tmp
/dev/ad0s1f 300010694 12514198 263495642     5%    /usr
/dev/ad0s1d   1243598   289744    854368    25%    /var
devfs               1        1         0   100%    /var/named/dev

しておく。

freebsd-update -r 7.2-RELEASE upgrade

/etc/crontab

/etc/crontab
30	3	*	*	*	root	/root/CVSUP/7_2/cvsup-releng_7_2.sh

flora# freebsd-update -r 7.2-RELEASE upgrade

Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 7.1-RELEASE from update5.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 2 metadata patches.. done.
Applying metadata patches... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic src/base src/bin src/cddl src/contrib src/crypto src/etc
src/games src/gnu src/include src/krb5 src/lib src/libexec src/release
src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin
src/usbin world/base world/catpages world/dict world/doc world/games
world/info world/manpages world/proflibs

The following components of FreeBSD do not seem to be installed:

Does this look reasonable (y/n)? y

Fetching metadata signature for 7.2-RELEASE from update5.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 7.1-RELEASE for merging... done.
Preparing to download files...
File changed while FreeBSD Update running: /etc/crontab
flora#

freebsd-update install

k222# freebsd-update install
Installing updates...
Kernel updates have been installed.  Please reboot and run
"/usr/sbin/freebsd-update install" again to finish installing updates.

k222#

k222# freebsd-update install
Installing updates...ln: ///root/.profile: Cross-device link
install: ///usr/share/doc/de_DE.ISO8859-1/books/porters-handbook/using-databases.html: No such file or directory
install: ///usr/share/doc/de_DE.ISO8859-1/books/porters-handbook/using-tcl.html: No such file or directory
install: ///usr/share/doc/mn_MN.UTF-8/books/handbook/mirrors-bittorrent.html: No such file or directory
install: ///usr/share/doc/mn_MN.UTF-8/books/handbook/network-syslogd.html: No such file or directory
install: ///usr/share/doc/mn_MN.UTF-8/books/handbook/updating-upgrading-documentation.html: No such file or directory
install: ///usr/share/doc/mn_MN.UTF-8/books/handbook/updating-upgrading-freebsdupdate.html: No such file or directory
install: ///usr/share/doc/mn_MN.UTF-8/books/handbook/updating-upgrading-portsnap.html: No such file or directory
install: ///usr/share/doc/mn_MN.UTF-8/books/handbook/updating-upgrading.html:  No such file or directory
ln: ///usr/share/man/cat3/archive_clear_error.3.gz: No such file or directory
ln: ///usr/share/man/cat3/archive_clear_error.3.gz: No such file or directory
ln: ///usr/share/man/cat3/archive_clear_error.3.gz: No such file or directory
ln: ///usr/share/man/cat3/archive_clear_error.3.gz: No such file or directory
ln: ///usr/share/man/cat3/archive_clear_error.3.gz: No such file or directory
ln: ///usr/share/man/cat3/archive_clear_error.3.gz: No such file or directory
ln: ///usr/share/man/cat3/archive_clear_error.3.gz: No such file or directory
ln: ///usr/share/man/cat3/archive_clear_error.3.gz: No such file or directory
ln: ///usr/share/man/cat4/hptrr.4.gz: No such file or directory
ln: ///usr/share/man/cat4/SW_WATCHDOG.4.gz: No such file or directory
ln: ///usr/share/man/cat7/securelevel.7.gz: No such file or directory
done.
k222#

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS