Questions tagged [e2fsprogs]

10 questions
5
votes
1 answer

Why is dumpe2fs called without user interaction?

I posted a question here because my HDDs keep spinning up for no apparent reason and wanted to find out what process causes them to spin up. In the comments to that question, I was told to use iosnoop which (without any arguments or switches)…
UTF-8
  • 3,175
  • 5
  • 23
  • 50
5
votes
1 answer

File system block size differs between different ext4 partitions

we have BBB based custom board with 256MB RAM and 4GB eMMC, I have partitioned it using below code, parted --script -a optimal /dev/mmcblk0 \ mklabel gpt \ mkpart primary 128KiB 255KiB \ mkpart primary 256KiB 383KiB \ mkpart primary 384KiB…
ART
  • 1,111
  • 3
  • 20
  • 35
4
votes
1 answer

Is it normal for tune2fs default mount options to not appear in mount output?

I have an SSD with 2 partitions formatted with ext4. On the second partition, I enabled discard as a default option at the filesystem level with this command: $ sudo tune2fs -o discard /dev/sda2 tune2fs 1.45.5 (07-Jan-2020) $ sudo tune2fs -l…
JoL
  • 4,520
  • 15
  • 35
3
votes
2 answers

tune2fs: what time zone is the date created in and is it possible to change it?

I have been using tune2fs to determine the age of my Linux distribution installations but without knowing the time zone the date in it is less useful. The exact command I am using is from here, here it is just for the sake of clarity: sudo tune2fs…
Josh Pinto
  • 3,483
  • 15
  • 52
  • 87
2
votes
1 answer

e2fsprogs issues on Debian testing - unable to upgrade packages

After trying to do a regular update on Debian Buster, I ended up with the following issue. The following package was automatically installed and is no longer required: libraw16 Use 'apt autoremove' to remove it. The following NEW packages will be…
2
votes
2 answers

How to erase gpt partition table and how to make old partition forget mount information

We have Beaglbone black based custom board with 256MB RAM and 4GB eMMC. We have script to flash software on the board. Script erases gpt partition table using following commands #Delete primary gpt (first 17KiB) dd if=/dev/zero of=/dev/mmcblk0…
ART
  • 1,111
  • 3
  • 20
  • 35
1
vote
2 answers

mke2fs ignore root_owner

As you know, if there is no root_owner option, mke2fs use the user and group ID of the user running mke2fs. Let's test it on Ubuntu 22 x86_64 (mke2fs 1.46.5 (30-Dec-2021)): Generate image mke2fs -t ext2 -I 256 -E…
1
vote
1 answer

debugfs not working | file not found by ext2_lookup

$sudo blkid /dev/sda1: UUID="F959-61DE" TYPE="vfat" PARTUUID="950b18a0-1501-48b4-92ef-ba1dd15aaf21" /dev/sda2: UUID="6dfcfc23-b076-4eeb-8fba-a1261b4ea399" TYPE="ext4" PARTUUID="ddc69ee8-40b0-49c9-9dcb-0b9064caca7d" /dev/sda3:…
0
votes
1 answer

How does "Inodes per group" and "lazy_itable_init" flag relate to the "Inode count" value in an ext4 filesystem?

I am trying to root cause a customer case where 2 Identical drives, formatted with the same command, led to a difference of ~55GB in total disk space due to additional Inode overhead. I want to understand The math on how 2xInodes per group…
RuMAN S
  • 19
  • 4
0
votes
3 answers

Is there a canonical way to get which version of e2fsprogs you have installed?

Linuxtopia's Kernel Configuration book recommends the following: To determine which version of e2fsprogs you have on your system, run the following command: $ tune2fs This seems kind of funky, though. Does e2fsprogs have a canonical way to check…
Wayne Werner
  • 11,463
  • 8
  • 29
  • 43