Questions tagged [superblock]
Use for question about the special metadata "super block" of filesystems.
84 questions
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 - "...
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 ...
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 ...
4
votes
2
answers
16k
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 ...
8
votes
1
answer
6k
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 ...
0
votes
2
answers
2k
views
I have killed my HDD
I have some trouble with my external USB 3.0 drive with 1Tb HDD. I had formatted it wrong way: I wrote /dev/sdb instead /dev/sdb1, and now I have no ability to use this drive.
fdisk /dev/sdb
fdisk: ...
2
votes
1
answer
3k
views
Filesystem: How to find block of file represented by inode? [closed]
I am writing a file system for my operating system and am doing research on existing file systems before I start designing my own. I came across some slides about the System Five File System and am ...
4
votes
1
answer
8k
views
How to fix BTRFS superblock error after resize/shrink (BTRFS: couldn't get super buffer head for bytenr 274877906944)
BTRFS RAID1 array with 2 500 GB hdds, no errors. This is the root filesystem, so there are 3 partitions on each drive: 1 = /boot (ext4), 2 = / (btrfs), 3 (swap)
/boot is ext4 because upgrading the ...
1
vote
1
answer
2k
views
Recovering from bad superblock on external drive
read a few similar questions/posts and tried the solutions, still stuck. My scenario is simple, external ext4 drive was powered off (via cat) while operating, and failed to mount on boot. As I dug ...
2
votes
1
answer
3k
views
Physical volumes, logical volumes, superblocks gone... how to boot?
A story fairly similar to this one happened to me yesterday.
Update:
My only hard drive /dev/sda was originally partitioned this way:
Device Boot Start End Blocks Id System
/dev/...
3
votes
2
answers
6k
views
Creating disk device in a file
I'm trying to create disk device in a file with:
dd if=/dev/zero of=file.img bs=516096 count=1000
sudo losetup /dev/loop0 file.img
(echo n; echo p; echo 1; echo ""; echo ""; echo w;) | sudo fdisk -u -...
4
votes
1
answer
4k
views
Ext2 block structure: size of reserved GDT Blocks
In every publication I found about ext2, the structure of a block group is defined as following:
Super Block: 1 block
Group Descriptor: N blocks
Data Bitmap: 1 block
Inode Bitmap: 1 block
Inode Table: ...
7
votes
1
answer
8k
views
How can I dump the contents of a filesystem's superblock?
I understand that I can list the location of a filesystem's superblocks using the following commands.
Example
First get the device handle for the current directory.
$ df -h .
Filesystem ...
2
votes
1
answer
1k
views
mdadm + lvm2: destroyed all superblocks accidentally
I accidentally overwrote all my RAID1 superblocks with garbage. I think this happened because I ALT-CTRL-DEL booted when the Ubuntu had put me in some kind of hard disk recovery mode. My display wasn'...
4
votes
3
answers
9k
views
lost superblock in md raid
Issue on Red Hat Linux 5.
Due to some miscommunication two LUNs in our environment were enlarged from 1.2 TB to 1.7 TB.
Now, after a reboot, mdadm does not find the superblocks to build the array ...
2
votes
0
answers
3k
views
Superblock corruption on every boot
I have a Linux Mint 12 install on my laptop. Yesterday I powered it off like I always do and this morning when I started it I was greeted by an error screen.
(Translated from Swedish)
Fatal errors ...
3
votes
1
answer
4k
views
All my superblocks are corrupt!
I am having a problem with my ubuntu ext3 filesystem. I can't boot from it or mount the volume when running live CD.
When I try e2fsck I get: "Bad magic number in super-block while trying to open /...