Your message dated Fri, 17 Aug 2018 15:25:30 -0400
with message-id <[email protected]>
and subject line f2fs-tools: mkfs.f2fs fails with inapropriate error message on 
small blocks
has caused the Debian Bug report #881346,
regarding f2fs-tools: mkfs.f2fs fails with inapropriate error message on small 
blocks
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
881346: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881346
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: f2fs-tools
Version: 1.4.0-2
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

mkfs fails on 100MB, but works on 1GB. Really sounds like there is a
minimal size. Even if my interpretation is wrong, Failed to prepare a
super block ... is not an intructive error message.

There exist FLASH devices down to 8MB; the DOC2000 was a very famous chip
with 32MB.

The goal of the day was only to check if my kernel supported F2FS (if I
could mount a block); I guess some people may want to use F2FS on old and
small devices.

# dd if=/dev/zero of=fff bs=1024 count=102400
102400+0 records in
102400+0 records out
104857600 bytes (105 MB) copied, 2.95282 s, 35.5 MB/s

# mkfs.f2fs fff
        F2FS-tools: mkfs.f2fs Ver: 1.4.0 (2014-09-18)
Info: sector size = 512
Info: total sectors = 204800 (in 512bytes)
Info: zone aligned segment0 blkaddr: 512
        Error: Failed to prepare a super block!!!
        Error: Could not format the device!!!

# dd if=/dev/zero of=fff bs=1024 count=1024000
1024000+0 records in
1024000+0 records out
1048576000 bytes (1.0 GB) copied, 48.8232 s, 21.5 MB/s

# mkfs.f2fs fff
        F2FS-tools: mkfs.f2fs Ver: 1.4.0 (2014-09-18)
Info: sector size = 512
Info: total sectors = 2048000 (in 512bytes)
Info: zone aligned segment0 blkaddr: 512
Info: Discarding device
Info: format successful



*** End of the template - remove these template lines ***


-- System Information:
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 8.0 (jessie)
Release:        8.0
Codename:       jessie
Architecture: armv7l

Kernel: Linux 4.4.48-v7+ (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages f2fs-tools depends on:
ii  libc6     2.19-18+deb8u7
ii  libuuid1  2.25.2-6

f2fs-tools recommends no packages.

f2fs-tools suggests no packages.

-- no debconf information

-- 
 >o_/ DEMAINE BenoƮt-Pierre (aka DoubleHP) http://benoit.demaine.info/
If computing were an exact science, IT engineers would'nt have work \_o<

"So all that's left, Is the proof that love's not only blind but deaf."
(FAKE TALES OF SAN FRANCISCO, Arctic Monkeys)


--- End Message ---
--- Begin Message ---
fixed 881346 f2fs-tools/1.7.0-1.1
thanks

This problem is fixed in f2fs-tools 1.7.0, which is the version in
Debian Stretch (the current stable release) as well as in
jessie-backports:

% mkfs.f2fs /tmp/fff

        F2FS-tools: mkfs.f2fs Ver: 1.7.0 (2016-07-28)

Info: Debug level = 0
Info: Label = 
Info: Trim is enabled
Info: Segments per section = 1
Info: Sections per zone = 1
Info: sector size = 512
Info: total sectors = 204800 (100 MB)
Info: zone aligned segment0 blkaddr: 512
Info: format version with
  "Linux version 4.18.0-00043-gfdade4115840 (tytso@cwcc) (gcc version 8.2.0 
(Debian 8.2.0-3)) #35 SMP Sun Aug 12 21:33:40 EDT 2018"
Info: Discarding device
Info: Overprovision ratio = 25.000%
Info: Overprovision segments = 22 (GC reserved = 16)
Info: format successful

I recommend that you use the newer version of f2fs-tools, as
f2fs-tools 1.4.0 is so obsolete/out of date that it's highly unlikely
that it will get any attention upstream or by the Debian maintainers.

Cheers,

                                        - Ted
                                        

--- End Message ---

Reply via email to