Questions tagged [superblock]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
16 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 ...
user avatar
0 votes
0 answers
16 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 ...
user avatar
0 votes
0 answers
42 views

fsck.ext4 Error : unable to set superblock flags on /dev/sdaX

/dev/sda3 is my main Linux(Ubuntu) system partition. /dev/sda4 is my sub Linux(Kubuntu) partition. I installed Kubuntu on my main SSD that already includes Ubuntu. In this progress, I just resized /...
user avatar
1 vote
1 answer
59 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? ...
user avatar
  • 223
1 vote
0 answers
34 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 ...
user avatar
  • 21
1 vote
1 answer
60 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 ...
user avatar
0 votes
0 answers
28 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:
user avatar
0 votes
0 answers
124 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 ...
user avatar
  • 1
0 votes
1 answer
54 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 ...
user avatar
0 votes
0 answers
129 views

Can't recover ext4 partition after moving

I am running kubuntu 20.04 LTS on an external disk. I shrunk the windows partition on nvme0n1 by 190GB and using KDE partition manager formatted it as ext4 with the label "EXP". Everything ...
user avatar
  • 1
0 votes
0 answers
20 views

RAID Superblock 0.90 Structure Breakdown

I'm trying to figure out what is located in the following RAID superblock (version 0.90) bytes (created by mdadm): 155 156 3972 3980 3984 Does anyone know of a break down of the superblock version 0....
user avatar
  • 2,127
0 votes
0 answers
162 views

How do I fix ndb-client error: can't read superblock on /dev/nbd2? (When mounting /dev/nbdX)

I’m trying setup a client that connect to a 500Gb ext4 disk on another machine running nbd server. Server: raspberry pi 3: uname -r 4.19.66+ Client: raspberry pi 3: uname -r 5.10.17-v7+ I’ve followed ...
user avatar
2 votes
2 answers
111 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 ...
user avatar
  • 83
1 vote
1 answer
199 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 ...
user avatar
  • 143
3 votes
2 answers
499 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 ...
user avatar
  • 182
1 vote
1 answer
139 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?
user avatar
0 votes
2 answers
861 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/...
user avatar
0 votes
1 answer
515 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 ...
user avatar
0 votes
1 answer
145 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 ...
user avatar
  • 1
1 vote
1 answer
28 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 ...
user avatar
0 votes
1 answer
559 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 ...
user avatar
1 vote
0 answers
349 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....
user avatar
1 vote
3 answers
7k 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 ...
user avatar
  • 13
1 vote
0 answers
317 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 ...
user avatar
  • 11
1 vote
1 answer
52 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 ...
user avatar
  • 219
0 votes
1 answer
745 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 ...
user avatar
  • 101
1 vote
3 answers
24k 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
user avatar
1 vote
0 answers
50 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 ...
user avatar
  • 22.8k
1 vote
1 answer
374 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 ...
user avatar
  • 13
-2 votes
1 answer
390 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 ...
user avatar
  • 123
2 votes
0 answers
311 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. ...
user avatar
1 vote
1 answer
11k 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 ...
user avatar
0 votes
1 answer
1k 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-...
user avatar
0 votes
1 answer
62 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 ...
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
250 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 ...
user avatar
  • 21
2 votes
1 answer
1k 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 ...
user avatar
  • 2,205
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 ...
user avatar
1 vote
1 answer
858 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 ...
user avatar
  • 181
0 votes
1 answer
5k 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: ...
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 - "...
user avatar
1 vote
1 answer
5k 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 ...
user avatar
1 vote
1 answer
970 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 ...
user avatar
  • 917
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 ...
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 ...
user avatar
  • 23
8 votes
2 answers
7k 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 ...
user avatar
  • 241
3 votes
2 answers
10k views

Can't load Ubuntu: Superblock checksum does not match superblock while trying to open /dev/sda7

I have a problem while loading into Ubuntu 17.04. This happens for the 2nd time after I booted into Windows. For the 1st time I just reinstalled the Ubuntu. I am not good at this question, so I hope ...
user avatar
  • 55
2 votes
0 answers
926 views

fsck fails frequently(after each 3-4 boots)

I have triple boot System(Ubuntu,Kali,Win7) and I mostly use Kali linux(4.6.0-kali1-amd64). After each 3 or 4 successful boots i get this error -> fsck.ext4: Superblock checksum does not match ...
user avatar
7 votes
1 answer
4k views

Difference between backup superblocks

Recently I accidentally formatted an EXT4 partition to FAT. I got into a panic. After a long journey through a dark wood in which my hope was fading I could recover my partition and it seems ok. After ...
user avatar
  • 71
3 votes
1 answer
3k views

Internal disk failed with bad superblock, how to fix? [closed]

NOTE: The operating system I'm using is on a separate disk (/dev/sdb). I tried to mount my old root partition (/dev/sda12) as usual with the following command: sudo mount /dev/sda12 /mnt However, ...
user avatar