HD-120LAN 再び監獄へ
ext3 FS だとうまくいくようなので、WD1200 を ext3 にする。
WD1200AB を ext3 でフォーマット
root@SECO:/# umount /mnt
root@SECO:/# mkfs -j /dev/hda1
mke2fs 1.22, 22-Jun-2001 for EXT2 FS 0.5b, 95/08/09
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
14630912 inodes, 29239662 blocks
1461983 blocks (5.00%) reserved for the super user
First data block=0
893 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
root@SECO:/# mount /mnt
root@SECO:/# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hdb1 1235664 481564 691332 42% /mnt2
/dev/hda1 115122160 32828 109241400 1% /mnt
root@SECO:/#
DIAG LED が3回点滅を繰り返しているが、気にしない。
リストア
2台目の HDD の内容を戻す
root@SECO:/# cd /mnt2
root@SECO:/mnt2# ls
HackKit lost+found share share-mac
root@SECO:/mnt2# tar cf - HackKit share* |(cd /mnt; tar xvf -)
リブート
電源を切り、2台目の HDD をはずし、電源を入れる。
ブート時に ext3 をマウントしてくれるか心配だったが、
mount: you didn't specify a filesystem type for /dev/hda1
kjournald starting. Commit interval 5 seconds
I will try typeEXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,1), ext3,ext2
internal journal
EXT3-fs: mounted filesystem with ordered data mode.
/dev/hda1 on /mnt type ext3 (rw)
と問題なくマウントしてくれた。
再び監獄へ
ジェイルの起動
root@SECO:/# /etc/rc.d/init.d/hackkit start
Stop servecies: atalkd afpd
Can't unregister SECO:Workstation@*
Can't unregister SECO:netatalk@*
/etc/rc.d/rc2.d/S90atalk: line 7: 150 Terminated /usr/sbin/atalkd -f /etc/atalk/atalkd.conf
Stop services: smbd nmbd
Stopping periodic command scheduler: cron.
Stop services: thttpd
Stopping internet superserver: inetd.
Stopping system log daemon: klogd syslogd.
Deconfiguration network interface: lo eth0
dhcpcd[73]: terminating on signal 1
Stop servecies: atalkd afpd
Can't unregister SECO:Workstation@*
Can't unregister SECO:netatalk@*
Welcome to Vine Linux
Press 'I' to enter interactive startup.
Mounting proc filesystem: [ OK ]
Configuring kernel parameters: [ OK ]
hwclock: ioctl() to /dev/rtc to turn on update interrupts failed unexpectedly, errno=515: Unknown error 515.
Setting clock (localtime): Sat Jun 19 11:14:08 JST 2004 [ OK ]
Activating swap partitions: [ OK ]
Setting hostname hackkit: [ OK ]
modprobe: Can't open dependencies file /lib/modules/2.4.17_mvl21-sandpoint/modules.dep (No such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.17_mvl21-sandpoint/modules.dep (No such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.17_mvl21-sandpoint/modules.dep (No such file or directory)
Mounting local filesystems: [ OK ]
Enabling local filesystem quotas: [ OK ]
Enabling swap space: [ OK ]
/bin/cat: /proc/modules: No such file or directory
/bin/cat: /proc/ksyms: No such file or directory
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
Initializing random number generator: [ OK ]
Mounting other filesystems: [ OK ]
Starting INET services: [ OK ]
Starting crond: [ OK ]
Starting atd: [ OK ]
samba の rebuild
確認のため、samba を rebuild する。
[root@hackkit /]# cd /tmp
[root@hackkit /tmp]# rpm --rebuild samba-2.2.8a.ja-1.0vl1.src.rpm
samba-2.2.8a.ja-1.0vl1.src.rpm をインストール中
実行中(%prep): /bin/sh -e /var/tmp/rpm-tmp.70833
+ umask 022
+ cd /usr/src/redhat/BUILD
:
:
書き込み中: /usr/src/redhat/RPMS/ppc/samba-2.2.8a.ja-1.0vl1.ppc.rpm
実行中(%clean): /bin/sh -e /var/tmp/rpm-tmp.95509
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd samba-2.2.8a-ja-1.0
+ rm -rf /var/tmp/samba-2.2.8a.ja-root
+ exit 0
実行中(--clean): /bin/sh -e /var/tmp/rpm-tmp.96584
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf samba-2.2.8a-ja-1.0
+ exit 0
[root@hackkit /tmp]#
できた。
もう何回 rebuild しただろう???。
エラーの出る場所にもよるが、1回当たり約1時間。
えらく遠回りをさせられた。
ジェイルで続行
samba のリビルドで手間取ったが、
ext3 にすることによって問題を回避できたように思う。
今のところ問題なくなったようなので、このままジェイル方式で続けることにする。
Copyright (C) 2004 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp
山下康成@京都府向日市