Index of /dns323/fsck
Using the files in this directory, you can boot into a small custom
Linux to perform manual filesystem checks. The fsck image includes
e2fsprogs - ext2 filesystem utilities
GNU Parted - an industrial-strength package for creating,
destroying, resizing, checking and copying partitions,
and the file systems on them.
(For the 2007 version of fsck, see http://inreto.de/dns323/fsck.2007/)
To use these files, you need telnet access.
For reload.sh, you also need the bash shell. If you cannot install
bash, you can try no-bash-reload.sh instead of reload.sh.
WARNING: The fsck image does not include a fan controller!
You can set fan speed manually, e.g.:
echo 150 >/sys/class/i2c-adapter/i2c-0/0-003e/pwm1
and read current speed with:
(100 in pwm1 = 3150 rpm, 150 in pwm1 = 4650 rpm)
You can read the current temperature with:
== Installation ==
cd /ffp (or /mnt/HD_a2)
rsync -av inreto.de::dns323/fsck .
This will create the 'fsck' directory and download all required files.
If you want to upgrade, use:
rsync -av --delete inreto.de::dns323/fsck .
This will download new or updated, and delete obsolete files.
== Booting ==
cd /ffp/fsck (or /mnt/HD_a2/fsck)
This will stop all processes and initiate a reboot. Your telnet
session is aborted, too. You should be able establish a new telnet
session after 10-20 seconds.
Login as 'root', there's no password.
By default, Linux 184.108.40.206 will be booted (check with 'uname -r').
More recent kernels are also available. To boot them, pass a
zImage file to reload.sh, e.g.
Note that 220.127.116.11 and 2.6_orion will not work on CH3SNAS.
After boot, run 'free' to verify that swap has been correctly
enabled. Look at the 'swap' line. The 'total' column must be
non-zero. This is essential, e2fsck will fail without sufficient swap
== Checking filesystems ==
If you have configured 'two separate disks', you can now check
If you are using RAID, set it up before checking the filesystem:
mdadm -A /dev/md0 /dev/sd[ab]2
e2fsck may take some time, and 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.
Manual pages for e2fsck can be found at:
For Parted documentation, see
== Rebooting ==
When done, run: