July 21, 201411 yr Can someone offer some advise please. I have run disk utility repair permissions with my mac on my SD card in my Kingston Mobilite G2 and Im still getting this error on a restart. The only plugins Im using are Dynamix. APC UPS and Dynamix System Monitor and I always shutdown with the WebGUI.
July 23, 201411 yr Give this a try. If it doesn't work then it might be time for a new flash/sd card. (The sd card is not locked into read-only is it?) [*]Stop the array. [*]unmount the flash drive. (umount /dev/sdX1) [*]run fsck on the flash drive. (dosfsck -av /dev/sdX1) -a will automatically repair the file system and -v will be verbose. [*]reboot.
July 23, 201411 yr Author Thanks I have checked and the lock switch on the Micro SD card adapter is in the off position and I have run your commands and rebooted. Unfortunately I still get this error. Although it doesn't seem to affect anything Im concerned it may cause me future problems. Could it be caused by any of my 3 plugins? is it worth rebooting with no plugins installed? Thanks
July 23, 201411 yr Thanks I have checked and the lock switch on the Micro SD card adapter is in the off position and I have run your commands and rebooted. Unfortunately I still get this error. Although it doesn't seem to affect anything Im concerned it may cause me future problems. Could it be caused by any of my 3 plugins? is it worth rebooting with no plugins installed? Thanks It could be a plugin. There have been users that have mentioned dynamix conflicted with something else and caused issues. Would it cause your issue, I'm not sure. You can try running without dynamix and see if you still get that error message. If you still get it then it is either the sd card or the card reader that is going bad.
July 24, 201411 yr I've been finding this error in many many syslogs, including my own, too many syslogs for it to be real. My own flash drives are tested carefully, and removed correctly from systems, so unofficially I'm going to call this a spurious error and notify Tom. I suppose I should check Google first, in case there's a known bug ... If this error message was real, there would be other typical errors showing up (eg. "bread errors"), and there almost never are.
July 24, 201411 yr I've been finding this error in many many syslogs, including my own, too many syslogs for it to be real. My own flash drives are tested carefully, and removed correctly from systems, so unofficially I'm going to call this a spurious error and notify Tom. I suppose I should check Google first, in case there's a known bug ... If this error message was real, there would be other typical errors showing up (eg. "bread errors"), and there almost never are. I agree. I only mention it when I see it in syslogs if the user is having some other actual problem.
July 27, 201411 yr Author I wonder if its something we all use causing it, could it be Dynamix or the APC UPS plugin, or has it occurred with users not using either of these plugins?
August 3, 201411 yr The error can be fixed for one cycle by running chkdsk from a windows machine. The error is real and based on what I see is that when the server is shutdown cleanly the log file is closed but the system shutdowns to quickly and the clean bit is never written. fat32 is picky about that bit. so about 50% of the time it does not get written correctly and I thinks it went down uncleanly. I tested with no plugins in version 4.7 5.05 and 6 beta 6 all versions do this mainly because we use fat32 as the flash drive format. Hope this helps. Thornwood
August 3, 201411 yr Author Thanks Guys and thanks Thornwood for the additional information, I will try and get a hold of a windows machine to run chkdsk on. If it is still appearing in V6 then this should be something Tom looks into.
August 19, 201411 yr The error can be fixed for one cycle by running chkdsk from a windows machine. The error is real and based on what I see is that when the server is shutdown cleanly the log file is closed but the system shutdowns to quickly and the clean bit is never written. fat32 is picky about that bit. so about 50% of the time it does not get written correctly and I thinks it went down uncleanly. I tested with no plugins in version 4.7 5.05 and 6 beta 6 all versions do this mainly because we use fat32 as the flash drive format. Hope this helps. Thornwood Nice work! I think you've identified the issue. I've commented on this in the Powerdown thread here. I suspect that this problem *may* be isolated to those of us using Powerdown, because Powerdown saves the syslog to the flash drive then immediately shuts the computer off, possibly before the last writes are complete?
August 19, 201411 yr Author RobJ I use powerdown 2.06 as part of Dynamix WebGui but I still get this error when shutting down or rebooting from the WebGui and thought powerdown was only used if the UPS wants to shutdown the server or if you manually enter powerdown or powerdown -r from the command line. If this is the case how is using the reboot or shutdown button in the WebGui going to cause this problem. If it is then maybe WeeboTech can take a look at the powerdown script he wrote and see if this may be causing the issue.
August 20, 201411 yr RobJ I use powerdown 2.06 as part of Dynamix WebGui but I still get this error when shutting down or rebooting from the WebGui and thought powerdown was only used if the UPS wants to shutdown the server or if you manually enter powerdown or powerdown -r from the command line. If this is the case how is using the reboot or shutdown button in the WebGui going to cause this problem. If it is then maybe WeeboTech can take a look at the powerdown script he wrote and see if this may be causing the issue. I'm not a Linux expert, or completely knowledgeable about how Powerdown works, but I *think* it hooks the shutdown process, and is always called (by rc.unRAID), if it's installed. But I could be wrong. I earlier suggested adding a pause after the last save to flash disk, but perhaps it's better to add a sync there.
August 20, 201411 yr RobJ I use powerdown 2.06 as part of Dynamix WebGui but I still get this error when shutting down or rebooting from the WebGui and thought powerdown was only used if the UPS wants to shutdown the server or if you manually enter powerdown or powerdown -r from the command line. If this is the case how is using the reboot or shutdown button in the WebGui going to cause this problem. If it is then maybe WeeboTech can take a look at the powerdown script he wrote and see if this may be causing the issue. dlandon has taken over much of the newer development with powerdown. See this thread. http://lime-technology.com/forum/index.php?topic=31735.msg322548#msg322548 I'm sure an extra sync and pause can be put in there.
August 23, 201411 yr Author I think we have confirmed that it is related to powerdown that is installed with Dynamix and APCUPS. It's not used in the stock version of unRAID.
August 25, 201411 yr I think we have confirmed that it is related to powerdown that is installed with Dynamix and APCUPS. It's not used in the stock version of unRAID. I'm not comfortable calling it confirmed yet, but it does seem the most likely explanation. We could use more reports and tests.
August 25, 201411 yr Author From my experience and others it doesn't seem to affect stock unraid that's why I said I think we have confirmed. I'm not really sure how to run your mod. If you could make it easier for a non Linux user like me I will try it, powerdown was installed with Dynamix on my system. Thanks for taking the time to look into this though RobJ.
August 25, 201411 yr I've revised the post about this Powerdown mod (found here) to add a step by step. Please let me know if it is not clear enough.
August 26, 201411 yr Author Sorry I have tried it and its not working for me RobJ. Here is a Screenshot after check the go file again and the script name. I have also included my syslog. syslog.txt
August 26, 201411 yr Author Do you mean after I have installed RobJ's mod I have to remove it and run it to remove the error?
August 26, 201411 yr Sorry I have tried it and its not working for me RobJ. Here is a Screenshot after check the go file again and the script name. I have also included my syslog. Sorry, my instructions were not sufficient. I've added a note about running Check Disk on the flash drive, and the need for a second boot to make sure it has used the revised Powerdown. Revised mod post is here, and my response to your post is here.
August 27, 201411 yr Author RobJ. I have added my reply to the powerdown posts. I have tried it again and Im not having much luck.
August 27, 201411 yr Have you tried rebooting using the stock WebGUI? Until the flash issue is resolved boot in SAFE-mode and use the stock interface. Try using Disk Utility again and do not forget to properly Eject the flash drive before removal from the Mac. If Disk Utility doesn't fix the issue then find a PC and run check disk. Properly eject the flash from the PC.
Archived
This topic is now archived and is closed to further replies.