[[ZFS mountpoint]]
blackcube2# freebsd-update fetch
したら、
WARNING: FreeBSD 9.0-RELEASE is approaching its End-of-Life date.
It is strongly recommended that you upgrade to a newer
release within the next 4 weeks.
と、言われたんで、念のために
freebsd-update fetch
freebsd-update install
してから、
* freebsd-update upgrade -r 9.1-RELEASE [#ud7d1f9e]
blackcube2# freebsd-update upgrade -r 9.1-RELEASE
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 9.0-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata files... done.
Inspecting system... done.
The following components of FreeBSD seem to be installed:
kernel/generic src/src world/base world/doc world/games world/lib32
The following components of FreeBSD do not seem to be installed:
Does this look reasonable (y/n)? y
Fetching metadata signature for 9.1-RELEASE from update4.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 9.0-RELEASE for merging... done.
Preparing to download files... done.
Fetching 13997 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....21
13960....13970....13980....13990... done.
Applying patches... done.
Fetching 23383 files... done.
Attempting to automatically merge changes in files... done.
The following file could not be merged automatically: /etc/defaults/periodic.conf
Press Enter to edit this file in vi and resolve the conflicts
manually...
し・・・しゅどうでマージしる (゚◇゚)ガーン
The following file could not be merged automatically: /etc/hosts.allow
Press Enter to edit this file in vi and resolve the conflicts
manually...
The following file could not be merged automatically: /etc/mail/mailer.conf
Press Enter to edit this file in vi and resolve the conflicts
manually...
The following file could not be merged automatically: /etc/master.passwd
The following file could not be merged automatically: /etc/newsyslog.conf
The following file could not be merged automatically: /etc/passwd
The following file could not be merged automatically: /etc/syslog.conf
ゲットしたら、インストール。
# freebsd-update install
この段階では、kernelだけが新しくなるので、再起動して新しいkernelで動作させる。
# shutdown -r now
次に残りの更新をインストールして再起動する。
# freebsd-update install
# shutdown -r now
root@blackcube2:/root # uname -a
FreeBSD blackcube2 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
root@blackcube2:/root #
**9_0 > 9_1 [#h083fd48]
一応、ソースも追っかけとく
30 1 * * * root /root/CVSUP/9_1/cvsup-releng_9_1.sh
RELENG_9_0なマシンは、結構あるにゃ
----
*(15) ZFSで起動する設定を加えます。 [#y85923e5]
# echo 'zfs_load="YES"' >> /mnt/boot/loader.conf
# echo 'vfs.root.mountfrom="zfs:zroot"' >> /mnt/boot/loader.conf
# cat << EOF > /mnt/etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/gpt/swap0 none swap sw 0 0
EOF
# echo 'zfs_enable="YES"' >> /mnt/etc/rc.conf
*(16) すべての領域をアンマウントします。 [#s75147fa]
# zfs set readonly=on zroot/var/empty
# zfs umount -a
アンマウントが失敗した場合は強制アンマウントします
# umount -f /mnt
*(17) マウントポイントをセットします。 [#eb958f87]
# zfs set mountpoint=legacy zroot
# zfs set mountpoint=/tmp zroot/tmp
# zfs set mountpoint=/usr zroot/usr
# zfs set mountpoint=/var zroot/var