Index of /dns323/fsck.2007/
FSCK
You can use the files in this directory to perform manual file system
checks. Download all files to a directory on your DNS-323
(e.g. /mnt/HD_a2/fsck), then open a telnet connection to boot the
kernel and ramdisk:
telnet bob
cd /mnt/HD_a2/fsck
./reload.sh zImage-2.6.12.6_huge s-initramfs.gz nomount
Booting the new kernel will take a few seconds, and the telnet
connection is aborted (press Enter and wait a few seconds).
Open a new telnet connection. "uname -a" will now show the new kernel
version "2.6.12.6-arm1_huge". "mount" should not list /dev/sda2 or
/dev/sdb2.
Check that swap has been activated (e2fsck will not work without
swap). Run "free" and look at the "swap" line. The "total" column must
be non-zero.
If you're using RAID, you need to set it up now.
mdadm -A /dev/md0 /dev/sd[ab]2
For further details, see:
http://forum.dsmg600.info/p17947-Yesterday-16%3A50%3A44.html#p17947
(Note that for RAID, you should check /dev/md0 instead of /dev/sda2
or /dev/sdb2.)
Finally, check file systems (it's sda2 and sdb2 for "two separate
disks" mode):
e2fsck /dev/sda2
e2fsck /dev/sdb2
This takes some time.
e2fsck will ask for lost+found:
/lost+found not found. Create<y>?
Just press Enter. Answering "n" is ok as well, but e2fsck will tell
you that your "Filesystem still has errors" at the end.
When done, run:
reboot