Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [superblock]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
223 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
110 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
162 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
0 answers
574 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
384 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
279 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
1k 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
242 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
1 vote
2 answers
609 views

Are Superblock and Master File Tables the same thing?

What is the difference between a superblock and a Master File Table (MFT)? Both seem to be tables that keep track of files within a filesystem, but are there other differences? The only difference I ...
Tommaso Bendinelli's user avatar
0 votes
0 answers
675 views

Recover ext4 partition with bad superblock? (Failed after resizing, backup magic numbers don't work)

Background Had a Linux root ext4 partition that I needed more space; cleared it from my Windows install, and then modified the remaining stuff on KDE's partition manager on a live usb. I'm not ...
zenurik's user avatar
3 votes
1 answer
3k views

Fixing missing superblocks on both RAID1 disks using mdadm

My RAID1 array was working fine at /dev/md128 but seems to have completely disappeared after a reboot, with mdadm reporting both disks are missing superblocks. My question is how to fix this? ...
tater's user avatar
  • 273
1 vote
0 answers
984 views

How did my ext3 superblocks get so messed up? And how to fix them?

I've recently found an old external hard disk and I have no idea what's on it. There was only one partition, encrypted with dm-crypt. Luckily I still remembered some of the passphrases that I used ...
meeque's user avatar
  • 21
1 vote
1 answer
1k views

md: kicking non-fresh sdg from array! md/raid:md0: and then not enough operational devices (3/7 failed)

today I run in a disaster... I have a RAID 6 with 7 HDDs and yesterday one disk failed. After replacing the disk and did a rebuild over night I found out that a 2nd HDD was out of the RAID... So today ...
LeChatNoir's user avatar
0 votes
0 answers
76 views

Fedora boot errors after a update

I did an update on my Fedora USB stick and after that there were errors booting and I got into ermergency mode. Error:
FebanHD's user avatar
0 votes
0 answers
581 views

Problem mounting system partitions in rescue mode

I have a serious problem. Server crashed and not returned, disk problems. I'm trying to mount /dev/vg/root partition to access and remove the files but it's giving me a superblock error. Until ...
Gomes's user avatar
  • 1
0 votes
1 answer
118 views

Bad superblocks after partition manager error, any way to solve?

Alright so I was using Lubuntu to create a swap partition for my KDE Neon system and I used KDE Partition Manager (it came preinstalled with Lubuntu). It shrinked the drive in 8GB and sat there for a ...
alnexus-pleasehelpme's user avatar
3 votes
2 answers
783 views

List what each sd is

On Linux I know that sda, sdb, and sdh are hard drives, but I don't know what is sdc, sdd, sde, sdf and sdg are. Some of them are (I think) empty and some of them, the kernel tries to make them ...
aaa's user avatar
  • 157
2 votes
2 answers
706 views

Rebuilding directory tree (and/or inodes)

Problem My Armbian based Orange Pi webserver crashed (probably because of a power loss). I thought it would be fine since ext4 is more resilient and it usually has been in the past, but for some ...
Synetech's user avatar
  • 173
4 votes
2 answers
2k views

Access ext4 disk that lost superblock and its backups

I found myself in a weird situation with my system's disk. It's Linux system with 3 partitions, boot, swap and filesystem (ext4). A few days ago i used knoppix from a pendrive (I made the bootable usb ...
valepu's user avatar
  • 192
1 vote
1 answer
796 views

How does the OS access files stored on the hard disk?

I know the first thing the OS accesses on the harddisk is the superblock. But then what?
Soumik Basu's user avatar
0 votes
2 answers
3k views

Superblock problem on a crypto_LUKS drive

When I try to boot from my main drive, I get this error: That message says "Inodes that were part of a corrupted orphan linked list found" so I tried this - https://askubuntu.com/questions/...
user468425's user avatar
0 votes
2 answers
2k views

How to erase/wipe all ext4 metadata, not just the filesystem signature 53 ef?

I want to make zero all bits of a partition where an ext4 filesystem structure existed (superblocks, metadata, journal, etc), not just the filesystem signature deleted by wipefs. I can quickly zero ...
Costin Gușă's user avatar
0 votes
1 answer
306 views

Debian grub bootloader / problem superblocks /UEFI

i have an Intel Nuc-8i3beh running a Debian 10 Buster and Windows 10 in dual boot. The Windows system was installed first. The bootloader is grub in uefi mode. System: sda -> main harddrive with ...
alwa's user avatar
  • 1
1 vote
1 answer
44 views

system is running alright with some weird issues, but fsck says all superblocks are corrupt

first off, this is a longer story, and I am not very knowledgeable in any of this. So feel free to ask questions and bombard me with commands to try. Last year in November I bought a new PC with a ...
Anna Kleiner's user avatar
0 votes
1 answer
1k views

mdadm not enough to start array - /dev/sdc2 no superblock

After a power failure on a server with 4 disks in RAID6 configuration, /dev/md1 won't come up (though /dev/md0 does). mdadm --assemble --scan mdadm: /dev/md/1 assembled from 3 drives - not enough to ...
batflaps's user avatar
  • 195
1 vote
0 answers
905 views

Ext4 All data deleted, can't recover

I don't know what I did, but I made a disaster and lost around 50000 family pictures. There was inside a raid1. ls return just 2 files: root@NAS:/srv/dev-disk-by-label-RAID1# ls aquota.group aquota....
Jean Christophe Richter's user avatar
4 votes
3 answers
17k views

ext4 - Bad magic number in super-block

ext4 is failed me again! the most unstable fs tried to fix it by restoring block from backup, but without luck.. ↪ sudo fsck.ext4 -v /dev/sdd e2fsck 1.45.6 (20-Mar-2020) ext2fs_open2: Bad magic number ...
Yu Da Chi's user avatar
1 vote
1 answer
859 views

Recover old HOME directory data from USB external HDD error: mount: unknown filesystem type 'LVM2_member', Couldn't find valid filesystem superblock

Reason: /boot filesystem corrupted: Both bootable hard drive cables were disconnected with motherboard by accident when it was powered on, which caused the HDDs /boot filesystem crashed. CentOS 7 ...
Gordon's user avatar
  • 11
2 votes
1 answer
175 views

What is the most efficient way to search a block device for valid (filesystem) superblocks?

I have a block device that contains some valid filesystem (including the main and backup superblocks) at some unknown offset with some unknown block size. In my case I happen to know that it's an ext4 ...
ATLief's user avatar
  • 308
0 votes
1 answer
2k views

How to mount a backup ext4 superblock? I got an error when following instructions [duplicate]

I'm trying to recover stuff after I accidentally formatted an ext4 partition. I'm running the system from a Live USB, and following this guide to mount a backup superblock. However, I get an error ...
Meeep's user avatar
  • 101
5 votes
3 answers
51k views

How to fix if I received mount: /dev/vgname/lvname: can't read superblock for the local filesystem?

I received an incident when I was trying to do mount -a . I was getting the below error. So how to fix this issue? mount: /dev/vgname/lvname: can't read superblock
sagar hedaoo's user avatar
1 vote
0 answers
84 views

Is there any tool that can test a potential XFS superblock for validity?

All XFS superblocks start with XFSB. Given a list of potential superblocks, is there any method to test them for validity? $ sudo grep --byte-offset XFSB -ao /dev/sdb 689569283:XFSB 1114071063:XFSB ...
Evan Carroll's user avatar
  • 31.3k
1 vote
1 answer
623 views

All superblocks corrupt, mismatched start sector on extended and logical partitions

While running Linux Mint 19 Cinnamon normally, the drive went into lockdown mode preventing disk writes indicating possible corruption. Upon shutdown and reboot I was met with ACPI errors. Following ...
zolt56's user avatar
  • 13
-2 votes
1 answer
428 views

How to clean and reboot HDDs pulled from LVM groups (showing bad super blocks)?

I have 2x 4TB HDDs that were put in an LVM group last year, ended up not really using this server due to huge issues around installing nextcloud. At some point it started giving me boot problems so I ...
Larry Cai's user avatar
  • 123
2 votes
0 answers
480 views

Why do my software RAID1 superblocks keep getting corrupted and how can I prevent this?

How might I be repeatedly corrupting my superblocks on RAID1 I have had two occasions in the past six months of RAID1 root arrays becoming unusable because of problems with the superblock. ...
Stonecraft's user avatar
1 vote
1 answer
14k views

How to fix bad magic number - Superblock on Linux

I'm running a dual boot system with Windows 7 and Puppy Linux Ubuntu based "Bionic" installed on a separate partition of my main drive. Completely separate from that I have a 1TB Western Digital ...
Gary Platon's user avatar
0 votes
1 answer
2k views

Ubuntu won't boot [duplicate]

My laptop ran out of power and when I went to plug it in and power it on, Ubuntu no longer boots. I get directed to BusyBox built in shell that looks exactly like: BusyBox v1.27.2 (Ubuntu 1:1.27.2-...
Reuben Wilson's user avatar
0 votes
1 answer
88 views

Will relabeling a partition destroy data

Is it possible to relabel a partition that was accidentally relabeled with a different file system type? We think we accidentally relabeled sdb1 as XFS when it should have been labeled lvm(8e), after ...
John Stucki's user avatar
1 vote
1 answer
1k views

Bad magic number in super-block: dm-crypt device

I have a device that is encrypted using dm-crypt. This is a mini SD card that I use on my laptop. I've had some issues with my laptop freezing recently, and in the journal these messages come up: ...
user avatar
2 votes
1 answer
295 views

How to recover when ext4 superblock's inode count is reset to 0

We tried to resize a 15TB ext4 partition to 16TB and accidentally managed to hit an old (and fixed in newer releases) off-by-one bug of ext4_resize_fs() which causes inode count to reset to 0 thanks ...
Matti K's user avatar
  • 21
2 votes
1 answer
2k views

Superblock replicas in ext4

I am trying to find the association between block groups and superblocks in an ext4 filesystem I was unable to find much of documentation online, except this link that hints that Because of the ...
pkaramol's user avatar
  • 2,809
1 vote
1 answer
2k views

mdadm raid 1 how to remove raid and remove data offset to mount normally?

I have a disk that was in a mdadm raid1 with a btrfs partition. Now I want to use this partition without the raid stuff and mount it normally. I already zeroed the mdadm superblock, but now the ...
Fizz Khalifa's user avatar
1 vote
1 answer
1k views

Manually backup superblock - how to & does it make sense?

Background The first block of an ext4 filesystem is called the superblock - it contains essential metadata. There are backup copies of the superblock scattered throughout the filesystem; they can be ...
nagamani's user avatar
  • 181
0 votes
1 answer
6k views

File system check of the root filesystem failed, manual fsck can not fix [closed]

Linux Mint 18 on SDD with LVM ext4 Booting in recovery mode shows: ata3.00: status: { DRDY DF ERR } ata3.00: error: { ABRT } ata3.00: configured for UDMA/100 sd 2:0:0:0: [sdb] tag#0 FAILED Result: ...
serebuka's user avatar
2 votes
1 answer
3k views

EXT4 app2sd link2sd partition repair with bad superblock . Partition cannot be mounted on Android but will mount RW w/ su on Linux Live

I have a 128gb micro sd formatted as ext4 10gb for app2sd 2nd ext4 partition ( p2 ) on my Android 6 phone . All my apps ( 80%) stay on that ext4 partition . Now app2sd cant load this partition - "...
user1874594's user avatar
2 votes
1 answer
8k views

How can I view the superblock of an XFS partition?

I know that EXT superblock information can be found using dumpe2fs -h /dev/sda1, but what is the XFS equivalent of this? The best I have found so far is xfs_info /dev/sda1, but this doesn't seem to ...
Timothy Pulliam's user avatar
1 vote
1 answer
1k views

bad magic number in superblock

I need to restore a broken partition superblock, so I get my list of backuped superblocks with : sudo mke2fs -n /dev/sdd1 And I would like to know if when choosing the one to restore, if this is ...
John Doe's user avatar
  • 1,011
1 vote
1 answer
1k views

restoring raid filesystem

I ended up with my 3-disk mdadm array not being able to assemble because each of the disks had corrupted superblocks. I tried to force reassembling the array using mdadm --create This resulted in ...
fectus's user avatar
  • 49
0 votes
3 answers
2k views

How to fix external HD?

I have an external HD which is divided into two partitions: an exFAT with 700GB and a LUKS partition with 300GB. I was copying from my computer to the luks partition but it got slow and stucked so I ...
Bella's user avatar
  • 23
8 votes
2 answers
12k views

Btrfs super-recover says all superblocks are good but mount disagrees

I have an external drive formatted with BTRFS that seems refuses to mount: $ sudo mount -vs -t btrfs -o ro,recovery,errors=continue /dev/sdb2 /media/user/dir mount: /dev/sdb2: can't read superblock ...
Livius's user avatar
  • 241