復旧

明け方からこのホストが落ちていたようだ。夜に NOC に行って復旧。

  • へんなクロールでも喰らったかと思ったが、単なる kernel panic だった。
  • いまさらだけど、2.2.19 から kernel-image-2.6.8-2-686 にあげた。Debian GNU/Linux sid ツルシの kernel だけど、build するのめんどくせ
  • いまさらだけど、LILO をやっとすてて grub に。やっぱ便利だ。
  • ext2 を ext3 に。いまは r/w mount してる ext2 でもtune2fs -j できるのね。便利。その場合、ファイルシステムの root にjournal 情報を集めた .journal というファイルができるが、次回の fsck というかリブートで、.journal はちゃんとファイルシステム内部に移動されて見えなくなる。素敵。
    If this option is used to create a journal on a mounted filesystem, an immutable file, .journal, will be created in the top-level directory of the filesystem, as it is the only safe way to create the journal inode while the filesystem is mounted. While the ext3 journal is visible, it is not safe to delete it, or modify it while the filesystem is mounted; for this reason the file is marked immutable. While checking unmounted filesystems, e2fsck(8) will automatically move .journal files to the invisible, reserved journal inode. For all filesystems except for the root filesystem, this should happen automatically and naturally during the next reboot cycle. Since the root filesystem is mounted read-only, e2fsck(8) must be run from a rescue floppy in order to effect this transition.
  • というか、Debian だと、/etc/fstab を ext3 と書き換えてリブートするだけでext3 にしてくれるのね。
    On some distributions, such as Debian, if an initial ramdisk is used, the initrd scripts will automatically convert an ext2 root filesystem to ext3 if the /etc/fstab file specifies the ext3 filesystem for the root filesystem in order to avoid requiring the use of a rescue floppy to add an ext3 journal to the root filesystem.
    すばらしい。