megalodon Posted July 21, 2014 Share Posted July 21, 2014 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. Quote Link to comment
eroz Posted July 23, 2014 Share Posted July 23, 2014 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. Quote Link to comment
megalodon Posted July 23, 2014 Author Share Posted July 23, 2014 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 Quote Link to comment
eroz Posted July 23, 2014 Share Posted July 23, 2014 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. Quote Link to comment
RobJ Posted July 24, 2014 Share Posted July 24, 2014 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. Quote Link to comment
trurl Posted July 24, 2014 Share Posted July 24, 2014 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. Quote Link to comment
megalodon Posted July 27, 2014 Author Share Posted July 27, 2014 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? Quote Link to comment
Thornwood Posted August 3, 2014 Share Posted August 3, 2014 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 Quote Link to comment
megalodon Posted August 3, 2014 Author Share Posted August 3, 2014 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. Quote Link to comment
RobJ Posted August 19, 2014 Share Posted August 19, 2014 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? Quote Link to comment
megalodon Posted August 19, 2014 Author Share Posted August 19, 2014 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. Quote Link to comment
RobJ Posted August 20, 2014 Share Posted August 20, 2014 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. Quote Link to comment
WeeboTech Posted August 20, 2014 Share Posted August 20, 2014 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. Quote Link to comment
dgaschk Posted August 23, 2014 Share Posted August 23, 2014 I'm not having this issue using the stock shutdown in versions 5.0.5 or 6.0b6. Quote Link to comment
megalodon Posted August 23, 2014 Author Share Posted August 23, 2014 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. Quote Link to comment
RobJ Posted August 25, 2014 Share Posted August 25, 2014 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. Quote Link to comment
megalodon Posted August 25, 2014 Author Share Posted August 25, 2014 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. Quote Link to comment
RobJ Posted August 25, 2014 Share Posted August 25, 2014 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. Quote Link to comment
megalodon Posted August 26, 2014 Author Share Posted August 26, 2014 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 Quote Link to comment
dgaschk Posted August 26, 2014 Share Posted August 26, 2014 The message will not go away until disk check is run on the flash drive. Quote Link to comment
megalodon Posted August 26, 2014 Author Share Posted August 26, 2014 Do you mean after I have installed RobJ's mod I have to remove it and run it to remove the error? Quote Link to comment
RobJ Posted August 26, 2014 Share Posted August 26, 2014 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. Quote Link to comment
megalodon Posted August 27, 2014 Author Share Posted August 27, 2014 RobJ. I have added my reply to the powerdown posts. I have tried it again and Im not having much luck. Quote Link to comment
dgaschk Posted August 27, 2014 Share Posted August 27, 2014 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.