Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I changed the execution of this from 10 minutes to an hour. (to make it easier to scan the log)
Does anyone know that offl_chk actually does? Will bumping it from 10 minutes to an hour be a problem?
Offline
If I run "strings /usr/sbin/offl_chk", I get some text.
The best part (no compile info and such) is:
/web/sib.conf
Sorry , Can't open the sib.conf.
CF-RAID-AUTO-SYNC
Can't find this frame CF-RAID-AUTO-SYNC , exit....
/etc/raidtab2web
/etc/mtab
sda2
sda4
/dev/%s
sdb2
sdb4
sdc2
sdc4
sdd2
sdd4
rootfs
mount /dev/%s /mnt/HD_%c2
/web/hddok_a
/web/hddok_b
/tmp/formatting
web config file error.
/proc/mdstat
raid1
device b off line
echo 1 > /tmp/wait_sync
touch /mnt/HD_a4/awake_call /mnt/HD_b4/awake_call
rm /mnt/HD_a4/awake_call /mnt/HD_b4/awake_call
mdadm /dev/md0 -a /dev/sdb2&
/tmp/wait_sync
rm /tmp/wait_sync
device a off line
echo 0 > /tmp/wait_sync
mdadm /dev/md0 -a /dev/sda2&
System formatting , needn't to check
Check Raid1 !
device %s off line
touch /mnt/HD_a4/awake_call /mnt/HD_b4/awake_call /mnt/HD_c4/awake_call /mnt/HD_d4/awake_call
rm /mnt/HD_a4/awake_call /mnt/HD_b4/awake_call /mnt/HD_c4/awake_call /mnt/HD_d4/awake_call
mdadm /dev/%s -a /dev/%s&
raid5
Check Raid5 !
null
more /proc/mdstat > /tmp/mdstat_tmp
/tmp/raidinfo
rm /tmp/mdstat_tmp
raid_partition =%d
Usage : two : check 2 bays NAS
four : check 4 bays NAS
four
Bad Arguments.So what I think it does (and also what the name seems to indicate) is that this programs checks the online status of your drives.
So if for some reason the drives are set offline, this will try to set then online.
This also answers one question I had myself about umount my disks (I'm running ffp from usb stick) and doing a e2fsck on it.
Last edited by rsd76 (2011-04-08 20:38:10)
Offline