squashfsによるバックアップ開始

/home/rubikitch以下をCD-RW

cronにやらせている毎日のバックアップをafioからsquashfsに切り換えた。
1.1GB→400MB。mksquashfsに約6分。出力の途中のbugってなんだ?とてつもなく気持ち悪いんだけど。

Parallel mksquashfs: Using 1 processor
Creating little endian 3.0 filesystem on rubikitch.squashfs, block size 65536.
.
   0 MB .......... .......... .......... .......... .......... ..........
  60 MB .......... .......... .......... .......... .......... ..........
 120 MB .......... .......... .......... .......... .......... ..........
 180 MB .......... .......... .......... .......... .......... ..........
 240 MB .......... .......... .......... ....bug
...... .......... ..........
 300 MB .......... .......... .......... .......... .......... ..........
 360 MB .......... .......... ....
Little endian filesystem, data block size 65536, compressed data, compressed metadata, compressed fragments
Filesystem size 394269.46 Kbytes (385.03 Mbytes)
        33.56% of uncompressed filesystem size (1174858.31 Kbytes)
Inode table size 722122 bytes (705.20 Kbytes)
        33.66% of uncompressed inode table size (2145150 bytes)
Directory table size 620497 bytes (605.95 Kbytes)
        48.45% of uncompressed directory table size (1280731 bytes)
Number of duplicate files found 6174
Number of inodes 65359
Number of files 58149
Number of fragments 5449
Number of symbolic links  684
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 6526
Number of uids 2
        rubikitch (1001)
        root (0)
Number of gids 2
        users (100)
        rubikitch (101)

あとはmkisofsとcdrecordでいつものように焼くだけ。

DVD-RAMへバックアップ

mksquashfs /home/rubikitch /home/cvs /home/svn  /vmlinuz*  /home/local /var/filelist /bin /boot /lib /sbin /etc /home/svnbackup /dev/dvd -noappend

DVD-RAMは容量があるので、システムもバックアップ。以前は無圧縮で格納していたが、圧縮されるので以前はあふれていたものもバックアップ。/home/localは/usr/local。

3.7GB→1.8GB。圧縮率はいまいちで半分ほど。
これがえらい時間がかかる。90分。DVD-RAMに直接書き込んでるせいなのか、mksquashfsそのもののせいなのかはわからない。bugがたくさん出ているので少し不安。

Parallel mksquashfs: Using 1 processor
Creating little endian 3.0 filesystem on /dev/dvd, block size 65536.
.
   0 MB .......... .......... .......... .......... .......... ..........
  60 MB .......... .......... .......... .......... .......... ..........
 120 MB .......... .......... .......... .......... .......... ..........
 180 MB .......... .......... .......... .......... .......... ..........
 240 MB .......... .......... .......... .......... .......... ..........
 300 MB .......... .......... .......... .......... .......... ..........
 360 MB .......... .......... .......... .......... .......... .....bug
bug
.....
 420 MB .......... .......... .......... .......... .......... ..........
 480 MB .......... .......... .......... .......... .......... ..........
 540 MB .......... .......... .......... .......... .......... ..........
 600 MB .......... .......... .......... .......... .......... ..........
 660 MB .......... .......... .......... .......... .......... ..........
 720 MB .......... .......... .......... .......... .......... ..........
 780 MB .......... .......... .......... .......... .......... ..........
 840 MB .......... .......... .......... .......... .......... ..........
 900 MB .......... .......... .......... .......... .......... ..........
 960 MB .......... .......... .......... .......... .......... ..........
1020 MB .......... .......... .......... .......... .......... ..........
1080 MB .......... .......... .......... .......... .......... ..........
1140 MB .......... .......... .......... .......... .......... ..........
1200 MB .......... .......... .......... .......... .......... ..........
1260 MB .......... .......... .......... .......... .......... ..........
1320 MB .......... .......... .......... .bug
.bug
bug
........ .......... ..........
1380 MB .......... .......... .......... .......... .......... ..........
1440 MB .......... .......... .......... .......... .......... ..........
1500 MB .......... .......... .........bug
bug
bug
bug
bug
bug
bug
bug
bug
. bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
.......... .......... ..........
1560 MB .......... .......... .......... .......... .......... .......bug
bug
bug
bug
...
1620 MB .......... .......... .......... .......... .......... ..........
1680 MB .......... .......... .......... .......... .......... ..........
1740 MB .......... .......... ..
Little endian filesystem, data block size 65536, compressed data, compressed metadata, compressed fragments
Filesystem size 1805334.48 Kbytes (1763.02 Mbytes)
        48.62% of uncompressed filesystem size (3712924.43 Kbytes)
Inode table size 2332240 bytes (2277.58 Kbytes)
        28.74% of uncompressed inode table size (8115004 bytes)
Directory table size 2179803 bytes (2128.71 Kbytes)
        47.08% of uncompressed directory table size (4630264 bytes)
Number of duplicate files found 30637
Number of inodes 228491
Number of files 185229
Number of fragments 13099
Number of symbolic links  13323
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 29939
Number of uids 8
        root (0)
        rubikitch (1001)
        t (1000)
        unknown (8482)
        games (5)
        unknown (2549)
        unknown (10001)
        unknown (501)
Number of gids 8
        users (100)
        snort (109)
        bin (2)
        mail (8)
        staff (50)
        root (0)
        uucp (10)
        rubikitch (101)