2010/07/13 †あまりにディスクエラーが多いので、Ubuntu 10.04 をクリーンインストールしてみます。 パーティションの初期化 †Ubuntu 10.04 の CD-ROM で起動し、ext4 でファイルシステムを初期化します。-cc は、不良ブロックの読み書きのテスト。 $ sudo mkfs.ext4 -cc /dev/sda3 mke2fs 1.41.11 (14-Mar-2010) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 16113664 inodes, 64452415 blocks 3222620 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=0 1967 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872 Testing with pattern 0xaa: done Reading and comparing: done Testing with pattern 0x55: done Reading and comparing: done Testing with pattern 0xff: done Reading and comparing: done Testing with pattern 0x00: done Reading and comparing: done Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 24 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. 264GB のパーティションで 10時間近くかかりました。 Ubuntu 10.04 のインストール †http://www.ubuntulinux.jp/products/JA-Localized/download より ubuntu-ja-10.04-desktop-i386-20100512.iso をダウンロードし CD-ROM を作成し、 インストール。 バックアップイメージよりリストア †http://free.nchc.org.tw/drbl-core/pool/drbl/unstable/partclone/ より partclone_0.2.9-1drbl_i386.deb をダウンロードしてインストール。 $ sudo dpkg -i partclone_0.2.9-1drbl_i386.deb /media/usb/2010-06-30-14-img/ にあるバックアップイメージファイルを sda3.img としてリストア。 $ time sudo sh -c "cat /media/usb/2010-06-30-14-img/sda3.ext3-ptcl-img.gz.* | gzip -d -c | partclone.restore -C -s - -o sda3.img" Partclone v0.2.9 http://partclone.org Starting to restore image (-) to device (sda3.img) Calculating bitmap... Please wait... done! File system: EXTFS Device size: 264.0 GB Space in use: 134.3 GB Free Space: 129.7 GB Block size: 4096 Byte Used block : 32788041 Elapsed: 00:42:54, Remaining: 00:00:00, Completed:100.00%, Rate: 3.13GB/min, Total Time: 00:42:54, Ave. Rate: 3.1GB/min, 100.00%% completed! Syncing... OK! Partclone successfully restored the image (-) to the device (sda3.img) Cloned successfully. real 42m55.518s user 42m5.702s sys 12m43.076s sda3.img を /mnt にマウント。 $ sudo mount -o loop sda3.img /mnt 必要なファイルを移動します。 アプリの追加 †
サーバの追加 †
設定の変更 †視覚効果をなしに †「システム」→「設定」→「外観の設定」→「視覚効果」から「効果なし」に変更。 参考 †
|