From: Jaegeuk Kim <jaegeuk.kim@samsung.com>
To: Chris Ruehl <chris.ruehl@gtsys.com.hk>
Cc: linux-f2fs-devel@lists.sourceforge.net
Subject: Re: f2fs space usage
Date: Fri, 24 Jan 2014 11:12:02 +0900 [thread overview]
Message-ID: <1390529522.25542.42.camel@kjgkr> (raw)
In-Reply-To: <52E0E1BF.9090409@gtsys.com.hk>
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,
>
> 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
--
Jaegeuk Kim
Samsung
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
next prev parent reply other threads:[~2014-01-24 2:13 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 [this message]
2014-02-04 9:52 ` Chris Ruehl
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=1390529522.25542.42.camel@kjgkr \
--to=jaegeuk.kim@samsung.com \
--cc=chris.ruehl@gtsys.com.hk \
--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).