home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.mandriva      Somewhat decent but also getting bloated      29,919 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 28,738 of 29,919   
   TJ to Bit Twister   
   Re: OT: ext4 or NTFS for external drive?   
   15 Nov 12 13:34:33   
   
   From: TJ@noneofyour.business   
      
   On 11/15/2012 10:30 AM, Bit Twister wrote:   
   > On Thu, 15 Nov 2012 10:10:14 -0500, Jim Beard wrote:   
   >   
   >> Do note that creating a file system on a partition results in   
   >> setting aside a bunch of space for directories/i-nodes.   
   >>   
   >> Filesystem     1K-blocks     Used Available Use% Mounted on   
   >> /dev/sda8      108855684 22871888  80454228  23% /   
   >>   
   >> Take the number of blocks and subtract used and available, and on   
   >> this 100GB partition there are 5529568 blocks remaining, about   
   >> 5.5 percent of partition space.  If you have 931GB, none used,   
   >> and 850-odd available, you have about 6.5 percent remaining.   
   >   
   > Yup, that would be the reserved blocks to let daemons and what not   
   > continue to run/log on a "full" disk.   
   >   
   > I saw that wasted space on my video partition. Changed the reserved   
   > value to about .001 and I have:   
   >   
   > $ df /video   
   > Filesystem      Size  Used Avail Use% Mounted on   
   > /dev/sdb6       399G  121G  278G  31% /video   
   >   
   >   
   > $ df -m  /video   
   > Filesystem     1M-blocks   Used Available Use% Mounted on   
   > /dev/sdb6         408550 122947    285195  31% /video   
   >   
   > $ echo "408550 - 122947 - 285195" | bc   
   > shows 408 M-blocks reserved/can't use.  :)   
   >   
   Interesting. You're probably correct, but I find myself confused again.   
   Consider this:   
      
   $ df -m /home   
   Filesystem     1M-blocks  Used Available Use% Mounted on   
   /dev/sdb6         222796 73649    149147  34% /home   
      
   Take note that if you add the used and available blocks together, you   
   get 0 blocks unaccounted for. No reserved, unused space.   
      
   This particular partition, as I recall, was created by the Mandriva   
   2010.0 installer, possibly 2009.1 but I don't think so. I told the   
   installer at the time to "use the whole disk" for the install. Since   
   then, with both Mandriva 2010.1/2 and Mageia 1 and 2, I've simply told   
   the installer to "use the current partitions" and did not reformat /home.   
      
   I did allow myself to come dangerously close to filling it a couple of   
   months ago, but as you can see have done some housekeeping since. Could   
   be, I suppose, that I came closer to filling it than I realized, and   
   thus used that reserved space. If so, I guess it would be prudent to   
   copy all my stuff to the new hard drive, do another format from my   
   backup Mageia 2 install, and then restore it.   
      
   TJ   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca