linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* f2fs space usage
@ 2014-01-23  9:32 Chris Ruehl
  2014-01-24  2:12 ` Jaegeuk Kim
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Ruehl @ 2014-01-23  9:32 UTC (permalink / raw)
  To: jaegeuk.kim, linux-f2fs-devel

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

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

------------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: f2fs space usage
  2014-01-23  9:32 f2fs space usage Chris Ruehl
@ 2014-01-24  2:12 ` Jaegeuk Kim
  2014-02-04  9:52   ` Chris Ruehl
  0 siblings, 1 reply; 3+ messages in thread
From: Jaegeuk Kim @ 2014-01-24  2:12 UTC (permalink / raw)
  To: Chris Ruehl; +Cc: linux-f2fs-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: f2fs space usage
  2014-01-24  2:12 ` Jaegeuk Kim
@ 2014-02-04  9:52   ` Chris Ruehl
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Ruehl @ 2014-02-04  9:52 UTC (permalink / raw)
  To: jaegeuk.kim; +Cc: linux-f2fs-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-04  9:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).