Upgrading 11.1 → 11.2

Operating System

  1. cd /usr/src/sys/arch/conf
  2. diff GENERIC $KERNCONF > $KERNCONF.diff
  3. cd /usr/src
  4. svn sw svn://svn.db.tokushima-u.ac.jp/base/releng/11.2/
  5. Configure /usr/src/sys/arch/conf/$KERNCONF
  6. rm -rf /usr/obj
  7. make buildworld
  8. make buildkernel
  9. make installkernel
  10. reboot
  11. mergemaster -p
  12. make installworld
  13. mergemaster -iFU
    • /etc/ssh/sshd_config の推奨設定で ~/.ssh/authorized_keys2を見なくなるので要注意.
  14. yes | make delete-old
  15. reboot

Mail System

  1. cd /etc/mail
  2. make install
  3. newaliases

Ports Collection / User Application

  1. cd /usr/local/lib/compat/pkg
  2. (remove old libraries)
  3. pkg update
  4. portupgrade -afc
  5. Recompile user applications

Operating System

  1. cd /usr/src
  2. yes | make delete-old-libs

Miscellaneous

EDB/Java RMI

  1. cd /usr/local/etc/rc.d/
  2. cp /home/private/edbjavarmi/rc.d/edbjavarmi .

ZFS

  1. zpool upgrade -a
  2. (upgrade boot partitions: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 device)

Machine Status

Machine FreeBSD
Version
File
System
Boot
Block
pool
version
boot
code
mod_dir user-land
app. reco.
state
skuld (db) 11.2 ufs no need done
skoegul (db1) 11.2 zfs 512k 11.2 11.2 no need done
gunnr (db2) 11.2 zfs 512k 11.2 11.2 no need done
hildr (db3) 11.2 zfs 512k 11.2 11.2 no need done
goendul (db4) 11.2 zfs 512k 11.2 11.2 no need done
hrist (db5) 11.2 zfs 512k 11.2 11.2 no need done
mist (db6) 11.2 zfs 512k 11.2 11.2 no need done
hloekk (db7) 11.2 zfs 512k 11.2 11.2 no need done
goell (db8) 11.2 zfs 512k 11.2 11.2 no need done
valkyrie 11.2 zfs 512k 11.2 11.2 no no done
walkyrie 11.2 zfs 512k 11.2 11.2 no no done
verdandi 11.2 zfs 512k 11.2 11.2 need need done
urd 11.2 zfs 512k 11.2 11.2 need need done
rota 11.2 zfs 64k 11.1 ? no done
skeggoeld 11.2 zfs 64k 11.1 ? no need done
reginleif 11.2 zfs 64k 11.1 ? no need done
parfait 11.2 ufs no no done
t73backup 11.2 zfs 512k 11.2 11.2 no done
type73 11.2 zfs 64k 11.1 ? need need done
type73i 11.2 zfs 64k 11.1 ? need need done
type73b 11.2 zfs 512k 11.2 11.2 need need done
maia 11.2 ufs no done
electra 11.2 ufs no done
taygeta 11.2 ufs no done
alcyone 11.2 ufs no done
celaeno 11.2 ufs no done
sterope 11.2 ufs no done
merope 11.2 ufs no done