Skip to main content

Questions tagged [superblock]

Use for question about the special metadata "super block" of filesystems.

1 vote
0 answers
47 views

Why is ext3 superblock data seemingy not updated after mount?

I had the idea to compare the system clock with the data of the last superblock update when booting (as traditional UNIX systems did). However it seems the superblock (or at least it's write time) is ...
U. Windl's user avatar
  • 1,771
1 vote
1 answer
77 views

How to calculate the checksum of a ext4 (eg. superblock or inode)

I have an image-file of an ext4 file system (filesystem.img). I am extracting sections sections of the filsystem. Is there a way to manually calculate the the checksum of the sections just with a ...
user722585's user avatar
0 votes
0 answers
47 views

How many Group Descriptor is there in GDT of Ext4?

GDT = Group Descriptor Table ; GD = Group Descriptor. I'm trying to figure out how many bytes I need to read after the superblock to extract the entire GDT, because it's needed for a program I'm ...
james's user avatar
  • 121
1 vote
1 answer
180 views

How does the combination of SPARSE_SUPER and FLEX_BG features impact the location of backup super blocks in EXT4?

Edit: I've posted an answer to the following below, but not accepted yet, in the hopes that someone will kindly provide me with a generic calculation for determining whether block group n will have a ...
genericuser99's user avatar
4 votes
0 answers
126 views

Accidentally ran mkswap on ext4 fs

I accidentally used mkswap on a unmounted 2 TB data partition of a hard drive (not an SSD), while I was on a live USB session. I did not run swapon as I immediately realized what I had just done. I ...
Samuel's user avatar
  • 342
0 votes
1 answer
215 views

How are EXT4 metadata checksums within group descriptors calculated?

I'm looking at parsing raw EXT4-formatted block devices, just using Python, primarily as a learning exercise, but am having trouble manually generating the expected Group Descriptor checksums - there ...
genericuser99's user avatar
0 votes
0 answers
45 views

Disk error by partioning dual boot and running fsck -b

so after I partitioned with mini partion tool the drive containing Linux and windows 11 broke the windows so I hoped on linux trying to fix it but the linux partition sustained some damage too it ...
TheGuy's user avatar
  • 11
1 vote
1 answer
747 views

Probabilistic (~50%) error on boot regarding "wrong fs type, bad option, bad superblock...missing codepage or helper program, or other error"

I've found a ton of posts on the internet regarding this error: wrong fs type, bad option, bad superblock on /dev/xxx,missing codepage or helper program, or other error Yet I have never found any case ...
Dennis Orlando's user avatar
0 votes
0 answers
217 views

Corrupt EXT4 filesystem, backup superblock no dice

I am a novice linux user, for some time. I need some help with recovering a corrupted EXT4 filesystem. Ideally, I would like to recover the filesystem intact. The drive in question is 'sda'. The ...
userk's user avatar
  • 1
0 votes
2 answers
421 views

What is the difference between blocks and fragments in a group?

The output of a mke2fs command is as follows root@localhost:~# mke2fs /dev/xvdf mke2fs 1.42.9 (4-Feb-2023) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 ...
Himanshuman's user avatar
0 votes
1 answer
1k views

XFS superblock not found

I had an old drive beginning to fail and my backups were no good apparently. I got a new drive larger than the failed one and was able to ddrescue it over, with bad/missing superblocks of course. ...
MaKR's user avatar
  • 181
0 votes
0 answers
622 views

Bad Superblock while mounting an ext4 Disk

I wanted to migrate my Data to a larger Disk for my secondary Drive for my Synology NAS. I tried to Mount the Disk on a Rapsberry to do a Filetransfer to the new Disk on the Synology. But on the way ...
Igor's user avatar
  • 1
1 vote
1 answer
463 views

Unix ext2 superblock - file system creation date

I am trying to find the creation date on an ext2 file system. I seem to get a current date using dumpe2fs. The problem is that the original ext2 superblock specification does not contain such ...
Panagiotis Stefanis's user avatar
0 votes
1 answer
2k views

Bad magic number while trying to mount a new hard disk

Im using RHEL 8.7 I've added new HD nvme0n2 to my linux and created partititions successfully the output of lsblk -f NAME FSTYPE LABEL UUID ...
Raj Parayane's user avatar
2 votes
0 answers
479 views

Raid can be assembled but not mounted, issue is with the superblock

I moved tow drives which where mounted in a raid1 to another to a new system to be mounted there. One drive was detected instantly, the other one had issues with the super blocks. After reading Kevin ...
Friedi's user avatar
  • 21

15 30 50 per page
1
2 3 4 5 6