f2fs space usage
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
Hi,
2014-01-23 (목), 17:32 +0800, Chris Ruehl:
Quoted 6 lines
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)
Quoted 7 lines
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,
Quoted 15 lines
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% /mntI'm running a next-20140115.
Can you comment please.
Chris
Signature · 15 lines
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 [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
Quoted 21 lines · Jaegeuk Kim
Hi,
2014-01-23 (목), 17:32 +0800, Chris Ruehl:
Quoted 6 lines
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)
Quoted 7 lines
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.
Quoted 8 lines
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 $devThanks,
Yes its made the trick!/dev/mtdblock4 119M 53M 52M 51% /mnt
Thanks a lot for your advice.
Chris
Quoted 10 lines
Quoted 10 lines
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
Quoted 4 lines
Quoted 4 lines
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel