All Questions

Tagged with
Filter by
Sorted by
Tagged with
2
votes
1answer
97 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 ...
1
vote
1answer
281 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 ...
0
votes
1answer
318 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 ...
2
votes
0answers
1k 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 - "...
5
votes
1answer
2k 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 ...
3
votes
1answer
729 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, ...
2
votes
1answer
663 views

Short read while trying to open /dev/sda2

I just resized a .vdi from my host from 15.5G to 120G. I tried to resize the partition from the guest (ubuntu server) using resize2fs root@ubuntu:~# sudo resize2fs /dev/sda2 115G resize2fs 1.42.13 (...
3
votes
3answers
3k views

How can I identify the filesystem/partition type

My hard drive got corrupted at some point after mounting an mtpfs system. I would ask how to fix that, but I'm not confident about the partition and file system types. My OS is new Fedora Core 23, ...
1
vote
1answer
1k 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 ...
3
votes
3answers
3k views

Data recovery from an accidental format on ext4 partition

When I was installing Mint Debian edition unlike the classic edition, the installation automatically formated my home partition when I did not specify to format. So the formatting previously was ext4 ...
0
votes
1answer
475 views

e2fsck giving some error

I am playing with LVM and while doing lvreduce. I now get this error: [root@localhost raja]# e2fsck -f /dev/vg1/lvol2 e2fsck 1.41.12 (17-May-2010) e2fsck: Superblock invalid, trying backup blocks... ...
5
votes
1answer
4k 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
1answer
3k views

Unable to mount /home/ partition after reinstalling grub after reinstalling windows 7

I've reinstall windows 7 on it's asignated partition and, as usually, it override the MBR with it's own stuff and, thus, it was not possible to boot to my ubuntu 12.04 partition. I followed the step ...
2
votes
0answers
2k 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 ...
44
votes
4answers
177k views

Recovering ext4 superblocks

Recently, my external hard drive enclosure failed (the hard drive itself powers up in another enclosure). However, as a result, it appears its EXT4 file system is corrupt. The drive has a single ...