﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>du - Value too large to be stored in data type</title><link>http://www.suacommunity.com/forum/</link><description /><copyright>(c) SUA Community for Microsoft Interix &amp; Subsystem fo</copyright><ttl>30</ttl><item><title>Re:du - Value too large to be stored in data type (redondo_se)</title><description>   &lt;br&gt;  Yep, that seems to have fixed it.&amp;nbsp; It works now in all cases that it did not before. &lt;br&gt;   &lt;br&gt;  Thanks!! &lt;br&gt;   &lt;br&gt;  Sean &lt;br&gt;  </description><link>http://www.suacommunity.com/forum/fb.ashx?m=18463</link><pubDate>Tue, 03 Aug 2010 10:28:06 GMT</pubDate></item><item><title>Re:du - Value too large to be stored in data type (Rodney)</title><description>  Okay, I've shifted the patch/workaround a bit do it works when files aren't named. "pkg_update -L du" to give it a try. Thanks. &lt;br&gt;   &lt;br&gt;  </description><link>http://www.suacommunity.com/forum/fb.ashx?m=18461</link><pubDate>Tue, 03 Aug 2010 05:06:59 GMT</pubDate></item><item><title>Re:du - Value too large to be stored in data type (redondo_se)</title><description>  &lt;blockquote class="quote"&gt;&lt;i&gt;Rodney&lt;/i&gt;&lt;br&gt;  &lt;br&gt;       &lt;br&gt;      There's an updated &lt;b&gt;du&lt;/b&gt; now.  &lt;br&gt;      Do "&lt;b&gt;pkg_update -L du&lt;/b&gt;" to get it installed.  &lt;br&gt;      Let me know if there is any problem still.  &lt;br&gt;      &lt;/blockquote&gt;  &lt;br&gt;       &lt;br&gt;      Hi Rodney,  &lt;br&gt;      &amp;nbsp;  &lt;br&gt;      I'm not getting email updates when you reply to this thread, even though I have it as a subscription with instant email notification.  &lt;br&gt;      &amp;nbsp;  &lt;br&gt;      Anyway, I was wrong earlier when I said it was working on the 500 GB drive but not the 2TB drive.&amp;nbsp;&amp;nbsp; It's actually wrong on both.&amp;nbsp; I think version 1.0 has the same problem, it just doesn't give the "value too large" message.  &lt;br&gt;      &amp;nbsp;  &lt;br&gt;      I just&amp;nbsp;tried your update, and&amp;nbsp;unfortunately&amp;nbsp;it's still not quite&amp;nbsp;right.&amp;nbsp; It seems that "du -hsc *"&amp;nbsp;give the right answer, but du -h does not.&amp;nbsp; And using * won't work if there are directories that begin with ".".  &lt;br&gt;      &amp;nbsp;  &lt;br&gt;      &lt;pre class="prettyprint"&gt; /dev/fs/F/BACKUP &amp;gt; ls -Flh 
     total 644391 
     -rwxrwx---+ 1 +SYSTEM&amp;nbsp; +SYSTEM&amp;nbsp;&amp;nbsp; 100M Jun&amp;nbsp; 3 03:13 cindy_boot_partition.tib* 
     -rwxrwx---+ 1 +SYSTEM&amp;nbsp; +SYSTEM&amp;nbsp;&amp;nbsp; 4.2G Jun&amp;nbsp; 3 02:31 cindy_test_backup.tib* 
     /dev/fs/F/BACKUP &amp;gt; du -hsc * 
     100M&amp;nbsp;&amp;nbsp;&amp;nbsp; cindy_boot_partition.tib 
     4.2G&amp;nbsp;&amp;nbsp;&amp;nbsp; cindy_test_backup.tib 
     4.3G&amp;nbsp;&amp;nbsp;&amp;nbsp; total 
     /dev/fs/F/BACKUP &amp;gt; du -h 
     8.0P&amp;nbsp;&amp;nbsp;&amp;nbsp; . 
     &lt;/pre&gt;  &lt;br&gt;      &amp;nbsp;  &lt;br&gt;      Thanks for giving it some attention.&amp;nbsp; &lt;br&gt;      Sean  &lt;br&gt;      edit: just tried in another directory with more large files, and -hsc * does not work correctly there. &lt;br&gt;  </description><link>http://www.suacommunity.com/forum/fb.ashx?m=18455</link><pubDate>Sat, 31 Jul 2010 16:38:29 GMT</pubDate></item><item><title>Re:du - Value too large to be stored in data type (Rodney)</title><description>  There's an updated &lt;b&gt;du&lt;/b&gt; now. &lt;br&gt;  Do "&lt;b&gt;pkg_update -L du&lt;/b&gt;" to get it installed. &lt;br&gt;  Let me know if there is any problem still. &lt;br&gt;  </description><link>http://www.suacommunity.com/forum/fb.ashx?m=18444</link><pubDate>Thu, 29 Jul 2010 21:32:20 GMT</pubDate></item><item><title>Re:du - Value too large to be stored in data type (Rodney)</title><description>  Yeah, it's a subsystem bug. It's likely a casting thing. &lt;br&gt;  I can do a workaround in &lt;b&gt;du&lt;/b&gt; to calculate it right. &lt;br&gt;   &lt;br&gt;  </description><link>http://www.suacommunity.com/forum/fb.ashx?m=18443</link><pubDate>Thu, 29 Jul 2010 19:06:13 GMT</pubDate></item><item><title>Re:du - Value too large to be stored in data type (Rodney)</title><description>  It's something more confusing then I thought it would be. &lt;br&gt;  It's looking like the information returned from the stat(2) system call on 64-bit systems has the number &lt;br&gt;  of blocks used wrong. The number of blocks reported is to use a block size of 512 (regardless of &lt;br&gt;  the actual block size used on the device). &lt;br&gt;  </description><link>http://www.suacommunity.com/forum/fb.ashx?m=18442</link><pubDate>Thu, 29 Jul 2010 18:17:02 GMT</pubDate></item><item><title>Re:du - Value too large to be stored in data type (Rodney)</title><description>  The message from &lt;b&gt;du&lt;/b&gt; 1.0.1 is likely the best clue. &lt;br&gt;  A 32 bit integer will hold a value to 4G before rolling over. &lt;br&gt;  So that 4.2G versus 214M makes sense in that context. &lt;br&gt;   &lt;br&gt;  I'll go look at &lt;b&gt;du&lt;/b&gt; right now. &lt;br&gt;  </description><link>http://www.suacommunity.com/forum/fb.ashx?m=18440</link><pubDate>Thu, 29 Jul 2010 15:54:43 GMT</pubDate></item><item><title>Re:du - Value too large to be stored in data type (redondo_se)</title><description>  Wasn't thinking correctly when I made that last post.&amp;nbsp; Actually, all my drives are encrypted with Truecrypt, so the size seems to be the only difference. &lt;br&gt;  </description><link>http://www.suacommunity.com/forum/fb.ashx?m=18437</link><pubDate>Thu, 29 Jul 2010 10:42:54 GMT</pubDate></item><item><title>Re:du - Value too large to be stored in data type (redondo_se)</title><description>  &lt;blockquote class="quote"&gt;&lt;i&gt;Rodney&lt;/i&gt;&lt;br&gt;  &lt;br&gt;   &lt;br&gt;  Glad you were able to fix it.  &lt;br&gt;   &lt;br&gt;  The 32-bit based utilities will install on the 64-bit systems and usually it'll be alright.  &lt;br&gt;  There is a separate bundle with just 64-bit utilities too.  &lt;br&gt;  When installing the utilities on a one-by-one basis the installer will pick the 64-bit package  &lt;br&gt;  first, if it is available, otherwise the 32-bit.  &lt;br&gt;  &lt;/blockquote&gt;  &lt;br&gt;   &lt;br&gt;  Actually, I did install the 64-bit bundle.&amp;nbsp; However, things are not all well as I had thought.&amp;nbsp; df is working correctly, but du is still giving me some strange results: &lt;br&gt;   &lt;br&gt;  &lt;pre class="prettyprint"&gt;
 /dev/fs/F/BACKUP &amp;gt; ls -Fhl
 total 644391
 -rwxrwx---+ 1 +SYSTEM&amp;nbsp; +SYSTEM&amp;nbsp;&amp;nbsp; 100M Jun&amp;nbsp; 3 03:13 cindy_boot_partition.tib*
 -rwxrwx---+ 1 +SYSTEM&amp;nbsp; +SYSTEM&amp;nbsp;&amp;nbsp; 4.2G Jun&amp;nbsp; 3 02:31 cindy_test_backup.tib*
 
 /dev/fs/F/BACKUP &amp;gt; du -ha
 100M&amp;nbsp;&amp;nbsp;&amp;nbsp; ./cindy_boot_partition.tib
 214M&amp;nbsp;&amp;nbsp;&amp;nbsp; ./cindy_test_backup.tib
 314M&amp;nbsp;&amp;nbsp;&amp;nbsp; .
 &lt;/pre&gt; &lt;br&gt;   &lt;br&gt;  Notice that ls reports the correct size of cindy_test_backup.tib, but du does not.&amp;nbsp; I no longer get the value too large errors, but it's not correct in this case. &lt;br&gt;   &lt;br&gt;  du does work correctly on large files on another drive.&amp;nbsp; However, notable differences are that the other drive is only a 500 GB drive.&amp;nbsp; The drive that I get bad numbers on is 2TB, and is also encrypted with truecrypt. &lt;br&gt;   &lt;br&gt;  The du-1.0.1 package is the one that gives me the value too large errors.&amp;nbsp; The du that comes with the microsoft utilities and the du-1.0 package from the tool warehouse both give me the same bad numbers for this large file on my 2TB drive. &lt;br&gt;   &lt;br&gt;  Is there an alternative to du to find the disk usage of directories? &lt;br&gt;   &lt;br&gt;  Thanks, &lt;br&gt;  Sean &lt;br&gt;   &lt;br&gt;  </description><link>http://www.suacommunity.com/forum/fb.ashx?m=18436</link><pubDate>Thu, 29 Jul 2010 10:09:36 GMT</pubDate></item><item><title>Re:du - Value too large to be stored in data type (Rodney)</title><description>  Glad you were able to fix it. &lt;br&gt;   &lt;br&gt;  The 32-bit based utilities will install on the 64-bit systems and usually it'll be alright. &lt;br&gt;  There is a separate bundle with just 64-bit utilities too. &lt;br&gt;  When installing the utilities on a one-by-one basis the installer will pick the 64-bit package &lt;br&gt;  first, if it is available, otherwise the 32-bit. &lt;br&gt;  </description><link>http://www.suacommunity.com/forum/fb.ashx?m=18435</link><pubDate>Wed, 28 Jul 2010 17:40:29 GMT</pubDate></item><item><title>Re:du - Value too large to be stored in data type (redondo_se)</title><description>   &lt;br&gt;  Fixed it.&amp;nbsp; After some digging, I realized that I installed the older Utilities and SDK, the one intended for Server 2008 and Vista RTM.&amp;nbsp; I didn't realize there was a newer version for 2008 R2 and Windows 7.&amp;nbsp; I had also done the full tools warehouse package install. &lt;br&gt;   &lt;br&gt;  I uninstalled everything including the SUA services, and started clean.&amp;nbsp; This time I installed the newer Utilities and SDK, and I'm taking a more minimal approach to installing things from the warehouse this time. &lt;br&gt;   &lt;br&gt;  du and df are both working correctly now. &lt;br&gt;  </description><link>http://www.suacommunity.com/forum/fb.ashx?m=18434</link><pubDate>Wed, 28 Jul 2010 10:27:41 GMT</pubDate></item><item><title>du - Value too large to be stored in data type (redondo_se)</title><description>  Hi, &lt;br&gt;   &lt;br&gt;  I'm running windows server 2008 R2 64-bit.&amp;nbsp; I have installed SUA and the full Interix package.&amp;nbsp; uname -a produces the following: &lt;br&gt;   &lt;br&gt;  Interix cindy 6.1 10.0.6030.0 genuineintel Intel64_Family_6_Model_15_Stepping_11 &lt;br&gt;   &lt;br&gt;  I get "Value too large to be stored in data type" on large files when I execute du.&amp;nbsp; Also, df -h is off by a factor of 1000, i.e. the values output are too small.&amp;nbsp; df -g outputs the correct values though.&amp;nbsp; One of my disks is a 2TB disk with 1 large volume. &lt;br&gt;   &lt;br&gt;  Is there any way to fix these issues? &lt;br&gt;   &lt;br&gt;  Thanks, &lt;br&gt;  Sean &lt;br&gt;  </description><link>http://www.suacommunity.com/forum/fb.ashx?m=18433</link><pubDate>Mon, 26 Jul 2010 13:43:54 GMT</pubDate></item></channel></rss>
