<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Almost forgot, could be a huge open file somewhere.<br>Try using lsof to find deleted still open files or the cause of the discrepancy.<br><br>Jack<br><br>--- On <b>Wed, 6/2/10, Kelsay, Brian - Kansas City, MO <i>&lt;brian.kelsay@kcc.usda.gov&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Kelsay, Brian - Kansas City, MO &lt;brian.kelsay@kcc.usda.gov&gt;<br>Subject: Re: Synology &amp; Fsck<br>To: "'kclug@kclug.org'" &lt;kclug@kclug.org&gt;<br>Date: Wednesday, June 2, 2010, 12:03 PM<br><br><div id="yiv1292867947"><div><font size="2" color="navy" face="Arial">
Are there any temp files or old logs that you can delete to free up space for fresh firmware?
<br>--------------------------
<br>Brian Kelsay
<br>Sr. IT Support Specialist
<br>Anadarko Industries Inc. working for
<br>Technical Support Division (TSD)
<br>USDA/OCIO/ITS/TSD/LO-KC
<br>Office: 816-823-4859
<br>Mobile: 816-769-5615
<br>Email: brian.kelsay@kcc.usda.gov
<br>Message Sent using BlackBerry Device
<br></font></div>
<br><div><hr tabindex="-1" size="2" width="100%" align="center">
<font size="2" face="Tahoma">
<b>From</b>: kclug-bounces@kclug.org &lt;kclug-bounces@kclug.org&gt;
<br><b>To</b>: KCLUG &lt;kclug@kclug.org&gt;
<br><b>Sent</b>: Wed Jun 02 12:08:30 2010<br><b>Subject</b>: Re: Synology &amp; Fsck
<br></font><br></div>
<div><div class="gmail_quote">On Wed, Jun 2, 2010 at 10:47 PM, Sean Crago <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:cragos@gmail.com" target="_blank" href="/mc/compose?to=cragos@gmail.com">cragos@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If the list is coming back to life, then I've got a weird but hopefully simple problem for you:<div><br></div><div>I've got a Synology DiskStation DS209 NAS that's giving me erroneous free space readings, or erroneous du output. On installation, it dedicated 2.4GB to its root partition /dev/md0 and according to du -cx / is using less than 587192K of that space. Unfortunately, however, df says it's full.&nbsp;</div>

<div><div><br></div><div>bash-3.2# df -k</div><div>Filesystem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1K-blocks &nbsp; &nbsp; &nbsp;Used Available Use% Mounted on</div><div>rootfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2451064 &nbsp; 2425764 &nbsp; &nbsp; &nbsp; &nbsp; 0 100% /</div><div>/dev/root &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2451064 &nbsp; 2425764 &nbsp; &nbsp; &nbsp; &nbsp; 0 100% /</div>

</div><div><br></div><div><div>bash-3.2# mount</div><div>/dev/md0 on / type ext3 (rw,data=ordered)</div></div><div><br></div><div>As a result, any number of apps from the stock firmware are prevented from running and those that do hobble along spam the logs to the point of uselessness w/complaints.&nbsp;The catch? I can't find a safe way to fsck it. Conventional shutdown commands to force a fsck aren't an option/are just plain missing on the box. Using tune2fs to set the check interval&nbsp;ridiculously&nbsp;low to force a check upon reboot similarly didn't work. Unfortunately, the ARM-based architecture also doesn't support booting to a removable USB device, knocking out the only other safe way I can think of to fsck it. Pop new firmware on to start from scratch? I'd love to at this point, but the firmware installation process requires 1024 megs of free disk space.</div>

<div><br></div><div>Thoughts?&nbsp;&nbsp;Any ideas on how to safely get it cleaned up and accurately reporting its free space while the root filesystem is live and booted?</div><div>
<br></div><font color="#888888"><div>-Sean</div>
</font></blockquote></div><br></div><div>Oh, and I really doubt this changes the solution, but for full disclosure's sake:<div><br></div><div>Last change I made to the system was to install the ipkg for mlocate, which stores its small 500k db on a different partition. Also, power situation is abysmal here, and I'm not convinced it's shutting down properly when it detects that it's on UPS power.<br>
</div></div>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>KCLUG mailing list<br><a ymailto="mailto:KCLUG@kclug.org" href="/mc/compose?to=KCLUG@kclug.org">KCLUG@kclug.org</a><br><a href="http://kclug.org/mailman/listinfo/kclug" target="_blank">http://kclug.org/mailman/listinfo/kclug</a></div></blockquote></td></tr></table>