linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
From: Chris Ruehl <chris.ruehl@gtsys.com.hk>
To: jaegeuk.kim@samsung.com
Cc: linux-f2fs-devel@lists.sourceforge.net
Subject: Re: f2fs space usage
Date: Tue, 04 Feb 2014 17:52:37 +0800	[thread overview]
Message-ID: <52F0B865.7070704@gtsys.com.hk> (raw)
In-Reply-To: <1390529522.25542.42.camel@kjgkr>

On Friday, January 24, 2014 10:12 AM, Jaegeuk Kim wrote:
> Hi,
>
> 2014-01-23 (목), 17:32 +0800, Chris Ruehl:
>> Hi Kim,
>>
>> I recently work with f2fs and wondering about the system usage.
>> I have a NAND flash 128MB on my SoC used for uBoot and a root
>> partion (f2fs)
>>
>> when I install the busybox binaries I nearly run out of space
>> busybox binary
>>
>> root@gtsir24:/mnt# du -sh /mnt/.
>> 4.8M    /mnt/.
>>
>> but df -h show a 97% usage
> For such the small sized partition, the space is pretty much dependent
> on the overprovision ratio.
> So, if you want to get more space, you can format the partition with -o
> option.
>
> When I tested with 128MB, it seems that 20% is best, which shows 62MB
> for avaliable space occupying 45% utilization.
>
> The command is like this:
>
> # mkfs.f2fs -o 20 $dev
>
> Thanks,

Yes its made the trick!
/dev/mtdblock4  119M   53M   52M  51% /mnt


Thanks a lot for your advice.
Chris
>> root@gtsir24:/mnt# df -h
>> Filesystem      Size  Used Avail Use% Mounted on
>> rootfs          3.6G  574M  2.8G  17% /
>> /dev/root       3.6G  574M  2.8G  17% /
>> devtmpfs        125M     0  125M   0% /dev
>> tmpfs            25M  156K   25M   1% /run
>> tmpfs           5.0M     0  5.0M   0% /run/lock
>> tmpfs            50M     0   50M   0% /run/shm
>> /dev/mtdblock4  119M  101M  3.3M  97% /mnt
>>
>> I'm running a next-20140115.
>>
>> Can you comment please.
>> Chris


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

      reply	other threads:[~2014-02-04  9:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-23  9:32 f2fs space usage Chris Ruehl
2014-01-24  2:12 ` Jaegeuk Kim
2014-02-04  9:52   ` Chris Ruehl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52F0B865.7070704@gtsys.com.hk \
    --to=chris.ruehl@gtsys.com.hk \
    --cc=jaegeuk.kim@samsung.com \
    --cc=linux-f2fs-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).