linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 117421] New: e2fsprogs: mke2fs ignores sparse_super2 when also using extent or 64bit
@ 2016-04-30 11:08 bugzilla-daemon
  2016-05-09  2:47 ` [Bug 117421] " bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2016-04-30 11:08 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=117421

            Bug ID: 117421
           Summary: e2fsprogs: mke2fs ignores sparse_super2 when also
                    using extent or 64bit
           Product: File System
           Version: 2.5
    Kernel Version: 4.2.8
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
          Assignee: fs_ext4@kernel-bugs.osdl.org
          Reporter: kellyc@surroundbackgrounds.com
        Regression: No

Package: e2fsprogs
Version: 1.42.12-1.1
Severity: normal
File: /sbin/mke2fs

When creating an ext3/ext4 filesystem the sparse_super2 option is ignored and
defaults back to sparse_super when using extent or 64bit.
mke2fs should respect the use of sparse_super2 when using either or both -O
extent or -O 64bit.


Normal formatting using sparse_super and works as expected creating 2 backup
superblocks.

mke2fs /dev/sdq1 -t ext4 -b 4096 -O sparse_super2
mke2fs 1.42.12 (29-Aug-2014)
Creating filesystem with 61049344 4k blocks and 15269888 inodes
Filesystem UUID: cdaa09a3-dcb2-473a-9da8-7517a632db14
Superblock backups stored on blocks:
        32768, 61046784

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done



Using extent option with sparse_super2 creates more than 2 backup superblocks.


mke2fs /dev/sdq1 -t ext4 -b 4096 -O sparse_super2 -O extent
mke2fs 1.42.12 (29-Aug-2014)
Creating filesystem with 61049344 4k blocks and 15269888 inodes
Filesystem UUID: 4634627d-bd41-4f96-923d-21746f12cf1f
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632,  
2654208,4096000, 7962624, 11239424, 20480000, 23887872

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done



Using 64bit option with sparse_super2 creates more than 2 backup superblocks.


mke2fs /dev/sdq1 -t ext4 -b 4096 -O sparse_super2 -O 64bit
mke2fs 1.42.12 (29-Aug-2014)
Creating filesystem with 61049344 4k blocks and 15269888 inodes
Filesystem UUID: ef3ed24c-0183-40c9-b2de-0b8e9bb868bb
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done



mke2fs (mkfs.ext4) should respect the sparse_super2 option when used with 64bit
or extent.




-- System Information:
Debian Release: 8.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.8-1-pve (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages e2fsprogs depends on:
ii  e2fslibs    1.42.12-1.1
ii  libblkid1   2.25.2-6
ii  libc6       2.19-18+deb8u3
ii  libcomerr2  1.42.12-1.1
ii  libss2      1.42.12-1.1
ii  libuuid1    2.25.2-6
ii  util-linux  2.25.2-6


e2fsprogs recommends no packages.

Versions of packages e2fsprogs suggests:
pn  e2fsck-static  <none>
pn  gpart          <none>
ii  parted         3.2-7

-- no debconf information

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 117421] e2fsprogs: mke2fs ignores sparse_super2 when also using extent or 64bit
  2016-04-30 11:08 [Bug 117421] New: e2fsprogs: mke2fs ignores sparse_super2 when also using extent or 64bit bugzilla-daemon
@ 2016-05-09  2:47 ` bugzilla-daemon
  2016-05-10 21:40 ` bugzilla-daemon
  2016-05-10 21:41 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2016-05-09  2:47 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=117421

Theodore Tso <tytso@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tytso@mit.edu

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 117421] e2fsprogs: mke2fs ignores sparse_super2 when also using extent or 64bit
  2016-04-30 11:08 [Bug 117421] New: e2fsprogs: mke2fs ignores sparse_super2 when also using extent or 64bit bugzilla-daemon
  2016-05-09  2:47 ` [Bug 117421] " bugzilla-daemon
@ 2016-05-10 21:40 ` bugzilla-daemon
  2016-05-10 21:41 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2016-05-10 21:40 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=117421

Theodore Tso <tytso@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Comment #1 is|1                           |0
            private|                            |

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

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

* [Bug 117421] e2fsprogs: mke2fs ignores sparse_super2 when also using extent or 64bit
  2016-04-30 11:08 [Bug 117421] New: e2fsprogs: mke2fs ignores sparse_super2 when also using extent or 64bit bugzilla-daemon
  2016-05-09  2:47 ` [Bug 117421] " bugzilla-daemon
  2016-05-10 21:40 ` bugzilla-daemon
@ 2016-05-10 21:41 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2016-05-10 21:41 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=117421

Theodore Tso <tytso@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #2 from Theodore Tso <tytso@mit.edu> ---
I've added a commit to e2fsprogs 1.43 (when it is released) so it will accept
multiple -O options, since other people will likely make the same mistake.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

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

end of thread, other threads:[~2016-05-10 21:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-30 11:08 [Bug 117421] New: e2fsprogs: mke2fs ignores sparse_super2 when also using extent or 64bit bugzilla-daemon
2016-05-09  2:47 ` [Bug 117421] " bugzilla-daemon
2016-05-10 21:40 ` bugzilla-daemon
2016-05-10 21:41 ` bugzilla-daemon

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